From 4a00c775c734176852231808059285f98b9117ca Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sat, 13 Sep 2014 11:08:13 +0200 Subject: [PATCH 01/42] adding clipboard API tests --- clipboard-apis/001.html | 35 ++++ clipboard-apis/002.html | 35 ++++ clipboard-apis/003.html | 35 ++++ clipboard-apis/004.html | 35 ++++ clipboard-apis/005.html | 35 ++++ clipboard-apis/006.html | 35 ++++ clipboard-apis/007.html | 35 ++++ clipboard-apis/008.html | 35 ++++ clipboard-apis/009.html | 41 +++++ clipboard-apis/010.html | 41 +++++ clipboard-apis/011.html | 39 ++++ clipboard-apis/012.html | 39 ++++ clipboard-apis/013.html | 35 ++++ clipboard-apis/014.html | 35 ++++ clipboard-apis/015.html | 35 ++++ clipboard-apis/016.html | 35 ++++ clipboard-apis/017.html | 38 ++++ clipboard-apis/018.html | 38 ++++ clipboard-apis/019.html | 35 ++++ clipboard-apis/020.html | 35 ++++ clipboard-apis/021.html | 40 +++++ clipboard-apis/022.html | 35 ++++ clipboard-apis/023.html | 35 ++++ clipboard-apis/024.html | 36 ++++ clipboard-apis/025.html | 35 ++++ clipboard-apis/026.html | 35 ++++ clipboard-apis/027.html | 35 ++++ clipboard-apis/028.html | 35 ++++ clipboard-apis/029.html | 33 ++++ clipboard-apis/030.html | 33 ++++ clipboard-apis/031.html | 37 ++++ clipboard-apis/032.html | 36 ++++ clipboard-apis/033.html | 36 ++++ clipboard-apis/034.html | 37 ++++ clipboard-apis/035.html | 37 ++++ clipboard-apis/036.html | 36 ++++ clipboard-apis/037.html | 36 ++++ clipboard-apis/038.html | 36 ++++ clipboard-apis/039.html | 36 ++++ clipboard-apis/040.html | 35 ++++ clipboard-apis/041.html | 35 ++++ clipboard-apis/042.html | 36 ++++ clipboard-apis/043.html | 36 ++++ clipboard-apis/044.html | 35 ++++ clipboard-apis/045.html | 38 ++++ clipboard-apis/046.html | 38 ++++ clipboard-apis/047.html | 36 ++++ clipboard-apis/048.html | 36 ++++ clipboard-apis/049.html | 41 +++++ clipboard-apis/050.html | 37 ++++ clipboard-apis/051.html | 39 ++++ clipboard-apis/052.html | 40 +++++ clipboard-apis/053.html | 34 ++++ clipboard-apis/054.html | 34 ++++ clipboard-apis/055.html | 34 ++++ clipboard-apis/056.html | 34 ++++ clipboard-apis/057.html | 34 ++++ clipboard-apis/058.html | 34 ++++ clipboard-apis/059.html | 36 ++++ clipboard-apis/060.html | 36 ++++ clipboard-apis/061.html | 36 ++++ clipboard-apis/062.html | 35 ++++ clipboard-apis/063.html | 35 ++++ clipboard-apis/064.html | 35 ++++ clipboard-apis/065.html | 35 ++++ clipboard-apis/066.html | 35 ++++ clipboard-apis/067.html | 35 ++++ clipboard-apis/068.html | 36 ++++ clipboard-apis/069.html | 36 ++++ clipboard-apis/070.html | 36 ++++ clipboard-apis/071.html | 35 ++++ clipboard-apis/072.html | 35 ++++ clipboard-apis/073.html | 35 ++++ clipboard-apis/074.html | 35 ++++ clipboard-apis/075.html | 35 ++++ clipboard-apis/076.html | 35 ++++ clipboard-apis/077.html | 36 ++++ clipboard-apis/078.html | 36 ++++ clipboard-apis/079.html | 36 ++++ clipboard-apis/080.html | 37 ++++ clipboard-apis/081.html | 37 ++++ clipboard-apis/082.html | 35 ++++ clipboard-apis/083.html | 35 ++++ clipboard-apis/084.html | 35 ++++ clipboard-apis/085.html | 35 ++++ clipboard-apis/086.html | 35 ++++ clipboard-apis/087.html | 35 ++++ clipboard-apis/088.html | 35 ++++ clipboard-apis/089.html | 35 ++++ clipboard-apis/090.html | 35 ++++ clipboard-apis/091.html | 36 ++++ clipboard-apis/092.html | 35 ++++ clipboard-apis/093.html | 36 ++++ clipboard-apis/094.html | 36 ++++ clipboard-apis/095.html | 38 ++++ clipboard-apis/096.html | 38 ++++ clipboard-apis/097.html | 36 ++++ clipboard-apis/098.html | 36 ++++ clipboard-apis/099.html | 36 ++++ clipboard-apis/100.html | 36 ++++ clipboard-apis/101.html | 36 ++++ clipboard-apis/102.html | 36 ++++ clipboard-apis/103.html | 49 +++++ clipboard-apis/104.html | 35 ++++ clipboard-apis/105.html | 35 ++++ clipboard-apis/106.html | 34 ++++ clipboard-apis/107.html | 34 ++++ clipboard-apis/108.html | 41 +++++ clipboard-apis/109.html | 42 +++++ clipboard-apis/110.html | 49 +++++ clipboard-apis/111.html | 49 +++++ clipboard-apis/112.html | 50 ++++++ clipboard-apis/113.html | 50 ++++++ clipboard-apis/114.html | 44 +++++ clipboard-apis/115.html | 44 +++++ clipboard-apis/116.html | 44 +++++ clipboard-apis/117.html | 48 +++++ clipboard-apis/118.html | 48 +++++ clipboard-apis/119.html | 55 ++++++ clipboard-apis/120.html | 55 ++++++ clipboard-apis/121.html | 55 ++++++ clipboard-apis/122.html | 55 ++++++ clipboard-apis/123.html | 55 ++++++ clipboard-apis/124.html | 49 +++++ clipboard-apis/125.html | 46 +++++ clipboard-apis/126.html | 46 +++++ clipboard-apis/127.html | 46 +++++ clipboard-apis/128.html | 55 ++++++ clipboard-apis/129.html | 55 ++++++ clipboard-apis/130.html | 55 ++++++ clipboard-apis/131.html | 53 ++++++ clipboard-apis/132.html | 54 ++++++ clipboard-apis/133.html | 40 +++++ clipboard-apis/134.html | 40 +++++ clipboard-apis/135.html | 36 ++++ clipboard-apis/136.html | 36 ++++ clipboard-apis/137.html | 39 ++++ clipboard-apis/138.html | 39 ++++ clipboard-apis/139.html | 36 ++++ clipboard-apis/140.html | 36 ++++ clipboard-apis/141.html | 36 ++++ clipboard-apis/142.html | 36 ++++ clipboard-apis/143.html | 36 ++++ clipboard-apis/144.html | 36 ++++ clipboard-apis/145.html | 36 ++++ clipboard-apis/146.html | 36 ++++ clipboard-apis/147.html | 36 ++++ clipboard-apis/148.html | 36 ++++ clipboard-apis/149.html | 36 ++++ clipboard-apis/150.html | 36 ++++ clipboard-apis/151.html | 36 ++++ clipboard-apis/152.html | 36 ++++ clipboard-apis/153.html | 34 ++++ clipboard-apis/154.html | 34 ++++ clipboard-apis/155.html | 34 ++++ clipboard-apis/156.html | 34 ++++ clipboard-apis/157.html | 34 ++++ clipboard-apis/158.html | 34 ++++ clipboard-apis/159.html | 34 ++++ clipboard-apis/160.html | 34 ++++ clipboard-apis/161.html | 34 ++++ clipboard-apis/162.html | 34 ++++ clipboard-apis/163.html | 34 ++++ clipboard-apis/164.html | 34 ++++ clipboard-apis/165.html | 34 ++++ clipboard-apis/166.html | 34 ++++ clipboard-apis/167.html | 34 ++++ clipboard-apis/168.html | 34 ++++ clipboard-apis/169.html | 34 ++++ clipboard-apis/170.html | 34 ++++ clipboard-apis/171.html | 38 ++++ clipboard-apis/172.html | 43 +++++ clipboard-apis/173.html | 43 +++++ clipboard-apis/174.html | 49 +++++ clipboard-apis/175.html | 49 +++++ clipboard-apis/176.html | 34 ++++ clipboard-apis/177.html | 35 ++++ clipboard-apis/178.html | 35 ++++ clipboard-apis/testlist.rb | 360 +++++++++++++++++++++++++++++++++++++ 179 files changed, 7121 insertions(+) create mode 100644 clipboard-apis/001.html create mode 100644 clipboard-apis/002.html create mode 100644 clipboard-apis/003.html create mode 100644 clipboard-apis/004.html create mode 100644 clipboard-apis/005.html create mode 100644 clipboard-apis/006.html create mode 100644 clipboard-apis/007.html create mode 100644 clipboard-apis/008.html create mode 100644 clipboard-apis/009.html create mode 100644 clipboard-apis/010.html create mode 100644 clipboard-apis/011.html create mode 100644 clipboard-apis/012.html create mode 100644 clipboard-apis/013.html create mode 100644 clipboard-apis/014.html create mode 100644 clipboard-apis/015.html create mode 100644 clipboard-apis/016.html create mode 100644 clipboard-apis/017.html create mode 100644 clipboard-apis/018.html create mode 100644 clipboard-apis/019.html create mode 100644 clipboard-apis/020.html create mode 100644 clipboard-apis/021.html create mode 100644 clipboard-apis/022.html create mode 100644 clipboard-apis/023.html create mode 100644 clipboard-apis/024.html create mode 100644 clipboard-apis/025.html create mode 100644 clipboard-apis/026.html create mode 100644 clipboard-apis/027.html create mode 100644 clipboard-apis/028.html create mode 100644 clipboard-apis/029.html create mode 100644 clipboard-apis/030.html create mode 100644 clipboard-apis/031.html create mode 100644 clipboard-apis/032.html create mode 100644 clipboard-apis/033.html create mode 100644 clipboard-apis/034.html create mode 100644 clipboard-apis/035.html create mode 100644 clipboard-apis/036.html create mode 100644 clipboard-apis/037.html create mode 100644 clipboard-apis/038.html create mode 100644 clipboard-apis/039.html create mode 100644 clipboard-apis/040.html create mode 100644 clipboard-apis/041.html create mode 100644 clipboard-apis/042.html create mode 100644 clipboard-apis/043.html create mode 100644 clipboard-apis/044.html create mode 100644 clipboard-apis/045.html create mode 100644 clipboard-apis/046.html create mode 100644 clipboard-apis/047.html create mode 100644 clipboard-apis/048.html create mode 100644 clipboard-apis/049.html create mode 100644 clipboard-apis/050.html create mode 100644 clipboard-apis/051.html create mode 100644 clipboard-apis/052.html create mode 100644 clipboard-apis/053.html create mode 100644 clipboard-apis/054.html create mode 100644 clipboard-apis/055.html create mode 100644 clipboard-apis/056.html create mode 100644 clipboard-apis/057.html create mode 100644 clipboard-apis/058.html create mode 100644 clipboard-apis/059.html create mode 100644 clipboard-apis/060.html create mode 100644 clipboard-apis/061.html create mode 100644 clipboard-apis/062.html create mode 100644 clipboard-apis/063.html create mode 100644 clipboard-apis/064.html create mode 100644 clipboard-apis/065.html create mode 100644 clipboard-apis/066.html create mode 100644 clipboard-apis/067.html create mode 100644 clipboard-apis/068.html create mode 100644 clipboard-apis/069.html create mode 100644 clipboard-apis/070.html create mode 100644 clipboard-apis/071.html create mode 100644 clipboard-apis/072.html create mode 100644 clipboard-apis/073.html create mode 100644 clipboard-apis/074.html create mode 100644 clipboard-apis/075.html create mode 100644 clipboard-apis/076.html create mode 100644 clipboard-apis/077.html create mode 100644 clipboard-apis/078.html create mode 100644 clipboard-apis/079.html create mode 100644 clipboard-apis/080.html create mode 100644 clipboard-apis/081.html create mode 100644 clipboard-apis/082.html create mode 100644 clipboard-apis/083.html create mode 100644 clipboard-apis/084.html create mode 100644 clipboard-apis/085.html create mode 100644 clipboard-apis/086.html create mode 100644 clipboard-apis/087.html create mode 100644 clipboard-apis/088.html create mode 100644 clipboard-apis/089.html create mode 100644 clipboard-apis/090.html create mode 100644 clipboard-apis/091.html create mode 100644 clipboard-apis/092.html create mode 100644 clipboard-apis/093.html create mode 100644 clipboard-apis/094.html create mode 100644 clipboard-apis/095.html create mode 100644 clipboard-apis/096.html create mode 100644 clipboard-apis/097.html create mode 100644 clipboard-apis/098.html create mode 100644 clipboard-apis/099.html create mode 100644 clipboard-apis/100.html create mode 100644 clipboard-apis/101.html create mode 100644 clipboard-apis/102.html create mode 100644 clipboard-apis/103.html create mode 100644 clipboard-apis/104.html create mode 100644 clipboard-apis/105.html create mode 100644 clipboard-apis/106.html create mode 100644 clipboard-apis/107.html create mode 100644 clipboard-apis/108.html create mode 100644 clipboard-apis/109.html create mode 100644 clipboard-apis/110.html create mode 100644 clipboard-apis/111.html create mode 100644 clipboard-apis/112.html create mode 100644 clipboard-apis/113.html create mode 100644 clipboard-apis/114.html create mode 100644 clipboard-apis/115.html create mode 100644 clipboard-apis/116.html create mode 100644 clipboard-apis/117.html create mode 100644 clipboard-apis/118.html create mode 100644 clipboard-apis/119.html create mode 100644 clipboard-apis/120.html create mode 100644 clipboard-apis/121.html create mode 100644 clipboard-apis/122.html create mode 100644 clipboard-apis/123.html create mode 100644 clipboard-apis/124.html create mode 100644 clipboard-apis/125.html create mode 100644 clipboard-apis/126.html create mode 100644 clipboard-apis/127.html create mode 100644 clipboard-apis/128.html create mode 100644 clipboard-apis/129.html create mode 100644 clipboard-apis/130.html create mode 100644 clipboard-apis/131.html create mode 100644 clipboard-apis/132.html create mode 100644 clipboard-apis/133.html create mode 100644 clipboard-apis/134.html create mode 100644 clipboard-apis/135.html create mode 100644 clipboard-apis/136.html create mode 100644 clipboard-apis/137.html create mode 100644 clipboard-apis/138.html create mode 100644 clipboard-apis/139.html create mode 100644 clipboard-apis/140.html create mode 100644 clipboard-apis/141.html create mode 100644 clipboard-apis/142.html create mode 100644 clipboard-apis/143.html create mode 100644 clipboard-apis/144.html create mode 100644 clipboard-apis/145.html create mode 100644 clipboard-apis/146.html create mode 100644 clipboard-apis/147.html create mode 100644 clipboard-apis/148.html create mode 100644 clipboard-apis/149.html create mode 100644 clipboard-apis/150.html create mode 100644 clipboard-apis/151.html create mode 100644 clipboard-apis/152.html create mode 100644 clipboard-apis/153.html create mode 100644 clipboard-apis/154.html create mode 100644 clipboard-apis/155.html create mode 100644 clipboard-apis/156.html create mode 100644 clipboard-apis/157.html create mode 100644 clipboard-apis/158.html create mode 100644 clipboard-apis/159.html create mode 100644 clipboard-apis/160.html create mode 100644 clipboard-apis/161.html create mode 100644 clipboard-apis/162.html create mode 100644 clipboard-apis/163.html create mode 100644 clipboard-apis/164.html create mode 100644 clipboard-apis/165.html create mode 100644 clipboard-apis/166.html create mode 100644 clipboard-apis/167.html create mode 100644 clipboard-apis/168.html create mode 100644 clipboard-apis/169.html create mode 100644 clipboard-apis/170.html create mode 100644 clipboard-apis/171.html create mode 100644 clipboard-apis/172.html create mode 100644 clipboard-apis/173.html create mode 100644 clipboard-apis/174.html create mode 100644 clipboard-apis/175.html create mode 100644 clipboard-apis/176.html create mode 100644 clipboard-apis/177.html create mode 100644 clipboard-apis/178.html create mode 100644 clipboard-apis/testlist.rb diff --git a/clipboard-apis/001.html b/clipboard-apis/001.html new file mode 100644 index 00000000000000..d6c660d75d3ef0 --- /dev/null +++ b/clipboard-apis/001.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/002.html b/clipboard-apis/002.html new file mode 100644 index 00000000000000..a20663330d6dd5 --- /dev/null +++ b/clipboard-apis/002.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/003.html b/clipboard-apis/003.html new file mode 100644 index 00000000000000..bddcfdec0bef70 --- /dev/null +++ b/clipboard-apis/003.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/004.html b/clipboard-apis/004.html new file mode 100644 index 00000000000000..45abcf8a096ff3 --- /dev/null +++ b/clipboard-apis/004.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/005.html b/clipboard-apis/005.html new file mode 100644 index 00000000000000..eecab6d807b46b --- /dev/null +++ b/clipboard-apis/005.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/006.html b/clipboard-apis/006.html new file mode 100644 index 00000000000000..238a9c2ebf86d6 --- /dev/null +++ b/clipboard-apis/006.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/007.html b/clipboard-apis/007.html new file mode 100644 index 00000000000000..428f2cb93465e5 --- /dev/null +++ b/clipboard-apis/007.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/008.html b/clipboard-apis/008.html new file mode 100644 index 00000000000000..29d7b2b8ce2a2b --- /dev/null +++ b/clipboard-apis/008.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/009.html b/clipboard-apis/009.html new file mode 100644 index 00000000000000..cf6a569caec314 --- /dev/null +++ b/clipboard-apis/009.html @@ -0,0 +1,41 @@ + + + + ClipboardEvent - setData() method - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/010.html b/clipboard-apis/010.html new file mode 100644 index 00000000000000..08b6f7c93fdf8e --- /dev/null +++ b/clipboard-apis/010.html @@ -0,0 +1,41 @@ + + + + ClipboardEvent - setData() method - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/011.html b/clipboard-apis/011.html new file mode 100644 index 00000000000000..6deba44d03789a --- /dev/null +++ b/clipboard-apis/011.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - copy event when there is no selection and script uses setData() - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/012.html b/clipboard-apis/012.html new file mode 100644 index 00000000000000..ca3bea64a4f858 --- /dev/null +++ b/clipboard-apis/012.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - copy event when there is no selection and script uses setData() - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/013.html b/clipboard-apis/013.html new file mode 100644 index 00000000000000..260cacb81e1053 --- /dev/null +++ b/clipboard-apis/013.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action, basic test - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/014.html b/clipboard-apis/014.html new file mode 100644 index 00000000000000..5480ffb0fc7e4b --- /dev/null +++ b/clipboard-apis/014.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action, basic test - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/015.html b/clipboard-apis/015.html new file mode 100644 index 00000000000000..11ccfa24ea24da --- /dev/null +++ b/clipboard-apis/015.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action, basic test - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/016.html b/clipboard-apis/016.html new file mode 100644 index 00000000000000..905da9a833fe12 --- /dev/null +++ b/clipboard-apis/016.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action, basic test - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/017.html b/clipboard-apis/017.html new file mode 100644 index 00000000000000..907cc2dbe03982 --- /dev/null +++ b/clipboard-apis/017.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - copy event does not modify selection - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/018.html b/clipboard-apis/018.html new file mode 100644 index 00000000000000..42152842251a4a --- /dev/null +++ b/clipboard-apis/018.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - copy event does not modify selection - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/019.html b/clipboard-apis/019.html new file mode 100644 index 00000000000000..6d5724d3fc6860 --- /dev/null +++ b/clipboard-apis/019.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - default action of event when there is no selection is noop - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/020.html b/clipboard-apis/020.html new file mode 100644 index 00000000000000..486dd8706d96aa --- /dev/null +++ b/clipboard-apis/020.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - default action of event when there is no selection is noop - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/021.html b/clipboard-apis/021.html new file mode 100644 index 00000000000000..3220340481de09 --- /dev/null +++ b/clipboard-apis/021.html @@ -0,0 +1,40 @@ + + + + ClipboardEvent - default action of cut event when there is no selection - no text change - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/022.html b/clipboard-apis/022.html new file mode 100644 index 00000000000000..49631d427d926d --- /dev/null +++ b/clipboard-apis/022.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - getData() method in cut and copy events should return an empty string - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/023.html b/clipboard-apis/023.html new file mode 100644 index 00000000000000..38da96c3a4d01a --- /dev/null +++ b/clipboard-apis/023.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - getData() method in cut and copy events should return an empty string - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/024.html b/clipboard-apis/024.html new file mode 100644 index 00000000000000..ce54b6e743367e --- /dev/null +++ b/clipboard-apis/024.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - getData() method when type is unsupported should return an empty string - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/025.html b/clipboard-apis/025.html new file mode 100644 index 00000000000000..d55560db47873d --- /dev/null +++ b/clipboard-apis/025.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/026.html b/clipboard-apis/026.html new file mode 100644 index 00000000000000..1fe9ba269296cf --- /dev/null +++ b/clipboard-apis/026.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/027.html b/clipboard-apis/027.html new file mode 100644 index 00000000000000..6e6b98db6bebff --- /dev/null +++ b/clipboard-apis/027.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - no default action for cut in non-editable context - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/028.html b/clipboard-apis/028.html new file mode 100644 index 00000000000000..d6f4f233589a30 --- /dev/null +++ b/clipboard-apis/028.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - setData() in cut event without preventDefault() has no effect when default action is noop - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/029.html b/clipboard-apis/029.html new file mode 100644 index 00000000000000..7f696e91292584 --- /dev/null +++ b/clipboard-apis/029.html @@ -0,0 +1,33 @@ + + + + ClipboardEvent - cut fires before text is removed - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/030.html b/clipboard-apis/030.html new file mode 100644 index 00000000000000..e17bc91658c8da --- /dev/null +++ b/clipboard-apis/030.html @@ -0,0 +1,33 @@ + + + + ClipboardEvent - cut fires before text is removed - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/031.html b/clipboard-apis/031.html new file mode 100644 index 00000000000000..0dfce9caafa224 --- /dev/null +++ b/clipboard-apis/031.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - cut collapses selection - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/032.html b/clipboard-apis/032.html new file mode 100644 index 00000000000000..f9968d00d1fc63 --- /dev/null +++ b/clipboard-apis/032.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - modifying data for cut event in non-editable context with selection - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/033.html b/clipboard-apis/033.html new file mode 100644 index 00000000000000..0a97a656776c36 --- /dev/null +++ b/clipboard-apis/033.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - modifying data for cut event in non-editable context with selection - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/034.html b/clipboard-apis/034.html new file mode 100644 index 00000000000000..24cc907eafd64c --- /dev/null +++ b/clipboard-apis/034.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - setData() method without preventing events's default action - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/035.html b/clipboard-apis/035.html new file mode 100644 index 00000000000000..38a4f71b3735b3 --- /dev/null +++ b/clipboard-apis/035.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - setData() method without preventing events's default action - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/036.html b/clipboard-apis/036.html new file mode 100644 index 00000000000000..e24b256e32dc1f --- /dev/null +++ b/clipboard-apis/036.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - events fire on INPUT - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/037.html b/clipboard-apis/037.html new file mode 100644 index 00000000000000..b0dd204ca2a273 --- /dev/null +++ b/clipboard-apis/037.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - events fire on INPUT - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/038.html b/clipboard-apis/038.html new file mode 100644 index 00000000000000..9e626d2a97714d --- /dev/null +++ b/clipboard-apis/038.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - events fire on TEXTAREA - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/039.html b/clipboard-apis/039.html new file mode 100644 index 00000000000000..f39beeaefc944a --- /dev/null +++ b/clipboard-apis/039.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - events fire on TEXTAREA - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/040.html b/clipboard-apis/040.html new file mode 100644 index 00000000000000..dbd3a18acacfb3 --- /dev/null +++ b/clipboard-apis/040.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - paste event fires before data is inserted - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/041.html b/clipboard-apis/041.html new file mode 100644 index 00000000000000..4b8eda791f9ed5 --- /dev/null +++ b/clipboard-apis/041.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - paste event fires before data is inserted - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/042.html b/clipboard-apis/042.html new file mode 100644 index 00000000000000..a2d40b20d1081f --- /dev/null +++ b/clipboard-apis/042.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - preventing default action - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/043.html b/clipboard-apis/043.html new file mode 100644 index 00000000000000..fa8c06472f34c4 --- /dev/null +++ b/clipboard-apis/043.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - preventing default action - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/044.html b/clipboard-apis/044.html new file mode 100644 index 00000000000000..d92ad63f671e1c --- /dev/null +++ b/clipboard-apis/044.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - paste event fires even in non-editable context - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

 

+
+ + diff --git a/clipboard-apis/045.html b/clipboard-apis/045.html new file mode 100644 index 00000000000000..4724707944884b --- /dev/null +++ b/clipboard-apis/045.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - setData() does not modify text that is about to be inserted in a paste event - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/046.html b/clipboard-apis/046.html new file mode 100644 index 00000000000000..0dad407162d6a8 --- /dev/null +++ b/clipboard-apis/046.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - setData() doesn't modify text on the clipboard when called from a paste event - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/047.html b/clipboard-apis/047.html new file mode 100644 index 00000000000000..5cdfd948706e15 --- /dev/null +++ b/clipboard-apis/047.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - getData() method in paste event retrieving plain text - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/048.html b/clipboard-apis/048.html new file mode 100644 index 00000000000000..a63d706617cb6a --- /dev/null +++ b/clipboard-apis/048.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - getData() method when called outside event handler should return an empty string - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/049.html b/clipboard-apis/049.html new file mode 100644 index 00000000000000..a63b7541a4cf63 --- /dev/null +++ b/clipboard-apis/049.html @@ -0,0 +1,41 @@ + + + + ClipboardEvent - getData() method with wrong number of arguments - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/050.html b/clipboard-apis/050.html new file mode 100644 index 00000000000000..d5974e782aa37e --- /dev/null +++ b/clipboard-apis/050.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - getData() method supports legacy 'text' argument - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/051.html b/clipboard-apis/051.html new file mode 100644 index 00000000000000..4efdaf917c32ef --- /dev/null +++ b/clipboard-apis/051.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - getData() supports legacy 'url' argument - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/052.html b/clipboard-apis/052.html new file mode 100644 index 00000000000000..e882266f1a01fe --- /dev/null +++ b/clipboard-apis/052.html @@ -0,0 +1,40 @@ + + + + ClipboardEvent - getData() method's type argument not case sensitive - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/053.html b/clipboard-apis/053.html new file mode 100644 index 00000000000000..c854904e9911c4 --- /dev/null +++ b/clipboard-apis/053.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - Using beforecopy to enable 'copy' UI that would otherwise be disabled - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

The "copy" menu UI state is enabled on this page even when there is no selection.

+
+ + diff --git a/clipboard-apis/054.html b/clipboard-apis/054.html new file mode 100644 index 00000000000000..9cdb8ae38d3634 --- /dev/null +++ b/clipboard-apis/054.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - Using beforecut to enable 'cut' UI that would otherwise be disabled - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

The "cut" menu UI state is enabled on this page even when there is no editable selection.

+
+ + diff --git a/clipboard-apis/055.html b/clipboard-apis/055.html new file mode 100644 index 00000000000000..ed7576f0b04ab0 --- /dev/null +++ b/clipboard-apis/055.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - Using beforepaste to enable 'paste' UI that would otherwise be disabled - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

The "paste" menu UI state is enabled on this page even when there is no editable context.

+
+ + diff --git a/clipboard-apis/056.html b/clipboard-apis/056.html new file mode 100644 index 00000000000000..b963b211c667ef --- /dev/null +++ b/clipboard-apis/056.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/057.html b/clipboard-apis/057.html new file mode 100644 index 00000000000000..566e27a0ed0dd0 --- /dev/null +++ b/clipboard-apis/057.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/058.html b/clipboard-apis/058.html new file mode 100644 index 00000000000000..4369d1b0b3adfa --- /dev/null +++ b/clipboard-apis/058.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/059.html b/clipboard-apis/059.html new file mode 100644 index 00000000000000..7a7768b110c5f5 --- /dev/null +++ b/clipboard-apis/059.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - Clipboard event's clipboardData API - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/060.html b/clipboard-apis/060.html new file mode 100644 index 00000000000000..f4057297d9c19d --- /dev/null +++ b/clipboard-apis/060.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - Clipboard event's clipboardData API - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/061.html b/clipboard-apis/061.html new file mode 100644 index 00000000000000..df2b8549de6239 --- /dev/null +++ b/clipboard-apis/061.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - Clipboard event's clipboardData API - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/062.html b/clipboard-apis/062.html new file mode 100644 index 00000000000000..d97a0606d3a7e0 --- /dev/null +++ b/clipboard-apis/062.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/063.html b/clipboard-apis/063.html new file mode 100644 index 00000000000000..2253d69cd2247a --- /dev/null +++ b/clipboard-apis/063.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - copy on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/064.html b/clipboard-apis/064.html new file mode 100644 index 00000000000000..d4b96fa4f7fcae --- /dev/null +++ b/clipboard-apis/064.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - copy on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/065.html b/clipboard-apis/065.html new file mode 100644 index 00000000000000..9fe5b30e25e587 --- /dev/null +++ b/clipboard-apis/065.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/066.html b/clipboard-apis/066.html new file mode 100644 index 00000000000000..06871bb9b74369 --- /dev/null +++ b/clipboard-apis/066.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - cut on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/067.html b/clipboard-apis/067.html new file mode 100644 index 00000000000000..4966d67276398f --- /dev/null +++ b/clipboard-apis/067.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - cut on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/068.html b/clipboard-apis/068.html new file mode 100644 index 00000000000000..ab105191f05002 --- /dev/null +++ b/clipboard-apis/068.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/069.html b/clipboard-apis/069.html new file mode 100644 index 00000000000000..cba070e4c58004 --- /dev/null +++ b/clipboard-apis/069.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - paste on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/070.html b/clipboard-apis/070.html new file mode 100644 index 00000000000000..ce489467f6cf6a --- /dev/null +++ b/clipboard-apis/070.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - paste on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/071.html b/clipboard-apis/071.html new file mode 100644 index 00000000000000..14fc236ea09e2b --- /dev/null +++ b/clipboard-apis/071.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/072.html b/clipboard-apis/072.html new file mode 100644 index 00000000000000..1931b65194aa9a --- /dev/null +++ b/clipboard-apis/072.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/073.html b/clipboard-apis/073.html new file mode 100644 index 00000000000000..ccf27de14df739 --- /dev/null +++ b/clipboard-apis/073.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/074.html b/clipboard-apis/074.html new file mode 100644 index 00000000000000..d9db452730a08d --- /dev/null +++ b/clipboard-apis/074.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/075.html b/clipboard-apis/075.html new file mode 100644 index 00000000000000..3952b5398b200b --- /dev/null +++ b/clipboard-apis/075.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/076.html b/clipboard-apis/076.html new file mode 100644 index 00000000000000..7475a06ac8cb64 --- /dev/null +++ b/clipboard-apis/076.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/077.html b/clipboard-apis/077.html new file mode 100644 index 00000000000000..e0425321594da2 --- /dev/null +++ b/clipboard-apis/077.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/078.html b/clipboard-apis/078.html new file mode 100644 index 00000000000000..154fcec7024c11 --- /dev/null +++ b/clipboard-apis/078.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/079.html b/clipboard-apis/079.html new file mode 100644 index 00000000000000..0be698b0fffa33 --- /dev/null +++ b/clipboard-apis/079.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/080.html b/clipboard-apis/080.html new file mode 100644 index 00000000000000..1488d46ba3e3ca --- /dev/null +++ b/clipboard-apis/080.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - event target when focused element has no text node inside - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/081.html b/clipboard-apis/081.html new file mode 100644 index 00000000000000..b26bf23fd936ad --- /dev/null +++ b/clipboard-apis/081.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - event target when focused element has no text node inside - paste on 'input_img' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/082.html b/clipboard-apis/082.html new file mode 100644 index 00000000000000..951a57d79e94f7 --- /dev/null +++ b/clipboard-apis/082.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - copy event target property - selection in input - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/083.html b/clipboard-apis/083.html new file mode 100644 index 00000000000000..abddc5b3bbeda1 --- /dev/null +++ b/clipboard-apis/083.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - copy event target property - selection in input - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/084.html b/clipboard-apis/084.html new file mode 100644 index 00000000000000..c9b945fdcb0ddb --- /dev/null +++ b/clipboard-apis/084.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - copy event target property - selection in input - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/085.html b/clipboard-apis/085.html new file mode 100644 index 00000000000000..6cce087fac9c57 --- /dev/null +++ b/clipboard-apis/085.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target property - selection in document text - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This text should be selected
+
+ + diff --git a/clipboard-apis/086.html b/clipboard-apis/086.html new file mode 100644 index 00000000000000..cd3e1b2d9d1acf --- /dev/null +++ b/clipboard-apis/086.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target property - selection in document text - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This text should be selected
+
+ + diff --git a/clipboard-apis/087.html b/clipboard-apis/087.html new file mode 100644 index 00000000000000..ab103d3371a601 --- /dev/null +++ b/clipboard-apis/087.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target property - selection in document text - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This text should be selected
+
+ + diff --git a/clipboard-apis/088.html b/clipboard-apis/088.html new file mode 100644 index 00000000000000..68af2fd8b06edd --- /dev/null +++ b/clipboard-apis/088.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when no specific element has focus - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This is filler text
+
+ + diff --git a/clipboard-apis/089.html b/clipboard-apis/089.html new file mode 100644 index 00000000000000..399ce36dc7d941 --- /dev/null +++ b/clipboard-apis/089.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when no specific element has focus - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This is filler text
+
+ + diff --git a/clipboard-apis/090.html b/clipboard-apis/090.html new file mode 100644 index 00000000000000..246daab730b81a --- /dev/null +++ b/clipboard-apis/090.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when no specific element has focus - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This is filler text
+
+ + diff --git a/clipboard-apis/091.html b/clipboard-apis/091.html new file mode 100644 index 00000000000000..daf71cad1d5548 --- /dev/null +++ b/clipboard-apis/091.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clipboardData.items when clipboard has one single text/plain entry - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/092.html b/clipboard-apis/092.html new file mode 100644 index 00000000000000..8b92de5c6ce692 --- /dev/null +++ b/clipboard-apis/092.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - getting data from clipboardData.items when clipboard has one single text/plain entry - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/093.html b/clipboard-apis/093.html new file mode 100644 index 00000000000000..7f1b19386bbddf --- /dev/null +++ b/clipboard-apis/093.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData and clipboardData.items - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/094.html b/clipboard-apis/094.html new file mode 100644 index 00000000000000..a581519ebadeea --- /dev/null +++ b/clipboard-apis/094.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData and clipboardData.items - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/095.html b/clipboard-apis/095.html new file mode 100644 index 00000000000000..4025c6b76d01fa --- /dev/null +++ b/clipboard-apis/095.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - pasting a file - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

To complete this test, copy the './support/image.jpg' file from the OS file manager and paste into this page

 
+
+ + diff --git a/clipboard-apis/096.html b/clipboard-apis/096.html new file mode 100644 index 00000000000000..e4ea420da7bbea --- /dev/null +++ b/clipboard-apis/096.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - pasting a file of unknown type - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

To complete this test, copy the "./support/test" file from the OS file manager and paste into this page

+
+ + diff --git a/clipboard-apis/097.html b/clipboard-apis/097.html new file mode 100644 index 00000000000000..ce743660195beb --- /dev/null +++ b/clipboard-apis/097.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() followed by clearData() in same event handler - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/098.html b/clipboard-apis/098.html new file mode 100644 index 00000000000000..d4a0b9fb174037 --- /dev/null +++ b/clipboard-apis/098.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() followed by clearData() in same event handler - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/099.html b/clipboard-apis/099.html new file mode 100644 index 00000000000000..dd6d25f892de34 --- /dev/null +++ b/clipboard-apis/099.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() followed by setData() in same event handler - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/100.html b/clipboard-apis/100.html new file mode 100644 index 00000000000000..e9953ba247836c --- /dev/null +++ b/clipboard-apis/100.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() followed by setData() in same event handler - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/101.html b/clipboard-apis/101.html new file mode 100644 index 00000000000000..31e4e1f033dde5 --- /dev/null +++ b/clipboard-apis/101.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clipboard modification when script uses both clearData() and setData() - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/102.html b/clipboard-apis/102.html new file mode 100644 index 00000000000000..e9854c6cc79c26 --- /dev/null +++ b/clipboard-apis/102.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clipboard modification when script uses both clearData() and setData() - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/103.html b/clipboard-apis/103.html new file mode 100644 index 00000000000000..e11356515007fa --- /dev/null +++ b/clipboard-apis/103.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - reading clipboard data from looping script - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/104.html b/clipboard-apis/104.html new file mode 100644 index 00000000000000..439bd8b86e1fad --- /dev/null +++ b/clipboard-apis/104.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - clearData() method without arguments - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/105.html b/clipboard-apis/105.html new file mode 100644 index 00000000000000..0a155a0996561f --- /dev/null +++ b/clipboard-apis/105.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - clearData() method without arguments - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/106.html b/clipboard-apis/106.html new file mode 100644 index 00000000000000..4d6cbe1be62304 --- /dev/null +++ b/clipboard-apis/106.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - clearData() method with text/html argument - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/107.html b/clipboard-apis/107.html new file mode 100644 index 00000000000000..e491b63fad7467 --- /dev/null +++ b/clipboard-apis/107.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - clearData() method with text/html argument - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/108.html b/clipboard-apis/108.html new file mode 100644 index 00000000000000..164425a2acc84d --- /dev/null +++ b/clipboard-apis/108.html @@ -0,0 +1,41 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic events with new ClipboardEvent constructor - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/109.html b/clipboard-apis/109.html new file mode 100644 index 00000000000000..f1f7cd26bbde7a --- /dev/null +++ b/clipboard-apis/109.html @@ -0,0 +1,42 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic events with non-standard MIME type - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/110.html b/clipboard-apis/110.html new file mode 100644 index 00000000000000..8b6dbcade5ed63 --- /dev/null +++ b/clipboard-apis/110.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/111.html b/clipboard-apis/111.html new file mode 100644 index 00000000000000..b4c6c22c1209dd --- /dev/null +++ b/clipboard-apis/111.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/112.html b/clipboard-apis/112.html new file mode 100644 index 00000000000000..f75d4af6888c6b --- /dev/null +++ b/clipboard-apis/112.html @@ -0,0 +1,50 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events dispatched from trusted events do affect system clipboard - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/113.html b/clipboard-apis/113.html new file mode 100644 index 00000000000000..5e3221457d988a --- /dev/null +++ b/clipboard-apis/113.html @@ -0,0 +1,50 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events dispatched from trusted events do affect system clipboard - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/114.html b/clipboard-apis/114.html new file mode 100644 index 00000000000000..2eaa32c26848c2 --- /dev/null +++ b/clipboard-apis/114.html @@ -0,0 +1,44 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event inserts payload data into TEXTAREA - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/115.html b/clipboard-apis/115.html new file mode 100644 index 00000000000000..bdea181b530bd2 --- /dev/null +++ b/clipboard-apis/115.html @@ -0,0 +1,44 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event inserts payload data into INPUT - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/116.html b/clipboard-apis/116.html new file mode 100644 index 00000000000000..f34ab6e2ce34f4 --- /dev/null +++ b/clipboard-apis/116.html @@ -0,0 +1,44 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/117.html b/clipboard-apis/117.html new file mode 100644 index 00000000000000..d766bb91c81a5e --- /dev/null +++ b/clipboard-apis/117.html @@ -0,0 +1,48 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event inserts plain text data into contentEditable element - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Editable element

+
+ + diff --git a/clipboard-apis/118.html b/clipboard-apis/118.html new file mode 100644 index 00000000000000..c66e5cb3dbfcee --- /dev/null +++ b/clipboard-apis/118.html @@ -0,0 +1,48 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event inserts HTML data into contentEditable element - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Editable element

+
+ + diff --git a/clipboard-apis/119.html b/clipboard-apis/119.html new file mode 100644 index 00000000000000..f6a85862c561a6 --- /dev/null +++ b/clipboard-apis/119.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, events are syncronous - copy on 'iframe.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/120.html b/clipboard-apis/120.html new file mode 100644 index 00000000000000..b94da1b0016b4d --- /dev/null +++ b/clipboard-apis/120.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, events are syncronous - cut on 'iframe.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/121.html b/clipboard-apis/121.html new file mode 100644 index 00000000000000..212928def38f57 --- /dev/null +++ b/clipboard-apis/121.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, events are syncronous - paste on 'iframe.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/122.html b/clipboard-apis/122.html new file mode 100644 index 00000000000000..bd2a3e0fe61416 --- /dev/null +++ b/clipboard-apis/122.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, can prevent default action - copy on 'ifr.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/123.html b/clipboard-apis/123.html new file mode 100644 index 00000000000000..64e74baf36faaf --- /dev/null +++ b/clipboard-apis/123.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, can prevent default action - cut on 'ifr.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/124.html b/clipboard-apis/124.html new file mode 100644 index 00000000000000..52aaa6c54523e2 --- /dev/null +++ b/clipboard-apis/124.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/125.html b/clipboard-apis/125.html new file mode 100644 index 00000000000000..1b596d64cdc3d0 --- /dev/null +++ b/clipboard-apis/125.html @@ -0,0 +1,46 @@ + + + + ClipboardEvent - clipboard events relative to key events - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/126.html b/clipboard-apis/126.html new file mode 100644 index 00000000000000..324734a13eb4c7 --- /dev/null +++ b/clipboard-apis/126.html @@ -0,0 +1,46 @@ + + + + ClipboardEvent - clipboard events relative to key events - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/127.html b/clipboard-apis/127.html new file mode 100644 index 00000000000000..d3cb36bfe858b1 --- /dev/null +++ b/clipboard-apis/127.html @@ -0,0 +1,46 @@ + + + + ClipboardEvent - clipboard events relative to key events - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/128.html b/clipboard-apis/128.html new file mode 100644 index 00000000000000..8e055472461ee9 --- /dev/null +++ b/clipboard-apis/128.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/129.html b/clipboard-apis/129.html new file mode 100644 index 00000000000000..00190161afd972 --- /dev/null +++ b/clipboard-apis/129.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/130.html b/clipboard-apis/130.html new file mode 100644 index 00000000000000..428fd342301e7e --- /dev/null +++ b/clipboard-apis/130.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/131.html b/clipboard-apis/131.html new file mode 100644 index 00000000000000..c95ae2ff1d7ba7 --- /dev/null +++ b/clipboard-apis/131.html @@ -0,0 +1,53 @@ + + + + ClipboardEvent - clipboard events relative to other input events - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/132.html b/clipboard-apis/132.html new file mode 100644 index 00000000000000..a324ac0c91c0f9 --- /dev/null +++ b/clipboard-apis/132.html @@ -0,0 +1,54 @@ + + + + ClipboardEvent - clipboard events relative to other input events - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/133.html b/clipboard-apis/133.html new file mode 100644 index 00000000000000..9567bc36608320 --- /dev/null +++ b/clipboard-apis/133.html @@ -0,0 +1,40 @@ + + + + ClipboardEvent - copy operation does not dispatch other events - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/134.html b/clipboard-apis/134.html new file mode 100644 index 00000000000000..691bccbd1abb87 --- /dev/null +++ b/clipboard-apis/134.html @@ -0,0 +1,40 @@ + + + + ClipboardEvent - copy operation does not dispatch other events - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/135.html b/clipboard-apis/135.html new file mode 100644 index 00000000000000..7101c85f88b316 --- /dev/null +++ b/clipboard-apis/135.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event listener that modifies focus - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/136.html b/clipboard-apis/136.html new file mode 100644 index 00000000000000..aba7d4a2d52159 --- /dev/null +++ b/clipboard-apis/136.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event listener that modifies focus - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/137.html b/clipboard-apis/137.html new file mode 100644 index 00000000000000..675c8ad533d0f9 --- /dev/null +++ b/clipboard-apis/137.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - event listener that modifies focus - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/138.html b/clipboard-apis/138.html new file mode 100644 index 00000000000000..4e6ef55a651bbf --- /dev/null +++ b/clipboard-apis/138.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - event listener that modifies selection - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This is demo text
+
+ + diff --git a/clipboard-apis/139.html b/clipboard-apis/139.html new file mode 100644 index 00000000000000..f8da3409c743d9 --- /dev/null +++ b/clipboard-apis/139.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() called outside event handler method - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/140.html b/clipboard-apis/140.html new file mode 100644 index 00000000000000..b558e3c1a916cf --- /dev/null +++ b/clipboard-apis/140.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() called outside event handler method - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/141.html b/clipboard-apis/141.html new file mode 100644 index 00000000000000..b2730da403c6ef --- /dev/null +++ b/clipboard-apis/141.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() called outside event handler method - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/142.html b/clipboard-apis/142.html new file mode 100644 index 00000000000000..effdc3c1ba6ae8 --- /dev/null +++ b/clipboard-apis/142.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - items.add() called outside event handler method - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/143.html b/clipboard-apis/143.html new file mode 100644 index 00000000000000..aa1dba387b3f76 --- /dev/null +++ b/clipboard-apis/143.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - items.add() called outside event handler method - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/144.html b/clipboard-apis/144.html new file mode 100644 index 00000000000000..2ee39a3e67a07d --- /dev/null +++ b/clipboard-apis/144.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - items.add() called outside event handler method - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/145.html b/clipboard-apis/145.html new file mode 100644 index 00000000000000..1adba34bdffb0f --- /dev/null +++ b/clipboard-apis/145.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() called outside event handler method - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/146.html b/clipboard-apis/146.html new file mode 100644 index 00000000000000..c0b36cdf48c852 --- /dev/null +++ b/clipboard-apis/146.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() called outside event handler method - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/147.html b/clipboard-apis/147.html new file mode 100644 index 00000000000000..916980c49c683d --- /dev/null +++ b/clipboard-apis/147.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() called outside event handler method - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/148.html b/clipboard-apis/148.html new file mode 100644 index 00000000000000..0b269ded724039 --- /dev/null +++ b/clipboard-apis/148.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/149.html b/clipboard-apis/149.html new file mode 100644 index 00000000000000..a4cf9617b60682 --- /dev/null +++ b/clipboard-apis/149.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/150.html b/clipboard-apis/150.html new file mode 100644 index 00000000000000..59d408c873e06a --- /dev/null +++ b/clipboard-apis/150.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/151.html b/clipboard-apis/151.html new file mode 100644 index 00000000000000..eea9ff7cfa7801 --- /dev/null +++ b/clipboard-apis/151.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/152.html b/clipboard-apis/152.html new file mode 100644 index 00000000000000..412d94d0806641 --- /dev/null +++ b/clipboard-apis/152.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/153.html b/clipboard-apis/153.html new file mode 100644 index 00000000000000..097cc2991557ea --- /dev/null +++ b/clipboard-apis/153.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/154.html b/clipboard-apis/154.html new file mode 100644 index 00000000000000..240bdabd528cf4 --- /dev/null +++ b/clipboard-apis/154.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - copy on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/155.html b/clipboard-apis/155.html new file mode 100644 index 00000000000000..da0db02e9dcad1 --- /dev/null +++ b/clipboard-apis/155.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/156.html b/clipboard-apis/156.html new file mode 100644 index 00000000000000..3d92db0b274f97 --- /dev/null +++ b/clipboard-apis/156.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - cut on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/157.html b/clipboard-apis/157.html new file mode 100644 index 00000000000000..dbb72cf1ee037e --- /dev/null +++ b/clipboard-apis/157.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/158.html b/clipboard-apis/158.html new file mode 100644 index 00000000000000..84d01d7245a0c1 --- /dev/null +++ b/clipboard-apis/158.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - paste on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/159.html b/clipboard-apis/159.html new file mode 100644 index 00000000000000..f71b5aa879967e --- /dev/null +++ b/clipboard-apis/159.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/160.html b/clipboard-apis/160.html new file mode 100644 index 00000000000000..26f18c0099b425 --- /dev/null +++ b/clipboard-apis/160.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - copy on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/161.html b/clipboard-apis/161.html new file mode 100644 index 00000000000000..dce343b1096344 --- /dev/null +++ b/clipboard-apis/161.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/162.html b/clipboard-apis/162.html new file mode 100644 index 00000000000000..017b035b0e6e1a --- /dev/null +++ b/clipboard-apis/162.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - cut on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/163.html b/clipboard-apis/163.html new file mode 100644 index 00000000000000..520becf00ef7db --- /dev/null +++ b/clipboard-apis/163.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/164.html b/clipboard-apis/164.html new file mode 100644 index 00000000000000..841322a9a267da --- /dev/null +++ b/clipboard-apis/164.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - paste on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/165.html b/clipboard-apis/165.html new file mode 100644 index 00000000000000..4a53490afe6680 --- /dev/null +++ b/clipboard-apis/165.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/166.html b/clipboard-apis/166.html new file mode 100644 index 00000000000000..1c03337fa5bf26 --- /dev/null +++ b/clipboard-apis/166.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - copy on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/167.html b/clipboard-apis/167.html new file mode 100644 index 00000000000000..ae731b94aa1156 --- /dev/null +++ b/clipboard-apis/167.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/168.html b/clipboard-apis/168.html new file mode 100644 index 00000000000000..c34ca0c3afef04 --- /dev/null +++ b/clipboard-apis/168.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - cut on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/169.html b/clipboard-apis/169.html new file mode 100644 index 00000000000000..68fc98c14fcde9 --- /dev/null +++ b/clipboard-apis/169.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/170.html b/clipboard-apis/170.html new file mode 100644 index 00000000000000..fb16fd5469e46a --- /dev/null +++ b/clipboard-apis/170.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - paste on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/171.html b/clipboard-apis/171.html new file mode 100644 index 00000000000000..67109bb43bde3e --- /dev/null +++ b/clipboard-apis/171.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/172.html b/clipboard-apis/172.html new file mode 100644 index 00000000000000..12a200f6f4bbab --- /dev/null +++ b/clipboard-apis/172.html @@ -0,0 +1,43 @@ + + + + ClipboardEvent - setData() method does not throw when implementation does not know the type - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/173.html b/clipboard-apis/173.html new file mode 100644 index 00000000000000..47521b563ec048 --- /dev/null +++ b/clipboard-apis/173.html @@ -0,0 +1,43 @@ + + + + ClipboardEvent - setData() method does not throw when implementation does not know the type - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/174.html b/clipboard-apis/174.html new file mode 100644 index 00000000000000..835ab41384b530 --- /dev/null +++ b/clipboard-apis/174.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - setData() method with text/html (experimental) - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/175.html b/clipboard-apis/175.html new file mode 100644 index 00000000000000..1c9f1914d9c136 --- /dev/null +++ b/clipboard-apis/175.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - setData() method with text/html (experimental) - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/176.html b/clipboard-apis/176.html new file mode 100644 index 00000000000000..24960ca0205785 --- /dev/null +++ b/clipboard-apis/176.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - clearData() method is noop in paste event - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/177.html b/clipboard-apis/177.html new file mode 100644 index 00000000000000..7b500abbef434a --- /dev/null +++ b/clipboard-apis/177.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - clearData() method without preventing events's default action - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/178.html b/clipboard-apis/178.html new file mode 100644 index 00000000000000..0b303a4d4f564b --- /dev/null +++ b/clipboard-apis/178.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - clearData() method without preventing events's default action - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/testlist.rb b/clipboard-apis/testlist.rb new file mode 100644 index 00000000000000..eba8d6fe7f6f8a --- /dev/null +++ b/clipboard-apis/testlist.rb @@ -0,0 +1,360 @@ + +describe "Clipboard events testsuite" do + before(:all) do + @browser = OperaWatir::Browser.new + $base = 'file://localhost/d:/projects/spec-dev/copy-paste/W3C-repo/clipops/testsuite/' + end + + it "1 ClipboardEvent - events fire on INPUT " do + doSingleTest 1 + end + + it "5 ClipboardEvent - events fire on TEXTAREA " do + doSingleTest 5 + end + + it "9 setData() method " do + doSingleTest 9 + end + + it "11 copy event when there is no selection and script uses setData() " do + doSingleTest 11 + end + + it "13 cancelling default action, basic test " do + doSingleTest 13 + end + + it "17 copy event does not modify selection " do + doSingleTest 17 + end + + it "19 default action of event when there is no selection is noop " do + doSingleTest 19 + end + + it "21 default action of cut event when there is no selection - no text change " do + doSingleTest 21 + end + + it "22 getData() method in cut and copy events should return an empty string " do + doSingleTest 22 + end + + it "24 getData() method when type is unsupported should return an empty string " do + doSingleTest 24 + end + + it "25 cancelling default action of cut prevents removal of text from editable context " do + doSingleTest 25 + end + + it "27 no default action for cut in non-editable context " do + doSingleTest 27 + end + + it "28 setData() in cut event without preventDefault() has no effect when default action is noop " do + doSingleTest 28 + end + + it "29 cut fires before text is removed " do + doSingleTest 29 + end + + it "31 cut collapses selection " do + doSingleTest 31 + end + + it "32 modifying data for cut event in non-editable context with selection " do + doSingleTest 32 + end + + it "34 setData() method without preventing events's default action " do + doSingleTest 34 + end + + it "36 events fire on INPUT " do + doSingleTest 36 + end + + it "38 events fire on TEXTAREA " do + doSingleTest 38 + end + + it "40 paste event fires before data is inserted " do + doSingleTest 40 + end + + it "42 preventing default action " do + doSingleTest 42 + end + + it "44 paste event fires even in non-editable context " do + doSingleTest 44 + end + + it "45 setData() does not modify text that is about to be inserted in a paste event " do + doSingleTest 45 + end + + it "46 setData() doesn't modify text on the clipboard when called from a paste event " do + doSingleTest 46 + end + + it "47 getData() method in paste event retrieving plain text " do + doSingleTest 47 + end + + it "48 getData() method when called outside event handler should return an empty string " do + doSingleTest 48 + end + + it "49 getData() method with wrong number of arguments " do + doSingleTest 49 + end + + it "50 getData() method supports legacy 'text' argument " do + doSingleTest 50 + end + + it "51 getData() supports legacy 'url' argument " do + doSingleTest 51 + end + + it "52 getData() method's type argument not case sensitive " do + doSingleTest 52 + end + + it "53 Using beforecopy to enable 'copy' UI that would otherwise be disabled " do + doSingleTest 53 + end + + it "54 Using beforecut to enable 'cut' UI that would otherwise be disabled " do + doSingleTest 54 + end + + it "55 Using beforepaste to enable 'paste' UI that would otherwise be disabled " do + doSingleTest 55 + end + + it "56 event.clipboardData exists and inherits from DataTransfer " do + doSingleTest 56 + end + + it "59 Clipboard event's clipboardData API " do + doSingleTest 59 + end + + it "62 event target when selection spans several elements " do + doSingleTest 62 + end + + it "68 event target when selection spans several elements " do + doSingleTest 68 + end + + it "71 event target when selection spans several elements - reversed selection " do + doSingleTest 71 + end + + it "77 event target when selection spans several elements - reversed selection " do + doSingleTest 77 + end + + it "80 event target when focused element has no text node inside " do + doSingleTest 80 + end + + it "82 copy event target property - selection in input " do + doSingleTest 82 + end + + it "85 event target property - selection in document text " do + doSingleTest 85 + end + + it "88 event target when no specific element has focus " do + doSingleTest 88 + end + + it "91 clipboardData.items when clipboard has one single text/plain entry " do + doSingleTest 91 + end + + it "92 getting data from clipboardData.items when clipboard has one single text/plain entry " do + doSingleTest 92 + end + + it "93 setData and clipboardData.items " do + doSingleTest 93 + end + + it "95 pasting a file " do + doSingleTest 95 + end + + it "96 pasting a file of unknown type " do + doSingleTest 96 + end + + it "97 setData() followed by clearData() in same event handler " do + doSingleTest 97 + end + + it "99 clearData() followed by setData() in same event handler " do + doSingleTest 99 + end + + it "101 clipboard modification when script uses both clearData() and setData() " do + doSingleTest 101 + end + + it "103 reading clipboard data from looping script " do + doSingleTest 103 + end + + it "104 clearData() method without arguments " do + doSingleTest 104 + end + + it "106 clearData() method with text/html argument " do + doSingleTest 106 + end + + it "108 ClipboardEvent interface - synthetic events with new ClipboardEvent constructor " do + doSingleTest 108 + end + + it "109 ClipboardEvent interface - synthetic events with non-standard MIME type " do + doSingleTest 109 + end + + it "110 ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard " do + doSingleTest 110 + end + + it "112 ClipboardEvent interface - synthetic copy/cut events dispatched from trusted events do affect system clipboard " do + doSingleTest 112 + end + + it "114 ClipboardEvent interface - synthetic paste event inserts payload data into TEXTAREA " do + doSingleTest 114 + end + + it "115 ClipboardEvent interface - synthetic paste event inserts payload data into INPUT " do + doSingleTest 115 + end + + it "116 ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT " do + doSingleTest 116 + end + + it "117 ClipboardEvent interface - synthetic paste event inserts plain text data into contentEditable element " do + doSingleTest 117 + end + + it "118 ClipboardEvent interface - synthetic paste event inserts HTML data into contentEditable element " do + doSingleTest 118 + end + + it "119 integration with execCommand, events are syncronous " do + doSingleTest 119 + end + + it "122 integration with execCommand, can prevent default action " do + doSingleTest 122 + end + + it "124 integration with execCommand, can prevent default action " do + doSingleTest 124 + end + + it "125 clipboard events relative to key events " do + doSingleTest 125 + end + + it "128 clipboard events relative to key events - preventDefault prevents clipboard events " do + doSingleTest 128 + end + + it "131 clipboard events relative to other input events " do + doSingleTest 131 + end + + it "132 clipboard events relative to other input events " do + doSingleTest 132 + end + + it "133 copy operation does not dispatch other events " do + doSingleTest 133 + end + + it "135 event listener that modifies focus " do + doSingleTest 135 + end + + it "137 event listener that modifies focus " do + doSingleTest 137 + end + + it "138 event listener that modifies selection " do + doSingleTest 138 + end + + it "139 setData() called outside event handler method " do + doSingleTest 139 + end + + it "142 items.add() called outside event handler method " do + doSingleTest 142 + end + + it "145 clearData() called outside event handler method " do + doSingleTest 145 + end + + it "148 ClipboardEvent and non-ASCII data I - Japanese " do + doSingleTest 148 + end + + it "150 ClipboardEvent and non-ASCII data I - Japanese " do + doSingleTest 150 + end + + it "151 ClipboardEvent and non-ASCII data II - random Unicode symbols " do + doSingleTest 151 + end + + it "153 events fire inside SVG content " do + doSingleTest 153 + end + + it "159 events fire inside editable SVG content " do + doSingleTest 159 + end + + it "165 events fire inside SVG content in contentEditable " do + doSingleTest 165 + end + + it "171 types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard " do + doSingleTest 171 + end + + it "172 setData() method does not throw when implementation does not know the type " do + doSingleTest 172 + end + + it "174 setData() method with text/html (experimental) " do + doSingleTest 174 + end + + it "176 clearData() method is noop in paste event " do + doSingleTest 176 + end + + it "177 clearData() method without preventing events's default action " do + doSingleTest 177 + end + +end From f6d5c93f726b78cd3dad90ef7554f213fa870b0c Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sat, 13 Sep 2014 11:09:54 +0200 Subject: [PATCH 02/42] adding helper files --- clipboard-apis/support/_lib.js | 91 +++++++++++++++++++++++++++ clipboard-apis/support/html_file.htm | 7 +++ clipboard-apis/support/image.jpg | Bin 0 -> 3851 bytes clipboard-apis/support/test | Bin 0 -> 8 bytes 4 files changed, 98 insertions(+) create mode 100644 clipboard-apis/support/_lib.js create mode 100644 clipboard-apis/support/html_file.htm create mode 100644 clipboard-apis/support/image.jpg create mode 100644 clipboard-apis/support/test diff --git a/clipboard-apis/support/_lib.js b/clipboard-apis/support/_lib.js new file mode 100644 index 00000000000000..ccc95cb7d62fb6 --- /dev/null +++ b/clipboard-apis/support/_lib.js @@ -0,0 +1,91 @@ +t = async_test() +function setupTest( target, event, dataToPaste, externalPassCondition ){ + var logNode=document.getElementsByTagName('p')[0].firstChild; + logNode.data=''; + if( typeof target==='string' ){ + if( target.indexOf('.')>-1 ){ // for example "myElementID.firstChild" + var tmp=target.split('.'); + target=document.getElementById(tmp[0])[tmp[1]]; + }else{ + target=document.getElementById(target); + } + } + /* */ + if( target.addEventListener ){ + target.addEventListener(event, intermediateListener, false); + }else if(target.attachEvent){ + target.attachEvent('on'+event, intermediateListener); + } + if( dataToPaste || event==='paste' ){ + logNode.data+='Please place the following text on the clipboard before continuing the test: "'+(dataToPaste || 'clipboard text' )+'"\n'; + logNode.parentNode.style.whiteSpace='pre'; + if(dataToPaste.indexOf('{')==0){ // sorry about the content sniffing, this is likely a JSON string with alternate clipboard formats + if(dataToPaste.indexOf('text/html')>-1){ + logNode.parentNode.appendChild(document.createElement('br')); + logNode.parentNode.appendChild(document.createTextNode('Note: copy all body text from ')); + var tmp=logNode.parentNode.appendChild(document.createElement('a')); + tmp.href='support/html_file.htm'; + tmp.appendChild(document.createTextNode('this support file')); + logNode.parentNode.appendChild(document.createTextNode(' for this test.')); + } + } + } + if(typeof triggerTestManually==='function'){ + logNode.parentNode.appendChild(document.createTextNode(' ')); + var btn=logNode.parentNode.appendChild(document.createElement('button')) + btn.type='button'; + btn.onclick=function(){ + triggerTestManually(); + btn.parentNode.removeChild(btn); + } + btn.appendChild(document.createTextNode(' Click here to run test: ')); + }else{ + logNode.data+='Test in progress, waiting for '+event+' event'; + } + if(typeof onTestSetupReady==='function'){ + onTestSetupReady(event); + } + + function intermediateListener(e){ + e=e||window.event; + if(!e.target)e.target=e.srcElement; + if(typeof window.clipboardData != 'undefined' && typeof e.clipboardData=='undefined' )e.clipboardData=window.clipboardData; + try{ + var testResult=clipboard_api_test(e); + result(testResult); + }catch(e){ + result('exception: '+e); + } + } + /* if @autofocus isn't supported.. */ + if( document.getElementsByTagName('input').length >1 && document.activeElement == document.body ){ + for(var inp, i=0, inputs=document.getElementsByTagName('input');inp=inputs[i];i++){ + if(inp.hasAttribute('autofocus'))inp.focus(); + } + } +} + +function result(testResult, msg){ + var logNode=document.getElementsByTagName('p')[0].firstChild; + if( testResult === true || testResult === false ){ + t.step(function(){assert_true(testResult)}); + t.done(); + logNode.data= ''; // testResult ? 'PASSED' : 'FAILED'; + }else if( typeof testResult ==='string' ){ + logNode.data=testResult; + }else if( typeof externalPassCondition==='string' ){ + logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; + var btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(true)}; + btn.textContent = 'Passed!'; + btn.type='button'; + btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(false)}; + btn.textContent = 'Failed!'; + btn.type='button'; + } + if( msg )logNode.data+='\n'+msg; + + /* another return value - or no return - from test() indicates that it is asyncronous and will call testResult() from a timeout or something */ + +} diff --git a/clipboard-apis/support/html_file.htm b/clipboard-apis/support/html_file.htm new file mode 100644 index 00000000000000..4e4384e9bb7c64 --- /dev/null +++ b/clipboard-apis/support/html_file.htm @@ -0,0 +1,7 @@ + + + Copy/paste support file + + +

This is formatted HTML for copy/paste tests.

+ \ No newline at end of file diff --git a/clipboard-apis/support/image.jpg b/clipboard-apis/support/image.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6d15536ed48a56c4b59d05ab9bc3b741f5217b48 GIT binary patch literal 3851 zcmb7Fc{tRKzx~d}7=tkp#?lOi(PSS)wn2lDeW~!u9*vzWiDV~Bp^}P0;-yj6NZ#yQ z%DyilS+bSwMV4F7y}$cB_s@Gie}2yAob%7;IVYnhGXRQ8(Wd|)5D3uwJ;2EXpbfAx z!x3<1Rs;(IiDYF%@uN{394H(w9~Zy4h=hc=h#3BytcJolsSDD0F-5A<1+q3pmvWY5 zXm&}*OyeR&`;Q0+iA18n(kV8hW$w2W=C{TF^#LGI7?|l#2q{hg31ZfbVXXA{AJ$g!7!b z?hTvzpCm^bUOfHFfYWMI6MretJiK#=-4kXLc#JS%Tk8sm%B5D;4B5a%L@HGR%x0|J zOt?`N%*pJ<)_yfY)ZDD0I4yc2nga^E$Q7~@FgvLlpnX*28ARkFuVv3eeJ-DFjJj`X zB!u`H*zO0?;tpO8c;=4|DfX^l`Ml@?SVWwsO9|c$>2=Gis=bWrPr|??-F@krNH3=j zHmbmC+c4y!F&3HJOB>Px3>i`bMtH^QywZw0T+hCbB1k@(a^De3M&el+H~=TZ(u)I_ zIj1@bDRtTzn`ccT;F2WacncxT+?sjwu8}}C4&jJLHI;)QXC>MBp3HHf$hlmaqL^e8 z@V5K3lEfMtLXs!{@sko`VH6UQ330Myc%)3tPBlTC; zkTtX@J)z+$pDVk!+#0OEAEb!y;!XhcP(3TPTz$mRZ=iR!TcO{SpSuhQy>@WrW|7Ji zzj16w!*(kk&qTEnc={5b2K02AQ*J| zbg_7tv6$8Mo^-WPivkr!A+!bOn0cuh4@-4c&U6&vM?Z;BU8)g3#GU{(8au=PmJ6l% zNOTUIn5GWL|b%R-&G6ok^V-u9;6It2Gq7W(Z zzm%b((J*Ims?gkv2^*YAXdEV`h()XT&G-Hb=^Y#{4ci2$Fvhf5#u$5Z^fn@`osF!= zKgb1;-RsGAcbl+XN5Ndt)I?Pae{!6u6(&WGBU^O)RpoW<1SP5Vw^r|nSV*_)X=wp{^{`Z@XeW6e zn=#TS0}~(HUxazp2N`}s2HADeTE-dL->+Y6cdqt!3%b;rgO}@2kXey`ETOVA+aaAN z+bAYelNk__psTOK8&$g#!K6um(JVhXG)`OH&3iU<>+gemi+15r-((J+)FwY4JpmpZ z8_LXwncrEtkYi1ncKMi9TT)Of%@=lmG@kP+Us^v~0$by%u;(y#@Q&vVyW;RXtY|HzVQ+kz%QiLZ@Y%CQyQzsw!o1+u zB!P!r9)Y?qy1U=sOubH4%eF^*`n|@wmGnfA6UY<<`wf=*uFPW7cy~%tF4ZAL1zds^ zEClspao~f$EU%E<)t01vzmod^XOSxMv`GORgs2F!+82=zuIQlS5hWZ;HNk~?ck~;9 zs7aE#`vzux;!}_>zJ&|b1364oQvq)Ju2PzVx5%8 zx|-kl`LL)0m@aanY@OSBLbe zXXl=d+#XP)2s~}QXO}wRYQ7Ll?7F=1Ax+)Q@qIz~uYJk&>>-stho@CnW^>EoB&lC>%Rq(`;tE>y}Ph-^^0zWLeGErO@_?@%(~GB*P|C@2m9&wt&X-z zn2-Mc;(Kb(DoW$jt^N29b2|R-r>-S3!ft9`W82uYZLa>szgIT$l|t)V;pmcop!v7+ z>9=baPJoAXUejMMhYsg2eM^CG#`oE_@!zgEGi?*%p-bCi2v`sBblE$K65$`e zc?*pk!KRM4~z(Kt>WebDRn~kG;)i;qV?*F zIZ5VHH={!OmmJT ztfxhEe2cB%Q$RC_DUzP}+W3)7&wfVgv4Ms{;HcJob$1fYtJOPSa3lQ$hA{;7S&XB)m|ChrvqsWThM!;v9ouKSsZqbA}7jygduNlE?2{D5Up zoO!tSXysmt?!CAQ5|4e&Q)}C0-bT7bxS-k7v`T7Dn`6>OWa0!Z`sIt*xg(w!rt_{SG;*9Ku$o5 zFpeF+OkM3CP3}#ft0GvJiV4xCb&lsBeTWxtEB1TPkP5SDkMdtQHC2fL`z>KpOR|D=x*!Uv?K>QC z^CIr8dFHl>zDm|hkT0EE({A_qqlo*`3AvG zUEPFtQ^|9w=aoK?>QGd-7k+vJcP(;(s3aR+xi1tI{m-}3J57q+M3;GSpU$g~TeCRs zA(b0ndxE|iU(afA^7Hv|Xzggl5)#KDWwyzp;HHs4^dIBl@mMVg=6Tz>z9*jOv6>>z z+kUS;POt%j=HH>y%Zkhl1dU$I)P*8;7OAfiN^E@B>=y13^AAr4Ip;2pvp8)-rjFCp ziR%wXbNW9VG-O&;FQjZS)IO@kcpN_B<_TlIwKrzq-x6lXfk3beWNzThfBg=m*N>Mt}Jmk6Xl;pEC{*tzF zdE%G)kAlg!J$t%3V+1y@PaV~jz7BWBeKoir;(zRjWz)Vk+CQ2J4!u*^>1Ll&tM!W? zbx&p1-Kq+jWblPLrtT3szMF-xh+ShhA5u*Y8+8jIU@LnQr8*L2o{@6bO*|R*SumKh zoPxQzf+pw~ONSYo$)ty?_vfLxP|l(}6tcEGHBCc7wl?{Y-?;M~fTkebQ3ufvs)1 zvu3;*N>*)J6^*wi1($}%mSw)El&wLzW=^n8Y}R!S3hfw3)fyNPMrVVXstBJ}8d|#? z<;yiz(|vOhBZQkayN2~2WhJW3dyB;EH8b7jh-}l2`IB$V&HCo29(h5pK$q(sJVO(P zLW+IMeO8Srl|Pqjy-baB4!q@lxl7dgKb4TLe_QU?U%#^_o#^c$3m-!NnE6Qh`7(&( zl(*k7R>wnTb*P@i^6vUlCHspPn_iDyJ8;cQQR6Aci(eGfl+M!>G%+wV?C*$DJXGMnl-Hvk(YP82?wfx z2!djKSqF9)2hGzN#%|0hDn-yJ(_+A4WP-S^0iA@z2JXecnHIkNLtip8ES3CzKKkRu zvlFR}ptBX1D~W?Q3gApOH}0jx>s=Yd0Tt|S-O9Oe1dPG0qzb;cqae1V1#%S_l9#Ae zglmD6_mlPYP=;rtu~H&2S!|Jy?%Tplq9O4=?7aKVdx2gn%tT{_^RsGFpfV$os0fp3 zNb7;<93;LN6;b5HS~d;*UK< LW+55}IvM*fE_J%2 literal 0 HcmV?d00001 diff --git a/clipboard-apis/support/test b/clipboard-apis/support/test new file mode 100644 index 0000000000000000000000000000000000000000..1b1cb4d44c57c2d7a5122870fa6ac3e62ff7e94e GIT binary patch literal 8 KcmZQzfB*mh2mk>9 literal 0 HcmV?d00001 From 21cd455c50015121568711a10d75f4fc818baaa2 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 14 Sep 2014 13:25:04 +0200 Subject: [PATCH 03/42] Added script that extracts tests from spec source code and generates various variants --- clipboard-apis/support/TC-generator/tc-gen.py | 103 ++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 clipboard-apis/support/TC-generator/tc-gen.py diff --git a/clipboard-apis/support/TC-generator/tc-gen.py b/clipboard-apis/support/TC-generator/tc-gen.py new file mode 100644 index 00000000000000..36c52964bca563 --- /dev/null +++ b/clipboard-apis/support/TC-generator/tc-gen.py @@ -0,0 +1,103 @@ +# TC-gen.py +# This script extracts all tests from the spec text and +# builds the test suite + +import os, re, codecs, sys + +if len(sys.argv<3): + print 'Two arguments are required: path to spec (clipops-source.html) and \nthe path to a folder where generated tests should be stored.' + sys.exit() + +spec_path = sys.argv[1] +tc_path = sys.argv[2] + +template = u""" + + + ClipboardEvent - {title} + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ {test_html} +
+ + +""" + + +default_event_target = 'document' # Note: include quotes in string if passing a string.. +default_test_html = '
' + +f = codecs.open(spec_path, 'r', 'UTF-8') +spec_text = f.read() +f.close() +r = re.compile('', re.I | re.S) +testcounter = 1 +rubytemplate = """ +describe "Clipboard events testsuite" do + before(:all) do + @browser = OperaWatir::Browser.new + $base = 'file://localhost/d:/projects/spec-dev/copy-paste/W3C-repo/clipops/testsuite/' + end +%s +end +""" +rubycode="" +rbatom = """ + it "%i %s" do + doSingleTest %i + end +""" +for match in re.finditer(r, spec_text): + test_info = {"title":match.groupdict()["title"], "test_javascript_code":match.groupdict()["script"], "data_to_paste":"''", "targets":default_event_target, "external_pass_condition":"null", "test_html":default_test_html} + test_info["test_javascript_code"] = "/** %s */\n%s" % (test_info["title"], test_info["test_javascript_code"]) # add title comment back.. + test_data_map = { "Test HTML":"test_html", "Events":"events", "Targets":"targets", "paste data":"data_to_paste", "External pass condition - clipboard data":"external_pass_condition" } + for name in test_data_map: + value = test_data_map[name] + rx = re.compile(r"\/\*\s*"+name+": (.+?)\*\/", re.S) + try: + test_info[value] = re.search(rx, test_info['test_javascript_code']).group(1) + if name is 'Test HTML' and '<\\/script' in test_info[value]: + test_info[value] = test_info[value].replace('<\\/script', ' Date: Fri, 10 Oct 2014 20:56:12 +0200 Subject: [PATCH 04/42] mostly minor fixes --- clipboard-apis/095.html | 5 +++-- clipboard-apis/096.html | 3 ++- clipboard-apis/104.html | 6 +++--- clipboard-apis/105.html | 6 +++--- clipboard-apis/106.html | 4 ++-- clipboard-apis/107.html | 4 ++-- clipboard-apis/110.html | 14 +++++++++----- clipboard-apis/111.html | 14 +++++++++----- clipboard-apis/112.html | 21 ++++++++++++--------- clipboard-apis/113.html | 21 ++++++++++++--------- clipboard-apis/114.html | 10 +++++----- clipboard-apis/115.html | 6 +++--- clipboard-apis/116.html | 10 +++++----- clipboard-apis/117.html | 6 +++--- clipboard-apis/118.html | 6 +++--- clipboard-apis/support/_lib.js | 6 ++++-- clipboard-apis/testlist.rb | 10 +++++----- 17 files changed, 85 insertions(+), 67 deletions(-) diff --git a/clipboard-apis/095.html b/clipboard-apis/095.html index 4025c6b76d01fa..83f009ee84e788 100644 --- a/clipboard-apis/095.html +++ b/clipboard-apis/095.html @@ -9,7 +9,8 @@ /** pasting a file */ /* Events: paste */ /* Targets: document */ -/* Clipboard data type: file reference: ./support/image.jpg */ +/* Clipboard data type: file reference: ./support/image.jpg */ +/* paste data: "the file 'support/image.jpg'" */ /* Test HTML:

To complete this test, copy the './support/image.jpg' file from the OS file manager and paste into this page

 
diff --git a/clipboard-apis/105.html b/clipboard-apis/105.html index 0a155a0996561f..fb11c0a14aec85 100644 --- a/clipboard-apis/105.html +++ b/clipboard-apis/105.html @@ -11,9 +11,9 @@ /* External pass condition - clipboard data: "" */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.clearData(); - e.preventDefault(); + var passed = false; + e.clipboardData.clearData(); + e.preventDefault(); } diff --git a/clipboard-apis/106.html b/clipboard-apis/106.html index 4d6cbe1be62304..47a9b8c9878edf 100644 --- a/clipboard-apis/106.html +++ b/clipboard-apis/106.html @@ -11,8 +11,8 @@ /* paste data: "{'text/html':'

This is formatted HTML for copy/paste tests.

', 'text/plain': 'This is formatted HTML for copy/paste tests.'}" */ /* External pass condition - clipboard data: "This is formatted HTML for copy/paste tests." */ function clipboard_api_test(e){ - e.clipboardData.clearData('text/html'); - e.preventDefault(); + e.clipboardData.clearData('text/html'); + e.preventDefault(); } diff --git a/clipboard-apis/107.html b/clipboard-apis/107.html index e491b63fad7467..ac564ade511ac7 100644 --- a/clipboard-apis/107.html +++ b/clipboard-apis/107.html @@ -11,8 +11,8 @@ /* paste data: "{'text/html':'

This is formatted HTML for copy/paste tests.

', 'text/plain': 'This is formatted HTML for copy/paste tests.'}" */ /* External pass condition - clipboard data: "This is formatted HTML for copy/paste tests." */ function clipboard_api_test(e){ - e.clipboardData.clearData('text/html'); - e.preventDefault(); + e.clipboardData.clearData('text/html'); + e.preventDefault(); } diff --git a/clipboard-apis/110.html b/clipboard-apis/110.html index 8b6dbcade5ed63..09b35db15e2b0d 100644 --- a/clipboard-apis/110.html +++ b/clipboard-apis/110.html @@ -13,17 +13,21 @@ function clipboard_api_test(e){ } -function onTestSetupReady(){ +function onTestSetupReady(type){ try{ - var evt=new ClipboardEvent( window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'} ); - if( window.eventType=='cut' )document.body.contentEditable='true'; + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } /* make a selection to check if selected text is copied by the synthetic event.. */ - var range=document.createRange(); + var range = document.createRange(); range.selectNodeContents(document.body); window.getSelection().addRange(range); document.dispatchEvent(evt); window.getSelection().removeAllRanges(); - if( window.eventType=='cut' )document.body.contentEditable='false'; + if(type === 'cut'){ + document.body.contentEditable = 'false'; + } }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); return; diff --git a/clipboard-apis/111.html b/clipboard-apis/111.html index b4c6c22c1209dd..a732cf3c8f556c 100644 --- a/clipboard-apis/111.html +++ b/clipboard-apis/111.html @@ -13,17 +13,21 @@ function clipboard_api_test(e){ } -function onTestSetupReady(){ +function onTestSetupReady(type){ try{ - var evt=new ClipboardEvent( window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'} ); - if( window.eventType=='cut' )document.body.contentEditable='true'; + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } /* make a selection to check if selected text is copied by the synthetic event.. */ - var range=document.createRange(); + var range = document.createRange(); range.selectNodeContents(document.body); window.getSelection().addRange(range); document.dispatchEvent(evt); window.getSelection().removeAllRanges(); - if( window.eventType=='cut' )document.body.contentEditable='false'; + if(type === 'cut'){ + document.body.contentEditable = 'false'; + } }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); return; diff --git a/clipboard-apis/112.html b/clipboard-apis/112.html index f75d4af6888c6b..6a70618c9bc362 100644 --- a/clipboard-apis/112.html +++ b/clipboard-apis/112.html @@ -1,12 +1,12 @@ - ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events dispatched from trusted events do affect system clipboard - copy on document + ClipboardEvent - ClipboardEvent interface - events triggered from document.execCommand() inside trusted events do affect system clipboard - copy on document diff --git a/clipboard-apis/030.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html similarity index 95% rename from clipboard-apis/030.html rename to clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html index e17bc91658c8da..046b99066eb66d 100644 --- a/clipboard-apis/030.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html @@ -11,7 +11,7 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - return e.target.value === e.target.defaultValue; + return e.target.value === e.target.defaultValue; } diff --git a/clipboard-apis/021.html b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html similarity index 100% rename from clipboard-apis/021.html rename to clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html diff --git a/clipboard-apis/019.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html similarity index 100% rename from clipboard-apis/019.html rename to clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html diff --git a/clipboard-apis/020.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html similarity index 100% rename from clipboard-apis/020.html rename to clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html diff --git a/clipboard-apis/135.html b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html similarity index 100% rename from clipboard-apis/135.html rename to clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html diff --git a/clipboard-apis/136.html b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html similarity index 100% rename from clipboard-apis/136.html rename to clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html diff --git a/clipboard-apis/137.html b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html similarity index 100% rename from clipboard-apis/137.html rename to clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html diff --git a/clipboard-apis/138.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html similarity index 100% rename from clipboard-apis/138.html rename to clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html diff --git a/clipboard-apis/085.html b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html similarity index 100% rename from clipboard-apis/085.html rename to clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html diff --git a/clipboard-apis/086.html b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html similarity index 100% rename from clipboard-apis/086.html rename to clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html diff --git a/clipboard-apis/087.html b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html similarity index 100% rename from clipboard-apis/087.html rename to clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html diff --git a/clipboard-apis/080.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html similarity index 100% rename from clipboard-apis/080.html rename to clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html diff --git a/clipboard-apis/081.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html similarity index 100% rename from clipboard-apis/081.html rename to clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html diff --git a/clipboard-apis/088.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html similarity index 100% rename from clipboard-apis/088.html rename to clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html diff --git a/clipboard-apis/089.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html similarity index 100% rename from clipboard-apis/089.html rename to clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html diff --git a/clipboard-apis/090.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html similarity index 100% rename from clipboard-apis/090.html rename to clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html diff --git a/clipboard-apis/063.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html similarity index 100% rename from clipboard-apis/063.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html diff --git a/clipboard-apis/064.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html similarity index 100% rename from clipboard-apis/064.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html diff --git a/clipboard-apis/062.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html similarity index 100% rename from clipboard-apis/062.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html diff --git a/clipboard-apis/066.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html similarity index 100% rename from clipboard-apis/066.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html diff --git a/clipboard-apis/067.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html similarity index 100% rename from clipboard-apis/067.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html diff --git a/clipboard-apis/065.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html similarity index 100% rename from clipboard-apis/065.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html diff --git a/clipboard-apis/069.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html similarity index 100% rename from clipboard-apis/069.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html diff --git a/clipboard-apis/070.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html similarity index 100% rename from clipboard-apis/070.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html diff --git a/clipboard-apis/068.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html similarity index 100% rename from clipboard-apis/068.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html diff --git a/clipboard-apis/072.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html similarity index 100% rename from clipboard-apis/072.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html diff --git a/clipboard-apis/073.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html similarity index 100% rename from clipboard-apis/073.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html diff --git a/clipboard-apis/071.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html similarity index 100% rename from clipboard-apis/071.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html diff --git a/clipboard-apis/075.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html similarity index 100% rename from clipboard-apis/075.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html diff --git a/clipboard-apis/076.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html similarity index 100% rename from clipboard-apis/076.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html diff --git a/clipboard-apis/074.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html similarity index 100% rename from clipboard-apis/074.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html diff --git a/clipboard-apis/078.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html similarity index 100% rename from clipboard-apis/078.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html diff --git a/clipboard-apis/079.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html similarity index 100% rename from clipboard-apis/079.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html diff --git a/clipboard-apis/077.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html similarity index 100% rename from clipboard-apis/077.html rename to clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html diff --git a/clipboard-apis/056.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html similarity index 100% rename from clipboard-apis/056.html rename to clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html diff --git a/clipboard-apis/057.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html similarity index 100% rename from clipboard-apis/057.html rename to clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html diff --git a/clipboard-apis/058.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html similarity index 100% rename from clipboard-apis/058.html rename to clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html diff --git a/clipboard-apis/159.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html similarity index 100% rename from clipboard-apis/159.html rename to clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html diff --git a/clipboard-apis/160.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html similarity index 100% rename from clipboard-apis/160.html rename to clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html diff --git a/clipboard-apis/161.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html similarity index 100% rename from clipboard-apis/161.html rename to clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html diff --git a/clipboard-apis/162.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html similarity index 100% rename from clipboard-apis/162.html rename to clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html diff --git a/clipboard-apis/163.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html similarity index 100% rename from clipboard-apis/163.html rename to clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html diff --git a/clipboard-apis/164.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html similarity index 100% rename from clipboard-apis/164.html rename to clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html diff --git a/clipboard-apis/153.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html similarity index 100% rename from clipboard-apis/153.html rename to clipboard-apis/events_fire_inside_svg_content_copy_on_document.html diff --git a/clipboard-apis/154.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html similarity index 100% rename from clipboard-apis/154.html rename to clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html diff --git a/clipboard-apis/155.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html similarity index 100% rename from clipboard-apis/155.html rename to clipboard-apis/events_fire_inside_svg_content_cut_on_document.html diff --git a/clipboard-apis/156.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html similarity index 100% rename from clipboard-apis/156.html rename to clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html diff --git a/clipboard-apis/165.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html similarity index 100% rename from clipboard-apis/165.html rename to clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html diff --git a/clipboard-apis/166.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html similarity index 100% rename from clipboard-apis/166.html rename to clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html diff --git a/clipboard-apis/167.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html similarity index 100% rename from clipboard-apis/167.html rename to clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html diff --git a/clipboard-apis/168.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html similarity index 100% rename from clipboard-apis/168.html rename to clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html diff --git a/clipboard-apis/169.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html similarity index 100% rename from clipboard-apis/169.html rename to clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html diff --git a/clipboard-apis/170.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html similarity index 100% rename from clipboard-apis/170.html rename to clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html diff --git a/clipboard-apis/157.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html similarity index 100% rename from clipboard-apis/157.html rename to clipboard-apis/events_fire_inside_svg_content_paste_on_document.html diff --git a/clipboard-apis/158.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html similarity index 100% rename from clipboard-apis/158.html rename to clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html diff --git a/clipboard-apis/036.html b/clipboard-apis/events_fire_on_input_paste_on_document.html similarity index 100% rename from clipboard-apis/036.html rename to clipboard-apis/events_fire_on_input_paste_on_document.html diff --git a/clipboard-apis/037.html b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html similarity index 100% rename from clipboard-apis/037.html rename to clipboard-apis/events_fire_on_input_paste_on_inputtext.html diff --git a/clipboard-apis/038.html b/clipboard-apis/events_fire_on_textarea_paste_on_document.html similarity index 100% rename from clipboard-apis/038.html rename to clipboard-apis/events_fire_on_textarea_paste_on_document.html diff --git a/clipboard-apis/039.html b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html similarity index 100% rename from clipboard-apis/039.html rename to clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html diff --git a/clipboard-apis/023.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html similarity index 100% rename from clipboard-apis/023.html rename to clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html diff --git a/clipboard-apis/022.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html similarity index 100% rename from clipboard-apis/022.html rename to clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html diff --git a/clipboard-apis/047.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html similarity index 100% rename from clipboard-apis/047.html rename to clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html diff --git a/clipboard-apis/050.html b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html similarity index 100% rename from clipboard-apis/050.html rename to clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html diff --git a/clipboard-apis/048.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html similarity index 100% rename from clipboard-apis/048.html rename to clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html diff --git a/clipboard-apis/024.html b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html similarity index 100% rename from clipboard-apis/024.html rename to clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html diff --git a/clipboard-apis/049.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html similarity index 100% rename from clipboard-apis/049.html rename to clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html diff --git a/clipboard-apis/052.html b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html similarity index 100% rename from clipboard-apis/052.html rename to clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html diff --git a/clipboard-apis/051.html b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html similarity index 100% rename from clipboard-apis/051.html rename to clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html diff --git a/clipboard-apis/092.html b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html similarity index 100% rename from clipboard-apis/092.html rename to clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html diff --git a/clipboard-apis/122.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html similarity index 100% rename from clipboard-apis/122.html rename to clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html diff --git a/clipboard-apis/123.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html similarity index 100% rename from clipboard-apis/123.html rename to clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html diff --git a/clipboard-apis/124.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html similarity index 100% rename from clipboard-apis/124.html rename to clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html diff --git a/clipboard-apis/119.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html similarity index 74% rename from clipboard-apis/119.html rename to clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index f6a85862c561a6..85893170860d42 100644 --- a/clipboard-apis/119.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -27,13 +27,19 @@ sel.removeAllRanges(); sel.addRange(rng); } +} +function triggerTestManually(eventType){ try{ + var ifr=document.getElementById('iframe'); window.afterExecCommand=false; - ifr.contentDocument.execCommand(window.eventType, false, false); + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); - } + if(!execSucceeded){ + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/120.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html similarity index 74% rename from clipboard-apis/120.html rename to clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index b94da1b0016b4d..76cdf836ed8b95 100644 --- a/clipboard-apis/120.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -27,13 +27,19 @@ sel.removeAllRanges(); sel.addRange(rng); } +} +function triggerTestManually(eventType){ try{ + var ifr=document.getElementById('iframe'); window.afterExecCommand=false; - ifr.contentDocument.execCommand(window.eventType, false, false); + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); - } + if(!execSucceeded){ + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/121.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html similarity index 74% rename from clipboard-apis/121.html rename to clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index 212928def38f57..a1c07a582db602 100644 --- a/clipboard-apis/121.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -27,13 +27,19 @@ sel.removeAllRanges(); sel.addRange(rng); } +} +function triggerTestManually(eventType){ try{ + var ifr=document.getElementById('iframe'); window.afterExecCommand=false; - ifr.contentDocument.execCommand(window.eventType, false, false); + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); - } + if(!execSucceeded){ + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html new file mode 100644 index 00000000000000..bae31ae4729be9 --- /dev/null +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - integration with execCommand - returns false when not allowed to write to clipboard - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html new file mode 100644 index 00000000000000..245c013e4fcfc8 --- /dev/null +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - integration with execCommand - returns false when not allowed to write to clipboard - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/142.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html similarity index 100% rename from clipboard-apis/142.html rename to clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html diff --git a/clipboard-apis/143.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html similarity index 100% rename from clipboard-apis/143.html rename to clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html diff --git a/clipboard-apis/144.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html similarity index 100% rename from clipboard-apis/144.html rename to clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html diff --git a/clipboard-apis/032.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html similarity index 100% rename from clipboard-apis/032.html rename to clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html diff --git a/clipboard-apis/033.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html similarity index 100% rename from clipboard-apis/033.html rename to clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html diff --git a/clipboard-apis/027.html b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html similarity index 100% rename from clipboard-apis/027.html rename to clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html diff --git a/clipboard-apis/040.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html similarity index 100% rename from clipboard-apis/040.html rename to clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html diff --git a/clipboard-apis/041.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html similarity index 100% rename from clipboard-apis/041.html rename to clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html diff --git a/clipboard-apis/044.html b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html similarity index 100% rename from clipboard-apis/044.html rename to clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html diff --git a/clipboard-apis/096.html b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html similarity index 100% rename from clipboard-apis/096.html rename to clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html diff --git a/clipboard-apis/095.html b/clipboard-apis/pasting_a_file_paste_on_document.html similarity index 100% rename from clipboard-apis/095.html rename to clipboard-apis/pasting_a_file_paste_on_document.html diff --git a/clipboard-apis/042.html b/clipboard-apis/preventing_default_action_paste_on_document.html similarity index 100% rename from clipboard-apis/042.html rename to clipboard-apis/preventing_default_action_paste_on_document.html diff --git a/clipboard-apis/043.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html similarity index 100% rename from clipboard-apis/043.html rename to clipboard-apis/preventing_default_action_paste_on_inputtext.html diff --git a/clipboard-apis/103.html b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html similarity index 100% rename from clipboard-apis/103.html rename to clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html diff --git a/clipboard-apis/093.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html similarity index 100% rename from clipboard-apis/093.html rename to clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html diff --git a/clipboard-apis/094.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html similarity index 100% rename from clipboard-apis/094.html rename to clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html diff --git a/clipboard-apis/139.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html similarity index 100% rename from clipboard-apis/139.html rename to clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html diff --git a/clipboard-apis/140.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html similarity index 100% rename from clipboard-apis/140.html rename to clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html diff --git a/clipboard-apis/141.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html similarity index 100% rename from clipboard-apis/141.html rename to clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html diff --git a/clipboard-apis/045.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html similarity index 100% rename from clipboard-apis/045.html rename to clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html diff --git a/clipboard-apis/046.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html similarity index 100% rename from clipboard-apis/046.html rename to clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html diff --git a/clipboard-apis/097.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html similarity index 100% rename from clipboard-apis/097.html rename to clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html diff --git a/clipboard-apis/098.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html similarity index 100% rename from clipboard-apis/098.html rename to clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html diff --git a/clipboard-apis/028.html b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html similarity index 100% rename from clipboard-apis/028.html rename to clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html diff --git a/clipboard-apis/009.html b/clipboard-apis/setdata_method_copy_on_document.html similarity index 100% rename from clipboard-apis/009.html rename to clipboard-apis/setdata_method_copy_on_document.html diff --git a/clipboard-apis/010.html b/clipboard-apis/setdata_method_cut_on_document.html similarity index 100% rename from clipboard-apis/010.html rename to clipboard-apis/setdata_method_cut_on_document.html diff --git a/clipboard-apis/172.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html similarity index 100% rename from clipboard-apis/172.html rename to clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html diff --git a/clipboard-apis/173.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html similarity index 100% rename from clipboard-apis/173.html rename to clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html diff --git a/clipboard-apis/174.html b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html similarity index 100% rename from clipboard-apis/174.html rename to clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html diff --git a/clipboard-apis/175.html b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html similarity index 100% rename from clipboard-apis/175.html rename to clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html diff --git a/clipboard-apis/034.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html similarity index 100% rename from clipboard-apis/034.html rename to clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html diff --git a/clipboard-apis/035.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html similarity index 100% rename from clipboard-apis/035.html rename to clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html diff --git a/clipboard-apis/171.html b/clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html similarity index 100% rename from clipboard-apis/171.html rename to clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html diff --git a/clipboard-apis/053.html b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html similarity index 94% rename from clipboard-apis/053.html rename to clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html index c854904e9911c4..bf2cb07721e230 100644 --- a/clipboard-apis/053.html +++ b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html @@ -12,7 +12,7 @@ /* Test HTML:

The "copy" menu UI state is enabled on this page even when there is no selection.

*/ document.onbeforecopy = function(){return false;} function clipboard_api_test(e){ - result('UI test: passes if "copy" menu UI state is enabled'); + result('UI test: passes if "copy" menu UI state is enabled'); } diff --git a/clipboard-apis/054.html b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html similarity index 94% rename from clipboard-apis/054.html rename to clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html index 9cdb8ae38d3634..f11a0f2f0d2911 100644 --- a/clipboard-apis/054.html +++ b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html @@ -12,7 +12,7 @@ /* Test HTML:

The "cut" menu UI state is enabled on this page even when there is no editable selection.

*/ document.onbeforecut = function(){return false;} function clipboard_api_test(e){ - result('UI test: passes if "cut" menu UI state is enabled'); + result('UI test: passes if "cut" menu UI state is enabled'); } diff --git a/clipboard-apis/055.html b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html similarity index 94% rename from clipboard-apis/055.html rename to clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html index ed7576f0b04ab0..c6153ee0db5e21 100644 --- a/clipboard-apis/055.html +++ b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html @@ -12,7 +12,7 @@ /* Test HTML:

The "paste" menu UI state is enabled on this page even when there is no editable context.

*/ document.onbeforepaste = function(){return false;} function clipboard_api_test(e){ - result('UI test: passes if "paste" menu UI state is enabled'); + result('UI test: passes if "paste" menu UI state is enabled'); } From cd31aefdcb47452a5a5472093e1f8e4cd06343eb Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Fri, 19 Dec 2014 11:11:03 +0100 Subject: [PATCH 06/42] changed test order in testlist.rb --- clipboard-apis/testlist.rb | 202 +++++++++++++++++++------------------ 1 file changed, 103 insertions(+), 99 deletions(-) diff --git a/clipboard-apis/testlist.rb b/clipboard-apis/testlist.rb index 93dcb7960d534d..91895a02c083dd 100644 --- a/clipboard-apis/testlist.rb +++ b/clipboard-apis/testlist.rb @@ -2,138 +2,138 @@ describe "Clipboard events testsuite" do before(:all) do @browser = OperaWatir::Browser.new - $base = 'file://localhost/d:/projects/spec-dev/copy-paste/W3C-repo/clipops/testsuite/' + $base = '/web-platform-tests/clipboard-apis/testsuite/' end - it "1 ClipboardEvent - events fire on INPUT " do + it "1 Using beforecopy to enable 'copy' UI that would otherwise be disabled " do doSingleTest 1 end - it "5 ClipboardEvent - events fire on TEXTAREA " do - doSingleTest 5 + it "2 Using beforecut to enable 'cut' UI that would otherwise be disabled " do + doSingleTest 2 end - it "9 setData() method " do - doSingleTest 9 + it "3 Using beforepaste to enable 'paste' UI that would otherwise be disabled " do + doSingleTest 3 end - it "11 copy event when there is no selection and script uses setData() " do - doSingleTest 11 + it "4 ClipboardEvent - events fire on INPUT " do + doSingleTest 4 end - it "13 cancelling default action, basic test " do - doSingleTest 13 + it "8 ClipboardEvent - events fire on TEXTAREA " do + doSingleTest 8 end - it "17 copy event does not modify selection " do - doSingleTest 17 + it "12 setData() method " do + doSingleTest 12 end - it "19 default action of event when there is no selection is noop " do - doSingleTest 19 + it "14 copy event when there is no selection and script uses setData() " do + doSingleTest 14 end - it "21 default action of cut event when there is no selection - no text change " do - doSingleTest 21 + it "16 cancelling default action, basic test " do + doSingleTest 16 end - it "22 getData() method in cut and copy events should return an empty string " do + it "20 copy event does not modify selection " do + doSingleTest 20 + end + + it "22 default action of event when there is no selection is noop " do doSingleTest 22 end - it "24 getData() method when type is unsupported should return an empty string " do + it "24 default action of cut event when there is no selection - no text change " do doSingleTest 24 end - it "25 cancelling default action of cut prevents removal of text from editable context " do + it "25 getData() method in cut and copy events should return an empty string " do doSingleTest 25 end - it "27 no default action for cut in non-editable context " do + it "27 getData() method when type is unsupported should return an empty string " do doSingleTest 27 end - it "28 setData() in cut event without preventDefault() has no effect when default action is noop " do + it "28 cancelling default action of cut prevents removal of text from editable context " do doSingleTest 28 end - it "29 cut fires before text is removed " do - doSingleTest 29 + it "30 cut fires before text is removed " do + doSingleTest 30 end - it "31 cut collapses selection " do - doSingleTest 31 + it "32 cut collapses selection " do + doSingleTest 32 end - it "32 modifying data for cut event in non-editable context with selection " do - doSingleTest 32 + it "33 no default action for cut in non-editable context " do + doSingleTest 33 end - it "34 setData() method without preventing events's default action " do + it "34 setData() in cut event without preventDefault() has no effect when default action is noop " do doSingleTest 34 end - it "36 events fire on INPUT " do - doSingleTest 36 + it "35 modifying data for cut event in non-editable context with selection " do + doSingleTest 35 end - it "38 events fire on TEXTAREA " do - doSingleTest 38 + it "37 setData() method without preventing events's default action " do + doSingleTest 37 end - it "40 paste event fires before data is inserted " do - doSingleTest 40 + it "39 events fire on INPUT " do + doSingleTest 39 end - it "42 preventing default action " do - doSingleTest 42 + it "41 events fire on TEXTAREA " do + doSingleTest 41 end - it "44 paste event fires even in non-editable context " do - doSingleTest 44 + it "43 paste event fires before data is inserted " do + doSingleTest 43 end - it "45 setData() does not modify text that is about to be inserted in a paste event " do + it "45 preventing default action " do doSingleTest 45 end - it "46 setData() doesn't modify text on the clipboard when called from a paste event " do - doSingleTest 46 - end - - it "47 getData() method in paste event retrieving plain text " do + it "47 paste event fires even in non-editable context " do doSingleTest 47 end - it "48 getData() method when called outside event handler should return an empty string " do + it "48 setData() does not modify text that is about to be inserted in a paste event " do doSingleTest 48 end - it "49 getData() method with wrong number of arguments " do + it "49 setData() doesn't modify text on the clipboard when called from a paste event " do doSingleTest 49 end - it "50 getData() method supports legacy 'text' argument " do + it "50 getData() method in paste event retrieving plain text " do doSingleTest 50 end - it "51 getData() supports legacy 'url' argument " do + it "51 getData() method when called outside event handler should return an empty string " do doSingleTest 51 end - it "52 getData() method's type argument not case sensitive " do + it "52 getData() method with wrong number of arguments " do doSingleTest 52 end - it "53 Using beforecopy to enable 'copy' UI that would otherwise be disabled " do + it "53 getData() method supports legacy 'text' argument " do doSingleTest 53 end - it "54 Using beforecut to enable 'cut' UI that would otherwise be disabled " do + it "54 getData() supports legacy 'url' argument " do doSingleTest 54 end - it "55 Using beforepaste to enable 'paste' UI that would otherwise be disabled " do + it "55 getData() method's type argument not case sensitive " do doSingleTest 55 end @@ -197,28 +197,28 @@ doSingleTest 96 end - it "97 setData() followed by clearData() in same event handler " do + it "97 clearData() method without arguments " do doSingleTest 97 end - it "99 clearData() followed by setData() in same event handler " do + it "99 clearData() method with text/html argument " do doSingleTest 99 end - it "101 clipboard modification when script uses both clearData() and setData() " do + it "101 setData() followed by clearData() in same event handler " do doSingleTest 101 end - it "103 reading clipboard data from looping script " do + it "103 clearData() followed by setData() in same event handler " do doSingleTest 103 end - it "104 clearData() method without arguments " do - doSingleTest 104 + it "105 clipboard modification when script uses both clearData() and setData() " do + doSingleTest 105 end - it "106 clearData() method with text/html argument " do - doSingleTest 106 + it "107 reading clipboard data from looping script " do + doSingleTest 107 end it "108 ClipboardEvent interface - synthetic events with new ClipboardEvent constructor " do @@ -257,39 +257,39 @@ doSingleTest 118 end - it "119 integration with execCommand, events are syncronous " do + it "119 integration with execCommand - returns false when not allowed to write to clipboard " do doSingleTest 119 end - it "122 integration with execCommand, can prevent default action " do - doSingleTest 122 + it "121 integration with execCommand, events are syncronous " do + doSingleTest 121 end it "124 integration with execCommand, can prevent default action " do doSingleTest 124 end - it "125 clipboard events relative to key events " do - doSingleTest 125 + it "126 integration with execCommand, can prevent default action " do + doSingleTest 126 end - it "128 clipboard events relative to key events - preventDefault prevents clipboard events " do - doSingleTest 128 + it "127 clipboard events relative to key events " do + doSingleTest 127 end - it "131 clipboard events relative to other input events " do - doSingleTest 131 + it "130 clipboard events relative to key events - preventDefault prevents clipboard events " do + doSingleTest 130 end - it "132 clipboard events relative to other input events " do - doSingleTest 132 + it "133 clipboard events relative to other input events " do + doSingleTest 133 end - it "133 copy operation does not dispatch other events " do - doSingleTest 133 + it "134 clipboard events relative to other input events " do + doSingleTest 134 end - it "135 event listener that modifies focus " do + it "135 copy operation does not dispatch other events " do doSingleTest 135 end @@ -297,64 +297,68 @@ doSingleTest 137 end - it "138 event listener that modifies selection " do - doSingleTest 138 + it "139 event listener that modifies focus " do + doSingleTest 139 end - it "139 setData() called outside event handler method " do - doSingleTest 139 + it "140 event listener that modifies selection " do + doSingleTest 140 end - it "142 items.add() called outside event handler method " do - doSingleTest 142 + it "141 setData() called outside event handler method " do + doSingleTest 141 end - it "145 clearData() called outside event handler method " do - doSingleTest 145 + it "144 items.add() called outside event handler method " do + doSingleTest 144 end - it "148 ClipboardEvent and non-ASCII data I - Japanese " do - doSingleTest 148 + it "147 clearData() called outside event handler method " do + doSingleTest 147 end it "150 ClipboardEvent and non-ASCII data I - Japanese " do doSingleTest 150 end - it "151 ClipboardEvent and non-ASCII data II - random Unicode symbols " do - doSingleTest 151 + it "152 ClipboardEvent and non-ASCII data I - Japanese " do + doSingleTest 152 end - it "153 events fire inside SVG content " do + it "153 ClipboardEvent and non-ASCII data II - random Unicode symbols " do doSingleTest 153 end - it "159 events fire inside editable SVG content " do - doSingleTest 159 + it "155 events fire inside SVG content " do + doSingleTest 155 end - it "165 events fire inside SVG content in contentEditable " do - doSingleTest 165 + it "161 events fire inside editable SVG content " do + doSingleTest 161 end - it "171 types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard " do - doSingleTest 171 + it "167 events fire inside SVG content in contentEditable " do + doSingleTest 167 end - it "172 setData() method does not throw when implementation does not know the type " do - doSingleTest 172 + it "173 types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard " do + doSingleTest 173 end - it "174 setData() method with text/html (experimental) " do + it "174 setData() method does not throw when implementation does not know the type " do doSingleTest 174 end - it "176 clearData() method is noop in paste event " do + it "176 setData() method with text/html (experimental) " do doSingleTest 176 end - it "177 clearData() method without preventing events's default action " do - doSingleTest 177 + it "178 clearData() method is noop in paste event " do + doSingleTest 178 + end + + it "179 clearData() method without preventing events's default action " do + doSingleTest 179 end end From ec7637c92d9df5257ed83ad984bd47bd05d235f0 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Wed, 22 Jul 2015 19:26:18 +0200 Subject: [PATCH 07/42] renaming some test because file names were too long, adding some new --- ...nt_affects_clipboard_copy_on_document.html | 53 +++++++++++++++++++ ...ent_affects_clipboard_cut_on_document.html | 53 +++++++++++++++++++ ...fault_action_copy_on_ifrcontentwindow.html | 2 +- ...efault_action_cut_on_ifrcontentwindow.html | 2 +- ...yncronous_copy_on_iframecontentwindow.html | 4 +- ...syncronous_cut_on_iframecontentwindow.html | 4 +- ...ncronous_paste_on_iframecontentwindow.html | 4 +- clipboard-apis/testlist.rb | 4 +- ...xt_on_the_clipboard_paste_on_document.html | 38 +++++++++++++ 9 files changed, 154 insertions(+), 10 deletions(-) create mode 100644 clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html create mode 100644 clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html create mode 100644 clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html new file mode 100644 index 00000000000000..d790deecac6631 --- /dev/null +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html @@ -0,0 +1,53 @@ + + + + ClipboardEvent - ClipboardEvent interface - execCommand() inside trusted event affects clipboard - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html new file mode 100644 index 00000000000000..b2ed6edddfbfa1 --- /dev/null +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html @@ -0,0 +1,53 @@ + + + + ClipboardEvent - ClipboardEvent interface - execCommand() inside trusted event affects clipboard - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index bd2a3e0fe61416..23c151bfb1acad 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -32,7 +32,7 @@ doc.execCommand(window.eventType, false, false); // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 64e74baf36faaf..410f2d5575e803 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -32,7 +32,7 @@ doc.execCommand(window.eventType, false, false); // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index 85893170860d42..a76253278299b3 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -35,10 +35,10 @@ var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 76cdf836ed8b95..1afbb232c0c1d3 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -35,10 +35,10 @@ var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index a1c07a582db602..612c22be357ee5 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -35,10 +35,10 @@ var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/testlist.rb b/clipboard-apis/testlist.rb index 91895a02c083dd..c92b7db6392acf 100644 --- a/clipboard-apis/testlist.rb +++ b/clipboard-apis/testlist.rb @@ -233,7 +233,7 @@ doSingleTest 110 end - it "112 ClipboardEvent interface - events triggered from document.execCommand() inside trusted events do affect system clipboard " do + it "112 ClipboardEvent interface - execCommand() inside trusted event affects clipboard " do doSingleTest 112 end @@ -341,7 +341,7 @@ doSingleTest 167 end - it "173 types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard " do + it "173 types property - 'text/plain' in .types entries when there is plain text on the clipboard " do doSingleTest 173 end diff --git a/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html new file mode 100644 index 00000000000000..d17be2dd4446e4 --- /dev/null +++ b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - types property - 'text/plain' in .types entries when there is plain text on the clipboard - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + From c9465e848ca9a07f8fd5ac1479b822b1ddd8213b Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Wed, 22 Jul 2015 20:06:57 +0200 Subject: [PATCH 08/42] Whitespace fixes and other stuff to make Travis happy --- ...lt_action_basic_test_copy_on_document.html | 2 +- ...t_action_basic_test_copy_on_inputtext.html | 2 +- ...ult_action_basic_test_cut_on_document.html | 2 +- ...lt_action_basic_test_cut_on_inputtext.html | 2 +- ...from_editable_context_cut_on_document.html | 6 +-- ...rom_editable_context_cut_on_inputtext.html | 6 +-- ...event_handler_method_copy_on_document.html | 8 +-- ..._event_handler_method_cut_on_document.html | 8 +-- ...vent_handler_method_paste_on_document.html | 8 +-- ...n_same_event_handler_copy_on_document.html | 6 +-- ...in_same_event_handler_cut_on_document.html | 6 +-- ...noop_in_paste_event_paste_on_document.html | 4 +- ...entss_default_action_copy_on_document.html | 6 +-- ...ventss_default_action_cut_on_document.html | 6 +-- ...ts_clipboarddata_api_copy_on_document.html | 12 ++--- ...nts_clipboarddata_api_cut_on_document.html | 12 ++--- ...s_clipboarddata_api_paste_on_document.html | 12 ++--- ...ative_to_key_events_copy_on_inputtext.html | 2 +- ...lative_to_key_events_cut_on_inputtext.html | 2 +- ...tive_to_key_events_paste_on_inputtext.html | 2 +- ...ts_clipboard_events_copy_on_inputtext.html | 10 ++-- ...nts_clipboard_events_cut_on_inputtext.html | 10 ++-- ...s_clipboard_events_paste_on_inputtext.html | 10 ++-- ...o_other_input_events_cut_on_inputtext.html | 2 +- ...other_input_events_paste_on_inputtext.html | 2 +- ...leardata_and_setdata_copy_on_document.html | 2 +- ...cleardata_and_setdata_cut_on_document.html | 2 +- ...gle_textplain_entry_paste_on_document.html | 8 +-- ...cii_data_i_japanese_copy_on_inputtext.html | 4 +- ...scii_data_i_japanese_cut_on_inputtext.html | 4 +- ...ii_data_i_japanese_paste_on_inputtext.html | 4 +- ...dom_unicode_symbols_copy_on_inputtext.html | 8 +-- ...ndom_unicode_symbols_cut_on_inputtext.html | 8 +-- ...events_fire_on_input_copy_on_document.html | 6 +-- ...vents_fire_on_input_copy_on_inputtext.html | 6 +-- ..._events_fire_on_input_cut_on_document.html | 6 +-- ...events_fire_on_input_cut_on_inputtext.html | 6 +-- ...nts_fire_on_textarea_copy_on_document.html | 6 +-- ...ts_fire_on_textarea_copy_on_inputtext.html | 6 +-- ...ents_fire_on_textarea_cut_on_document.html | 6 +-- ...nts_fire_on_textarea_cut_on_inputtext.html | 6 +-- ...ect_system_clipboard_copy_on_document.html | 53 ------------------- ...fect_system_clipboard_cut_on_document.html | 53 ------------------- ...nt_affects_clipboard_copy_on_document.html | 26 ++++----- ...ent_affects_clipboard_cut_on_document.html | 26 ++++----- ...ect_system_clipboard_copy_on_document.html | 24 ++++----- ...fect_system_clipboard_cut_on_document.html | 24 ++++----- ...rdevent_constructor_paste_on_document.html | 16 +++--- ...nstandard_mime_type_paste_on_document.html | 16 +++--- ...enteditable_element_paste_on_document.html | 28 +++++----- ...oad_data_into_input_paste_on_document.html | 20 +++---- ..._data_into_textarea_paste_on_document.html | 20 +++---- ...enteditable_element_paste_on_document.html | 28 +++++----- ...oad_data_into_input_paste_on_document.html | 20 +++---- ...not_modify_selection_copy_on_document.html | 2 +- ...ot_modify_selection_copy_on_inputtext.html | 2 +- ..._script_uses_setdata_copy_on_document.html | 4 +- ...d_script_uses_setdata_cut_on_document.html | 4 +- ...ispatch_other_events_copy_on_document.html | 2 +- ...spatch_other_events_copy_on_inputtext.html | 2 +- ...ction_no_text_change_copy_on_document.html | 12 ++--- ...that_modifies_focus_copy_on_inputtext.html | 2 +- ..._that_modifies_focus_cut_on_inputtext.html | 2 +- ...hat_modifies_focus_paste_on_inputtext.html | 2 +- ...t_modifies_selection_copy_on_document.html | 2 +- ...no_text_node_inside_paste_on_document.html | 4 +- ...no_text_node_inside_paste_on_inputimg.html | 4 +- ...ic_element_has_focus_copy_on_document.html | 4 +- ...fic_element_has_focus_cut_on_document.html | 4 +- ...c_element_has_focus_paste_on_document.html | 4 +- ...tion_spans_several_elements_copy_on_a.html | 8 +-- ...tion_spans_several_elements_copy_on_b.html | 8 +-- ...ans_several_elements_copy_on_document.html | 8 +-- ...ction_spans_several_elements_cut_on_a.html | 8 +-- ...ction_spans_several_elements_cut_on_b.html | 8 +-- ...pans_several_elements_cut_on_document.html | 8 +-- ...ion_spans_several_elements_paste_on_a.html | 8 +-- ...ion_spans_several_elements_paste_on_b.html | 8 +-- ...ns_several_elements_paste_on_document.html | 8 +-- ...elements_reversed_selection_copy_on_a.html | 8 +-- ...elements_reversed_selection_copy_on_b.html | 8 +-- ...s_reversed_selection_copy_on_document.html | 8 +-- ..._elements_reversed_selection_cut_on_a.html | 8 +-- ..._elements_reversed_selection_cut_on_b.html | 8 +-- ...ts_reversed_selection_cut_on_document.html | 8 +-- ...lements_reversed_selection_paste_on_a.html | 8 +-- ...lements_reversed_selection_paste_on_b.html | 8 +-- ..._reversed_selection_paste_on_document.html | 8 +-- ...ts_from_datatransfer_copy_on_document.html | 4 +- ...its_from_datatransfer_cut_on_document.html | 4 +- ...s_from_datatransfer_paste_on_document.html | 4 +- ...editable_svg_content_copy_on_document.html | 8 +-- ..._editable_svg_content_copy_on_svgtext.html | 8 +-- ..._editable_svg_content_cut_on_document.html | 8 +-- ...e_editable_svg_content_cut_on_svgtext.html | 8 +-- ...ditable_svg_content_paste_on_document.html | 8 +-- ...editable_svg_content_paste_on_svgtext.html | 8 +-- ...e_inside_svg_content_copy_on_document.html | 8 +-- ...re_inside_svg_content_copy_on_svgtext.html | 8 +-- ...re_inside_svg_content_cut_on_document.html | 8 +-- ...ire_inside_svg_content_cut_on_svgtext.html | 8 +-- ...t_in_contenteditable_copy_on_document.html | 8 +-- ...nt_in_contenteditable_copy_on_svgtext.html | 8 +-- ...nt_in_contenteditable_cut_on_document.html | 8 +-- ...ent_in_contenteditable_cut_on_svgtext.html | 8 +-- ..._in_contenteditable_paste_on_document.html | 8 +-- ...t_in_contenteditable_paste_on_svgtext.html | 8 +-- ..._inside_svg_content_paste_on_document.html | 8 +-- ...e_inside_svg_content_paste_on_svgtext.html | 8 +-- ...vents_fire_on_input_paste_on_document.html | 6 +-- ...ents_fire_on_input_paste_on_inputtext.html | 6 +-- ...ts_fire_on_textarea_paste_on_document.html | 6 +-- ...s_fire_on_textarea_paste_on_inputtext.html | 6 +-- ...turn_an_empty_string_copy_on_document.html | 10 ++-- ...eturn_an_empty_string_cut_on_document.html | 10 ++-- ...trieving_plain_text_paste_on_document.html | 10 ++-- ...egacy_text_argument_paste_on_document.html | 12 ++--- ...urn_an_empty_string_paste_on_document.html | 10 ++-- ...urn_an_empty_string_paste_on_document.html | 10 ++-- ...number_of_arguments_paste_on_document.html | 20 +++---- ..._not_case_sensitive_paste_on_document.html | 18 +++---- ...gle_textplain_entry_paste_on_document.html | 6 +-- ...fault_action_copy_on_ifrcontentwindow.html | 30 +++++------ ...efault_action_cut_on_ifrcontentwindow.html | 30 +++++------ ...ault_action_paste_on_ifrcontentwindow.html | 28 +++++----- ...yncronous_copy_on_iframecontentwindow.html | 32 +++++------ ...syncronous_cut_on_iframecontentwindow.html | 32 +++++------ ...ncronous_paste_on_iframecontentwindow.html | 32 +++++------ ...event_handler_method_copy_on_document.html | 8 +-- ..._event_handler_method_cut_on_document.html | 8 +-- ...vent_handler_method_paste_on_document.html | 8 +-- ...ntext_with_selection_copy_on_document.html | 2 +- ...ontext_with_selection_cut_on_document.html | 2 +- ...n_noneditable_context_cut_on_document.html | 4 +- ...re_data_is_inserted_paste_on_document.html | 4 +- ...e_data_is_inserted_paste_on_inputtext.html | 4 +- ...noneditable_context_paste_on_document.html | 4 +- ...ile_of_unknown_type_paste_on_document.html | 8 +-- .../pasting_a_file_paste_on_document.html | 6 +-- ...ting_default_action_paste_on_document.html | 4 +- ...ing_default_action_paste_on_inputtext.html | 4 +- ...from_looping_script_paste_on_document.html | 30 +++++------ ...d_clipboarddataitems_copy_on_document.html | 10 ++-- ...nd_clipboarddataitems_cut_on_document.html | 10 ++-- ...event_handler_method_copy_on_document.html | 8 +-- ..._event_handler_method_cut_on_document.html | 8 +-- ...vent_handler_method_paste_on_document.html | 8 +-- ...ed_in_a_paste_event_paste_on_document.html | 10 ++-- ...from_a_paste_event_paste_on_inputtext.html | 6 +-- ...n_same_event_handler_copy_on_document.html | 6 +-- ...in_same_event_handler_cut_on_document.html | 6 +-- ...efault_action_is_noop_cut_on_document.html | 2 +- .../setdata_method_copy_on_document.html | 6 +-- .../setdata_method_cut_on_document.html | 6 +-- ...es_not_know_the_type_copy_on_document.html | 16 +++--- ...oes_not_know_the_type_cut_on_document.html | 16 +++--- ...exthtml_experimental_copy_on_document.html | 8 +-- ...texthtml_experimental_cut_on_document.html | 8 +-- ...entss_default_action_copy_on_document.html | 10 ++-- ...ventss_default_action_cut_on_document.html | 10 ++-- ...xt_on_the_clipboard_paste_on_document.html | 38 ------------- ...xt_on_the_clipboard_paste_on_document.html | 14 ++--- 162 files changed, 709 insertions(+), 853 deletions(-) delete mode 100644 clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html delete mode 100644 clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html delete mode 100644 clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html index 260cacb81e1053..f3ffa5c383066b 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html index 5480ffb0fc7e4b..ddaa259f110904 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html index 11ccfa24ea24da..d367b372008a00 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html index 905da9a833fe12..15573090f3af37 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html index d55560db47873d..1559c2d9eb5992 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); + e.preventDefault(); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); } diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html index 1fe9ba269296cf..079015abe721e1 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); + e.preventDefault(); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index 1adba34bdffb0f..b640d2640bd2df 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.clearData(); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.clearData(); + }, 1 ); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index c0b36cdf48c852..394fc511933a06 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.clearData(); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.clearData(); + }, 1 ); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index 916980c49c683d..d7158d68ce1867 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.clearData(); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.clearData(); + }, 1 ); } diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html index dd6d25f892de34..7d667849675d18 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData( 'text/plain' ); - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.preventDefault(); + e.clipboardData.clearData( 'text/plain' ); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html index e9953ba247836c..15a87450c6f50a 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData( 'text/plain' ); - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.preventDefault(); + e.clipboardData.clearData( 'text/plain' ); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html index 24960ca0205785..0beb419fe664e5 100644 --- a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html +++ b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html @@ -11,8 +11,8 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.clipboardData.clearData(); - e.preventDefault(); + e.clipboardData.clearData(); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html index 7b500abbef434a..6452d59949aaaf 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -11,9 +11,9 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.clearData(); - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + e.clipboardData.clearData(); + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html index 0b303a4d4f564b..95e9c0fc179d1e 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -11,9 +11,9 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.clearData(); - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + e.clipboardData.clearData(); + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html index f4057297d9c19d..6c726c5a52b003 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html @@ -9,12 +9,12 @@ /** Clipboard event's clipboardData API */ /* Events: cut copy paste */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object'; - passed = passed && typeof e.clipboardData.clearData === 'function'; - passed = passed && typeof e.clipboardData.setData === 'function'; - passed = passed && typeof e.clipboardData.getData === 'function'; - passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... - return passed; + var passed = typeof e.clipboardData === 'object'; + passed = passed && typeof e.clipboardData.clearData === 'function'; + passed = passed && typeof e.clipboardData.setData === 'function'; + passed = passed && typeof e.clipboardData.getData === 'function'; + passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... + return passed; } diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html index 7a7768b110c5f5..f8eea91ebe5523 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html @@ -9,12 +9,12 @@ /** Clipboard event's clipboardData API */ /* Events: cut copy paste */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object'; - passed = passed && typeof e.clipboardData.clearData === 'function'; - passed = passed && typeof e.clipboardData.setData === 'function'; - passed = passed && typeof e.clipboardData.getData === 'function'; - passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... - return passed; + var passed = typeof e.clipboardData === 'object'; + passed = passed && typeof e.clipboardData.clearData === 'function'; + passed = passed && typeof e.clipboardData.setData === 'function'; + passed = passed && typeof e.clipboardData.getData === 'function'; + passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... + return passed; } diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html index df2b8549de6239..b833a517e5715a 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html @@ -9,12 +9,12 @@ /** Clipboard event's clipboardData API */ /* Events: cut copy paste */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object'; - passed = passed && typeof e.clipboardData.clearData === 'function'; - passed = passed && typeof e.clipboardData.setData === 'function'; - passed = passed && typeof e.clipboardData.getData === 'function'; - passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... - return passed; + var passed = typeof e.clipboardData === 'object'; + passed = passed && typeof e.clipboardData.clearData === 'function'; + passed = passed && typeof e.clipboardData.setData === 'function'; + passed = passed && typeof e.clipboardData.getData === 'function'; + passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... + return passed; } diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html index 1b596d64cdc3d0..e82ca693cb1b19 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html @@ -21,7 +21,7 @@ function clipboard_api_test(e){ logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html index 324734a13eb4c7..241e4dc21a843f 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html @@ -21,7 +21,7 @@ function clipboard_api_test(e){ logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html index d3cb36bfe858b1..d76979912e9015 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html @@ -21,7 +21,7 @@ function clipboard_api_test(e){ logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html index 8e055472461ee9..36b9db06c6d9e7 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html @@ -13,8 +13,8 @@ var eventsFired=[], timeout; function logEvent(e){ - eventsFired.push(e.type); - if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here + eventsFired.push(e.type); + if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here }; document.addEventListener('DOMContentLoaded', function(){ document.getElementById('input_text').addEventListener( 'keydown', logEvent, false ); @@ -25,12 +25,12 @@ document.getElementById('input_text').addEventListener( 'paste', logEvent, false ); },false); document.onkeyup = function(){ - if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + if(timeout)clearTimeout(timeout); + setTimeout(test, 500); } function clipboard_api_test(e){ if(e)logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html index 00190161afd972..a2a5b220b73f2b 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html @@ -13,8 +13,8 @@ var eventsFired=[], timeout; function logEvent(e){ - eventsFired.push(e.type); - if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here + eventsFired.push(e.type); + if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here }; document.addEventListener('DOMContentLoaded', function(){ document.getElementById('input_text').addEventListener( 'keydown', logEvent, false ); @@ -25,12 +25,12 @@ document.getElementById('input_text').addEventListener( 'paste', logEvent, false ); },false); document.onkeyup = function(){ - if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + if(timeout)clearTimeout(timeout); + setTimeout(test, 500); } function clipboard_api_test(e){ if(e)logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html index 428fd342301e7e..c57d0c24443f2e 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html @@ -13,8 +13,8 @@ var eventsFired=[], timeout; function logEvent(e){ - eventsFired.push(e.type); - if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here + eventsFired.push(e.type); + if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here }; document.addEventListener('DOMContentLoaded', function(){ document.getElementById('input_text').addEventListener( 'keydown', logEvent, false ); @@ -25,12 +25,12 @@ document.getElementById('input_text').addEventListener( 'paste', logEvent, false ); },false); document.onkeyup = function(){ - if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + if(timeout)clearTimeout(timeout); + setTimeout(test, 500); } function clipboard_api_test(e){ if(e)logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html index c95ae2ff1d7ba7..f3549d7ab50276 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html @@ -26,7 +26,7 @@ e.target.blur(); // causes change event e.target.form.checkValidity(); // causes invalid event }, 10); - setTimeout(function(){ + setTimeout(function(){ var evString = eventsFired.join(',') var passed = evString === 'cut,cut handler done,input,change,invalid'; // Issue: should textInput fire? Chrome doesn't but I don't know if it's on purpose result( passed, 'Got: '+evString ); diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html index a324ac0c91c0f9..ad9eee5d4f47f9 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html @@ -27,7 +27,7 @@ e.target.blur(); // causes change event e.target.form.checkValidity(); // causes invalid event }, 10); - setTimeout(function(){ + setTimeout(function(){ var evString = eventsFired.join(',') var passed = evString ==='paste,paste handler done,textInput,input,change' || evString ==='paste,paste handler done,input,change' ; result( passed, 'Got: '+evString ); diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html index 31e4e1f033dde5..997aec914c4e6f 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html @@ -12,7 +12,7 @@ /* Targets: document */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData(); + e.clipboardData.clearData(); e.clipboardData.setData('text/plain', 'modified text'); e.preventDefault(); } diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html index e9854c6cc79c26..1a2755046dbd2b 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html @@ -12,7 +12,7 @@ /* Targets: document */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData(); + e.clipboardData.clearData(); e.clipboardData.setData('text/plain', 'modified text'); e.preventDefault(); } diff --git a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index daf71cad1d5548..5fa50169a293de 100644 --- a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -11,10 +11,10 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; - return passed; + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; + passed = passed && e.isTrusted; + return passed; } diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html index 0b269ded724039..d6417e77a40abc 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html @@ -13,8 +13,8 @@ /* External pass condition - clipboard data: "テスト" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'テスト' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'テスト' ); + e.preventDefault(); } diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html index a4cf9617b60682..2a306c875c0878 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html @@ -13,8 +13,8 @@ /* External pass condition - clipboard data: "テスト" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'テスト' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'テスト' ); + e.preventDefault(); } diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html index 59d408c873e06a..62bbd49b0bc4e6 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html @@ -13,8 +13,8 @@ /* paste data: "テスト" */ function clipboard_api_test(e){ - var passed = e.clipboardData.getData( 'text/plain') === 'テスト' ; - return passed; + var passed = e.clipboardData.getData( 'text/plain') === 'テスト' ; + return passed; } diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html index eea9ff7cfa7801..27cd3f11e22d96 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html @@ -8,13 +8,13 @@ @@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-
+
@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-
+
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html index a20663330d6dd5..6a82fdc4d2b02c 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html index bddcfdec0bef70..6d3fb2f7327018 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html index 45abcf8a096ff3..4cc5ab3c7d9908 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html index eecab6d807b46b..ccb37d80004e32 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html index 238a9c2ebf86d6..47df39c13582e1 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html index 428f2cb93465e5..7de608b3c5c5a5 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html index 29d7b2b8ce2a2b..e2aab188c56f91 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html deleted file mode 100644 index 6a70618c9bc362..00000000000000 --- a/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - events triggered from document.execCommand() inside trusted events do affect system clipboard - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html deleted file mode 100644 index 37cf3ef93c4573..00000000000000 --- a/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - events triggered from document.execCommand() inside trusted events do affect system clipboard - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html index d790deecac6631..2d80a692246be1 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html @@ -11,27 +11,27 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'modified text'); - e.preventDefault(); + e.clipboardData.setData('text/plain', 'modified text'); + e.preventDefault(); } function triggerTestManually(type){ - try{ + try{ if(window.eventType === 'cut'){ document.body.contentEditable = 'true'; } - /* make a selection to check if selected text is copied */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.execCommand(type); - window.getSelection().removeAllRanges(); + /* make a selection to check if selected text is copied */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.execCommand(type); + window.getSelection().removeAllRanges(); if(window.eventType ==='cut'){ document.body.contentEditable='false'; } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html index b2ed6edddfbfa1..e5f9edac33f263 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html @@ -11,27 +11,27 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'modified text'); - e.preventDefault(); + e.clipboardData.setData('text/plain', 'modified text'); + e.preventDefault(); } function triggerTestManually(type){ - try{ + try{ if(window.eventType === 'cut'){ document.body.contentEditable = 'true'; } - /* make a selection to check if selected text is copied */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.execCommand(type); - window.getSelection().removeAllRanges(); + /* make a selection to check if selected text is copied */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.execCommand(type); + window.getSelection().removeAllRanges(); if(window.eventType ==='cut'){ document.body.contentEditable='false'; } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 09b35db15e2b0d..5f3b73ee42f107 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -14,24 +14,24 @@ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + try{ + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); if(type === 'cut'){ document.body.contentEditable='true'; } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); if(type === 'cut'){ document.body.contentEditable = 'false'; } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index a732cf3c8f556c..92ca13e371e339 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -14,24 +14,24 @@ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + try{ + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); if(type === 'cut'){ document.body.contentEditable='true'; } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); if(type === 'cut'){ document.body.contentEditable = 'false'; } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index 164425a2acc84d..0226885ebc8a19 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -10,16 +10,16 @@ /* Events: paste */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - return e.clipboardData.getData('text/plain')=='synthetic event text'; + return e.clipboardData.getData('text/plain')=='synthetic event text'; } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.dispatchEvent(evt); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.dispatchEvent(evt); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index f1f7cd26bbde7a..5383b8d7c33bc0 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -10,17 +10,17 @@ /* Events: paste */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - return e.clipboardData.getData('text/foobarbogustype')=='synthetic event text'; + return e.clipboardData.getData('text/foobarbogustype')=='synthetic event text'; } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', {bubbles:true, cancelable:true, dataType: 'text/foobarbogustype', data:'synthetic event text'} ); - document.dispatchEvent(evt); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', {bubbles:true, cancelable:true, dataType: 'text/foobarbogustype', data:'synthetic event text'} ); + document.dispatchEvent(evt); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index f9bde96d709026..bbb8484a9f57e2 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -13,20 +13,20 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' } ); - document.getElementById('editable').dispatchEvent(evt); - setTimeout( function(){ - try{ - result(document.getElementById('editable').getElementsByTagName('em').length == 0); - }catch(e){ - result('Unexpected exception when looking for inserted HTML data: '+e); - } - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' } ); + document.getElementById('editable').dispatchEvent(evt); + setTimeout( function(){ + try{ + result(document.getElementById('editable').getElementsByTagName('em').length == 0); + }catch(e){ + result('Unexpected exception when looking for inserted HTML data: '+e); + } + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html index d158ba1c879a50..b97fe21f2c55fa 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html @@ -13,16 +13,16 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html index 0c7ef49ce743e7..20fb67cc68300e 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html @@ -13,16 +13,16 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - try{ - var evt=new ClipboardEvent( type, { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementsByTagName('textarea')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( type, { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('textarea')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html index 3c3528b9e099d2..9597aa28509302 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html @@ -13,20 +13,20 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementById('editable').dispatchEvent(evt); - setTimeout( function(){ - try{ - result(document.getElementById('editable').textContent.indexOf( 'synthetic event text' )===-1); - }catch(e){ - result('Unexpected exception when looking for inserted HTML data: '+e); - } - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementById('editable').dispatchEvent(evt); + setTimeout( function(){ + try{ + result(document.getElementById('editable').textContent.indexOf( 'synthetic event text' )===-1); + }catch(e){ + result('Unexpected exception when looking for inserted HTML data: '+e); + } + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html index 343b032179ae0e..60d64581ec4d1f 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html @@ -13,16 +13,16 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(type, { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' }); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout(function(){ - result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); - }, 50); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt = new ClipboardEvent(type, { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' }); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout(function(){ + result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); + }, 50); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html index 907cc2dbe03982..e7f7dfc365c102 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html @@ -11,7 +11,7 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - setTimeout(function(){ + setTimeout(function(){ /* what is the "most standardised" way to test this? */ var passed = document.activeElement == document.getElementById('input_text') ; passed = passed && document.activeElement.selectionStart == 0 && document.activeElement.selectionEnd == document.activeElement.value.length; diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html index 42152842251a4a..56c2cb581883d0 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html @@ -11,7 +11,7 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - setTimeout(function(){ + setTimeout(function(){ /* what is the "most standardised" way to test this? */ var passed = document.activeElement == document.getElementById('input_text') ; passed = passed && document.activeElement.selectionStart == 0 && document.activeElement.selectionEnd == document.activeElement.value.length; diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html index 6deba44d03789a..824789288ed569 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html @@ -15,8 +15,8 @@ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ e.clipboardData.setData('text/plain', 'modified text'); - /* The default action is to do nothing (because there is no selection). - * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ + /* The default action is to do nothing (because there is no selection). + * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ e.preventDefault(); } diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html index ca3bea64a4f858..04215bfe826048 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html @@ -15,8 +15,8 @@ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ e.clipboardData.setData('text/plain', 'modified text'); - /* The default action is to do nothing (because there is no selection). - * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ + /* The default action is to do nothing (because there is no selection). + * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ e.preventDefault(); } diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html index 9567bc36608320..a8219bb2f92ebd 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html @@ -14,7 +14,7 @@ var otherEventsFired=[]; var events=[ 'input', 'textInput', 'change' ]; for( var i=0,ev; ev=events[i];i++ )e.currentTarget.addEventListener(ev, function(e){ otherEventsFired.push(e.type); }, false); - setTimeout(function(){ + setTimeout(function(){ var passed = otherEventsFired.length===0; result(passed); }, 50); diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html index 691bccbd1abb87..e67fc3a5c1e599 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html @@ -14,7 +14,7 @@ var otherEventsFired=[]; var events=[ 'input', 'textInput', 'change' ]; for( var i=0,ev; ev=events[i];i++ )e.currentTarget.addEventListener(ev, function(e){ otherEventsFired.push(e.type); }, false); - setTimeout(function(){ + setTimeout(function(){ var passed = otherEventsFired.length===0; result(passed); }, 50); diff --git a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html index 3220340481de09..c67a46ed2e3827 100644 --- a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html +++ b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html @@ -12,13 +12,13 @@ /* Targets: document */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - var elm=e.target; + var elm=e.target; setTimeout( - function(){ - result(elm.value===elm.defaultValue); - }, - 50 - ); + function(){ + result(elm.value===elm.defaultValue); + }, + 50 + ); } diff --git a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html index 7101c85f88b316..06d85360ca48b0 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "input 2" */ function clipboard_api_test(e){ - document.getElementById('second').focus(); + document.getElementById('second').focus(); } diff --git a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html index aba7d4a2d52159..c531c639efee9d 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "input 2" */ function clipboard_api_test(e){ - document.getElementById('second').focus(); + document.getElementById('second').focus(); } diff --git a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html index 675c8ad533d0f9..3a8fbd919c7dac 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - document.getElementById('second').focus(); + document.getElementById('second').focus(); setTimeout( function(){ var passed = document.getElementById('second').value==='clipboard text'; result( passed ); diff --git a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html index 4e6ef55a651bbf..e4e07d8603143f 100644 --- a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html +++ b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "This is demo text" */ function clipboard_api_test(e){ - var range=document.createRange(); + var range=document.createRange(); range.selectNodeContents(document.getElementsByTagName('div')[0]); window.getSelection().removeAllRanges(); window.getSelection().addRange(range); diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html index 1488d46ba3e3ca..7dc84ad62ab187 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html @@ -14,8 +14,8 @@ function clipboard_api_test(e){ if(document.activeElement.id!='input_img')return 'Not testable, input.focus() has not focused the input type=image'; - var passed = e.target.id==='input_img'; - return passed; + var passed = e.target.id==='input_img'; + return passed; } diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html index b26bf23fd936ad..bcf041851e00e6 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html @@ -14,8 +14,8 @@ function clipboard_api_test(e){ if(document.activeElement.id!='input_img')return 'Not testable, input.focus() has not focused the input type=image'; - var passed = e.target.id==='input_img'; - return passed; + var passed = e.target.id==='input_img'; + return passed; } diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html index 68af2fd8b06edd..d8c7ad65324ffc 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html @@ -12,8 +12,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = e.target===document.body; - return passed; + var passed = e.target===document.body; + return passed; } diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html index 399ce36dc7d941..a7c77df6329d77 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html @@ -12,8 +12,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = e.target===document.body; - return passed; + var passed = e.target===document.body; + return passed; } diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html index 246daab730b81a..6e3a8cb4652a57 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html @@ -12,8 +12,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = e.target===document.body; - return passed; + var passed = e.target===document.body; + return passed; } diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html index 2253d69cd2247a..7b78c44fc76aba 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html @@ -8,12 +8,12 @@ @@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html index 566e27a0ed0dd0..de5211e1bf2d8e 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html @@ -11,8 +11,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; - return passed; + var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; + return passed; } diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html index 4369d1b0b3adfa..cdaa7cc09c37a5 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html @@ -11,8 +11,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; - return passed; + var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; + return passed; } diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html index f71b5aa879967e..0129e8986b0a15 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html @@ -8,11 +8,11 @@ @@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html index b0dd204ca2a273..d9693c447beec4 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_document.html b/clipboard-apis/events_fire_on_textarea_paste_on_document.html index 9e626d2a97714d..988fd701b58a5e 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_document.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_document.html @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html index f39beeaefc944a..a9afd8e65139a8 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html index 38da96c3a4d01a..309162339ebe10 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html @@ -9,11 +9,11 @@ /** getData() method in cut and copy events should return an empty string */ /* Events: cut copy */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/plain')==='')passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html index 49631d427d926d..0d715f98c4c683 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html @@ -9,11 +9,11 @@ /** getData() method in cut and copy events should return an empty string */ /* Events: cut copy */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/plain')==='')passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html index 5cdfd948706e15..35044ddd2f5b19 100644 --- a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html +++ b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='pasted text')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/plain')==='pasted text')passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html index d5974e782aa37e..e12682e044fcea 100644 --- a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html +++ b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html @@ -10,12 +10,12 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if( e.clipboardData.getData('text')==='pasted text' - && e.clipboardData.getData('tEXt')==='pasted text' )passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if( e.clipboardData.getData('text')==='pasted text' + && e.clipboardData.getData('tEXt')==='pasted text' )passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html index a63d706617cb6a..d7de5faa50c6fc 100644 --- a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - var passed = cbData.getData('text/plain')===''; - result(passed); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + var passed = cbData.getData('text/plain')===''; + result(passed); + }, 1 ); } diff --git a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html index ce54b6e743367e..0f90a5ee51595e 100644 --- a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/foobarbogustype')==='')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/foobarbogustype')==='')passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index a63b7541a4cf63..d67880e9a9e567 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -10,16 +10,16 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed=true; - try{ - e.clipboardData.getData(); - passed=false; - }catch(e){} - try{ - e.clipboardData.getData( 'text/plain', 'wrong number of arguments' ); - passed=false; - }catch(e){} - return passed; + var passed=true; + try{ + e.clipboardData.getData(); + passed=false; + }catch(e){} + try{ + e.clipboardData.getData( 'text/plain', 'wrong number of arguments' ); + passed=false; + }catch(e){} + return passed; } diff --git a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html index e882266f1a01fe..9c040dba818b20 100644 --- a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html +++ b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html @@ -10,15 +10,15 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if( e.clipboardData.getData('text/PLAIN')==='pasted text' && - e.clipboardData.getData('TEXT/PLAIN')==='pasted text' && - e.clipboardData.getData('Text/Plain')==='pasted text' && - e.clipboardData.getData('TeXt/PlAin')==='pasted text' - )passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if( e.clipboardData.getData('text/PLAIN')==='pasted text' && + e.clipboardData.getData('TEXT/PLAIN')==='pasted text' && + e.clipboardData.getData('Text/Plain')==='pasted text' && + e.clipboardData.getData('TeXt/PlAin')==='pasted text' + )passed=true; + } + return passed; } diff --git a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index 8b92de5c6ce692..34b6b6c0ec73d7 100644 --- a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -11,9 +11,9 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ - e.clipboardData.items[0].getAsString( function(s){ - result( s==='pasted text' ); - } ); + e.clipboardData.items[0].getAsString( function(s){ + result( s==='pasted text' ); + } ); } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index 23c151bfb1acad..e678919ec72574 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -14,26 +14,26 @@ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - ifr.contentDocument.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - doc.body.innerHTML='

This is filler text

'; - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().addRange(range); - try{ - doc.execCommand(window.eventType, false, false); + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + ifr.contentDocument.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + doc.body.innerHTML='

This is filler text

'; + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().addRange(range); + try{ + doc.execCommand(window.eventType, false, false); // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 410f2d5575e803..8a59de64cfc0bf 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -14,26 +14,26 @@ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - ifr.contentDocument.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - doc.body.innerHTML='

This is filler text

'; - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().addRange(range); - try{ - doc.execCommand(window.eventType, false, false); + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + ifr.contentDocument.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + doc.body.innerHTML='

This is filler text

'; + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().addRange(range); + try{ + doc.execCommand(window.eventType, false, false); // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index 52aaa6c54523e2..40facc93fdf809 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -12,22 +12,22 @@ /* Test HTML: */ /* Targets: 'ifr.contentWindow' */ function clipboard_api_test(e){ - window.eventFired=true; - e.preventDefault(); + window.eventFired=true; + e.preventDefault(); } function triggerTestManually(){ - var ifr=document.getElementById('ifr'); - ifr.contentDocument.designMode='on'; - ifr.contentWindow.focus(); - try{ - ifr.contentDocument.execCommand(window.eventType, false, false); - setTimeout(function(){ - var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; - result(passed); - }, 10); - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('ifr'); + ifr.contentDocument.designMode='on'; + ifr.contentWindow.focus(); + try{ + ifr.contentDocument.execCommand(window.eventType, false, false); + setTimeout(function(){ + var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; + result(passed); + }, 10); + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index a76253278299b3..160ac5bafdf3ec 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -12,28 +12,28 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('iframe'), doc; - (doc=ifr.contentDocument).designMode='on'; - doc.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - if(eventType in { copy:1, cut:1 }){ // create a selection - var rng=doc.createRange(); - rng.selectNodeContents(doc.getElementsByTagName('p')[0]); - var sel=ifr.contentWindow.getSelection(); - sel.removeAllRanges(); - sel.addRange(rng); - } + var ifr=document.getElementById('iframe'), doc; + (doc=ifr.contentDocument).designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + if(eventType in { copy:1, cut:1 }){ // create a selection + var rng=doc.createRange(); + rng.selectNodeContents(doc.getElementsByTagName('p')[0]); + var sel=ifr.contentWindow.getSelection(); + sel.removeAllRanges(); + sel.addRange(rng); + } } function triggerTestManually(eventType){ - try{ + try{ var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; + window.afterExecCommand=false; + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; if(!execSucceeded){ result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 1afbb232c0c1d3..257b96c35bcdad 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -12,28 +12,28 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('iframe'), doc; - (doc=ifr.contentDocument).designMode='on'; - doc.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - if(eventType in { copy:1, cut:1 }){ // create a selection - var rng=doc.createRange(); - rng.selectNodeContents(doc.getElementsByTagName('p')[0]); - var sel=ifr.contentWindow.getSelection(); - sel.removeAllRanges(); - sel.addRange(rng); - } + var ifr=document.getElementById('iframe'), doc; + (doc=ifr.contentDocument).designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + if(eventType in { copy:1, cut:1 }){ // create a selection + var rng=doc.createRange(); + rng.selectNodeContents(doc.getElementsByTagName('p')[0]); + var sel=ifr.contentWindow.getSelection(); + sel.removeAllRanges(); + sel.addRange(rng); + } } function triggerTestManually(eventType){ - try{ + try{ var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; + window.afterExecCommand=false; + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; if(!execSucceeded){ result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index 612c22be357ee5..3030bb7c19b144 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -12,28 +12,28 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('iframe'), doc; - (doc=ifr.contentDocument).designMode='on'; - doc.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - if(eventType in { copy:1, cut:1 }){ // create a selection - var rng=doc.createRange(); - rng.selectNodeContents(doc.getElementsByTagName('p')[0]); - var sel=ifr.contentWindow.getSelection(); - sel.removeAllRanges(); - sel.addRange(rng); - } + var ifr=document.getElementById('iframe'), doc; + (doc=ifr.contentDocument).designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + if(eventType in { copy:1, cut:1 }){ // create a selection + var rng=doc.createRange(); + rng.selectNodeContents(doc.getElementsByTagName('p')[0]); + var sel=ifr.contentWindow.getSelection(); + sel.removeAllRanges(); + sel.addRange(rng); + } } function triggerTestManually(eventType){ - try{ + try{ var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; + window.afterExecCommand=false; + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; if(!execSucceeded){ result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html index effdc3c1ba6ae8..572857c858a5e4 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.items.add( 'Test failed', 'text/plain'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.items.add( 'Test failed', 'text/plain'); + }, 1 ); } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index aa1dba387b3f76..92596565cf706b 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.items.add( 'Test failed', 'text/plain'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.items.add( 'Test failed', 'text/plain'); + }, 1 ); } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index 2ee39a3e67a07d..9785cf4d98d487 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.items.add( 'Test failed', 'text/plain'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.items.add( 'Test failed', 'text/plain'); + }, 1 ); } diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html index f9968d00d1fc63..61221d4ba9592f 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "cut text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'cut text'); + e.clipboardData.setData('text/plain', 'cut text'); e.preventDefault(); /* this event's default action is a NOOP since the selection can not be removed. */ } diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html index 0a97a656776c36..169c67b774ce65 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "cut text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'cut text'); + e.clipboardData.setData('text/plain', 'cut text'); e.preventDefault(); /* this event's default action is a NOOP since the selection can not be removed. */ } diff --git a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html index 6e6b98db6bebff..0d6f1e0625e482 100644 --- a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html +++ b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html @@ -12,8 +12,8 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - /* the point of the test is to make sure that the event fires but the clipboard data is not altered */ - /* hence we don't need to to anything here (if the event doesn't fire the test will hang without giving further instructions) */ + /* the point of the test is to make sure that the event fires but the clipboard data is not altered */ + /* hence we don't need to to anything here (if the event doesn't fire the test will hang without giving further instructions) */ } diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html index dbd3a18acacfb3..ec7a20690a9f44 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html @@ -12,8 +12,8 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; - return passed; + var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; + return passed; } diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html index 4b8eda791f9ed5..713f0ca3a18117 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html @@ -12,8 +12,8 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; - return passed; + var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; + return passed; } diff --git a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html index d92ad63f671e1c..bc79fa5cd4cd8d 100644 --- a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html @@ -12,8 +12,8 @@ /* paste data: "pasted text" */ /* Test HTML:

 

*/ function clipboard_api_test(e){ - var passed = e.type === 'paste'; - return passed; + var passed = e.type === 'paste'; + return passed; } diff --git a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html index dab03ea2696749..2363bd2c67a09e 100644 --- a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html @@ -10,13 +10,13 @@ /* Events: paste */ /* paste data: "the file 'support/test'" */ /* Targets: document */ -/* Clipboard data type: file reference: ./support/test */ +/* Clipboard data type: file reference: ./support/test */ /* Test HTML:

To complete this test, copy the "./support/test" file from the OS file manager and paste into this page

*/ function clipboard_api_test(e){ - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='file' && ( /application\/octet-stream/.test(e.clipboardData.items[0].type) ); - return passed; + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='file' && ( /application\/octet-stream/.test(e.clipboardData.items[0].type) ); + return passed; } // TODO: figure out how to automate this test (i.e. find a better cross-platform clipboard library for JRuby..) diff --git a/clipboard-apis/pasting_a_file_paste_on_document.html b/clipboard-apis/pasting_a_file_paste_on_document.html index 83f009ee84e788..d2f8755856492b 100644 --- a/clipboard-apis/pasting_a_file_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_paste_on_document.html @@ -14,9 +14,9 @@ /* Test HTML:

To complete this test, copy the './support/image.jpg' file from the OS file manager and paste into this page

 
diff --git a/clipboard-apis/preventing_default_action_paste_on_inputtext.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html index fa8c06472f34c4..5fd29e1d12c7d6 100644 --- a/clipboard-apis/preventing_default_action_paste_on_inputtext.html +++ b/clipboard-apis/preventing_default_action_paste_on_inputtext.html @@ -13,8 +13,8 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); } diff --git a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html index e11356515007fa..8e724958215b97 100644 --- a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html +++ b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html @@ -12,21 +12,21 @@ /* Targets: document */ function clipboard_api_test(e){ - var last=new Date(),now=new Date(), interval=50, seconds=10; - var start=new Date(); - var text=e.clipboardData.getData( 'text/plain' ), readAgain=''; - document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('Please copy "pasted text 2" to clipboard while the test runs.')); - var logElm=document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('')); - while( now=new Date() ){ - if( now.getTime() - last.getTime() > interval ){ - readAgain=e.clipboardData.getData('text/plain'); - if( readAgain && readAgain !== text )return false; - now=new Date(); - logElm.data='Test will run for '+parseInt( seconds - ((now.getTime() - start.getTime())/1000) )+' more seconds'; - if( (now.getTime() - start.getTime()) > seconds * 1000 )break; - } - } - return true; + var last=new Date(),now=new Date(), interval=50, seconds=10; + var start=new Date(); + var text=e.clipboardData.getData( 'text/plain' ), readAgain=''; + document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('Please copy "pasted text 2" to clipboard while the test runs.')); + var logElm=document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('')); + while( now=new Date() ){ + if( now.getTime() - last.getTime() > interval ){ + readAgain=e.clipboardData.getData('text/plain'); + if( readAgain && readAgain !== text )return false; + now=new Date(); + logElm.data='Test will run for '+parseInt( seconds - ((now.getTime() - start.getTime())/1000) )+' more seconds'; + if( (now.getTime() - start.getTime()) > seconds * 1000 )break; + } + } + return true; } diff --git a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html index 7f1b19386bbddf..d4adef84484e89 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html @@ -10,11 +10,11 @@ /* Events: copy cut */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'modified text'); - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; - return passed; + e.clipboardData.setData('text/plain', 'modified text'); + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; + passed = passed && e.isTrusted; + return passed; } diff --git a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html index a581519ebadeea..bace47be22d7c6 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html @@ -10,11 +10,11 @@ /* Events: copy cut */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'modified text'); - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; - return passed; + e.clipboardData.setData('text/plain', 'modified text'); + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; + passed = passed && e.isTrusted; + return passed; } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index f8da3409c743d9..d8614f1e317e73 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.setData('text/plain', 'Test failed'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.setData('text/plain', 'Test failed'); + }, 1 ); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index b558e3c1a916cf..ebf7018a2cc62f 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.setData('text/plain', 'Test failed'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.setData('text/plain', 'Test failed'); + }, 1 ); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index b2730da403c6ef..4ecec4840a75ea 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.setData('text/plain', 'Test failed'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.setData('text/plain', 'Test failed'); + }, 1 ); } diff --git a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html index 4724707944884b..ed65736f359b1e 100644 --- a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html +++ b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html @@ -11,12 +11,12 @@ /* paste data: "pasted text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - setTimeout(function(){ - var passed=false; + setTimeout(function(){ + var passed=false; passed=e.target.value==='pasted text'; - result(passed); - }, 10); - e.clipboardData.setData('text/plain', 'modified text'); + result(passed); + }, 10); + e.clipboardData.setData('text/plain', 'modified text'); } diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html index 0dad407162d6a8..87f2c0019e6278 100644 --- a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html @@ -14,9 +14,9 @@ /* Targets: 'input_text' */ function clipboard_api_test(e){ - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'modified text'); - } + if(e.clipboardData && e.clipboardData.setData){ + e.clipboardData.setData('text/plain', 'modified text'); + } } diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html index ce743660195beb..c97ad917f1cd79 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.clipboardData.clearData( 'text/plain' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.clipboardData.clearData( 'text/plain' ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html index d4a0b9fb174037..1b94f1261f7b4b 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.clipboardData.clearData( 'text/plain' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.clipboardData.clearData( 'text/plain' ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html index d6f4f233589a30..b36572b46faffd 100644 --- a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html +++ b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html @@ -12,7 +12,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'cut text'); + e.clipboardData.setData('text/plain', 'cut text'); /* NO e.preventDefault() call here. This event's default action is to do nothing since there is no selection. The test verifies that nothing happens to clipboard content. */ } diff --git a/clipboard-apis/setdata_method_copy_on_document.html b/clipboard-apis/setdata_method_copy_on_document.html index cf6a569caec314..171daa9865305f 100644 --- a/clipboard-apis/setdata_method_copy_on_document.html +++ b/clipboard-apis/setdata_method_copy_on_document.html @@ -12,9 +12,9 @@ /* paste data: "pasted text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/plain', 'modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/plain', 'modified text'); + e.preventDefault(); } /* TODO: should this (and similar) tests only work if we have "preflight" events? */ /* diff --git a/clipboard-apis/setdata_method_cut_on_document.html b/clipboard-apis/setdata_method_cut_on_document.html index 08b6f7c93fdf8e..dc05cae115bde6 100644 --- a/clipboard-apis/setdata_method_cut_on_document.html +++ b/clipboard-apis/setdata_method_cut_on_document.html @@ -12,9 +12,9 @@ /* paste data: "pasted text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/plain', 'modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/plain', 'modified text'); + e.preventDefault(); } /* TODO: should this (and similar) tests only work if we have "preflight" events? */ /* diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html index 12a200f6f4bbab..c49f1e2567a842 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html @@ -14,14 +14,14 @@ //TODO: this test asserts a NOOP. // how this SHOULD work is, however, underspecified.. function clipboard_api_test(e){ - var passed = false; - try{ - e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); - e.preventDefault(); - passed=true; - }catch(e){ - } - return passed; + var passed = false; + try{ + e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); + e.preventDefault(); + passed=true; + }catch(e){ + } + return passed; } diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html index 47521b563ec048..0fb8c1a20570fb 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html @@ -14,14 +14,14 @@ //TODO: this test asserts a NOOP. // how this SHOULD work is, however, underspecified.. function clipboard_api_test(e){ - var passed = false; - try{ - e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); - e.preventDefault(); - passed=true; - }catch(e){ - } - return passed; + var passed = false; + try{ + e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); + e.preventDefault(); + passed=true; + }catch(e){ + } + return passed; } diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html index 835ab41384b530..9d16f0adce41ce 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html @@ -24,10 +24,10 @@ Note: IE throws for this test. Presumably it would use just "html", not "text/html" for the format argument if it supported this. */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/html', '

copycut modified text

'); - e.clipboardData.setData('text/plain', 'copycut modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/html', '

copycut modified text

'); + e.clipboardData.setData('text/plain', 'copycut modified text'); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html index 1c9f1914d9c136..971218088643b4 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html @@ -24,10 +24,10 @@ Note: IE throws for this test. Presumably it would use just "html", not "text/html" for the format argument if it supported this. */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/html', '

copycut modified text

'); - e.clipboardData.setData('text/plain', 'copycut modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/html', '

copycut modified text

'); + e.clipboardData.setData('text/plain', 'copycut modified text'); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html index 24cc907eafd64c..6e8500cca4ac1f 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -11,11 +11,11 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'copycutpaste modified text'); - } - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + if(e.clipboardData && e.clipboardData.setData){ + e.clipboardData.setData('text/plain', 'copycutpaste modified text'); + } + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html index 38a4f71b3735b3..e78f781135c6d7 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -11,11 +11,11 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'copycutpaste modified text'); - } - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + if(e.clipboardData && e.clipboardData.setData){ + e.clipboardData.setData('text/plain', 'copycutpaste modified text'); + } + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } diff --git a/clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html b/clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html deleted file mode 100644 index 67109bb43bde3e..00000000000000 --- a/clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - ClipboardEvent - types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html index d17be2dd4446e4..6cc1ea157eb56b 100644 --- a/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html +++ b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html @@ -10,13 +10,13 @@ /* Events: paste */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - var hasTextPlain=false; - if(e.clipboardData.types){ - for(var i=0; i From cad1fb703cb14a4e8516bbced7b6e72af675fa47 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Wed, 22 Jul 2015 20:23:57 +0200 Subject: [PATCH 09/42] and a few more whitespace fixes in helper files --- clipboard-apis/support/TC-generator/tc-gen.py | 81 +++++----- clipboard-apis/support/_lib.js | 142 +++++++++--------- clipboard-apis/support/html_file.htm | 4 +- 3 files changed, 111 insertions(+), 116 deletions(-) diff --git a/clipboard-apis/support/TC-generator/tc-gen.py b/clipboard-apis/support/TC-generator/tc-gen.py index 36c52964bca563..b371612347022f 100644 --- a/clipboard-apis/support/TC-generator/tc-gen.py +++ b/clipboard-apis/support/TC-generator/tc-gen.py @@ -2,14 +2,12 @@ # This script extracts all tests from the spec text and # builds the test suite -import os, re, codecs, sys +import os, re, codecs -if len(sys.argv<3): - print 'Two arguments are required: path to spec (clipops-source.html) and \nthe path to a folder where generated tests should be stored.' - sys.exit() +spec_path = os.path.abspath(os.path.dirname(__file__)+os.sep+'..'+os.sep+'index.html') +tc_path = os.path.abspath(os.path.dirname(__file__)+os.sep+'..'+os.sep+'testsuite')+os.sep -spec_path = sys.argv[1] -tc_path = sys.argv[2] +tc_path = "C:\\mozilla\\web-platform-tests\\clipboard-apis\\" template = u""" @@ -52,51 +50,48 @@ describe "Clipboard events testsuite" do before(:all) do @browser = OperaWatir::Browser.new - $base = 'file://localhost/d:/projects/spec-dev/copy-paste/W3C-repo/clipops/testsuite/' + $base = '/web-platform-tests/clipboard-apis/testsuite/' end %s end """ rubycode="" rbatom = """ - it "%i %s" do - doSingleTest %i - end + it "%i %s" do + doSingleTest %i + end """ for match in re.finditer(r, spec_text): - test_info = {"title":match.groupdict()["title"], "test_javascript_code":match.groupdict()["script"], "data_to_paste":"''", "targets":default_event_target, "external_pass_condition":"null", "test_html":default_test_html} - test_info["test_javascript_code"] = "/** %s */\n%s" % (test_info["title"], test_info["test_javascript_code"]) # add title comment back.. - test_data_map = { "Test HTML":"test_html", "Events":"events", "Targets":"targets", "paste data":"data_to_paste", "External pass condition - clipboard data":"external_pass_condition" } - for name in test_data_map: - value = test_data_map[name] - rx = re.compile(r"\/\*\s*"+name+": (.+?)\*\/", re.S) - try: - test_info[value] = re.search(rx, test_info['test_javascript_code']).group(1) - if name is 'Test HTML' and '<\\/script' in test_info[value]: - test_info[value] = test_info[value].replace('<\\/script', '-1 ){ // for example "myElementID.firstChild" - var tmp=target.split('.'); - target=document.getElementById(tmp[0])[tmp[1]]; - }else{ - target=document.getElementById(target); - } - } - /* */ - if( target.addEventListener ){ - target.addEventListener(event, intermediateListener, false); - }else if(target.attachEvent){ + if( typeof target==='string' ){ + if( target.indexOf('.')>-1 ){ // for example "myElementID.firstChild" + var tmp=target.split('.'); + target=document.getElementById(tmp[0])[tmp[1]]; + }else{ + target=document.getElementById(target); + } + } + /* */ + if( target.addEventListener ){ + target.addEventListener(event, intermediateListener, false); + }else if(target.attachEvent){ target.attachEvent('on'+event, intermediateListener); } - if( dataToPaste || event==='paste' ){ - logNode.data+='Please place this on the clipboard before continuing the test: "'+(dataToPaste || 'clipboard text' )+'"\n'; + if( dataToPaste || event==='paste' ){ + logNode.data+='Please place this on the clipboard before continuing the test: "'+(dataToPaste || 'clipboard text' )+'"\n'; logNode.parentNode.style.whiteSpace='pre'; - if(dataToPaste.indexOf('{')==0){ // sorry about the content sniffing, this is likely a JSON string with alternate clipboard formats - if(dataToPaste.indexOf('text/html')>-1){ - logNode.parentNode.appendChild(document.createElement('br')); - logNode.parentNode.appendChild(document.createTextNode('Note: copy all body text from ')); - var tmp=logNode.parentNode.appendChild(document.createElement('a')); - tmp.href='support/html_file.htm'; - tmp.appendChild(document.createTextNode('this support file')); - logNode.parentNode.appendChild(document.createTextNode(' for this test.')); - } - } - } - if(typeof triggerTestManually==='function'){ - /* Tests that require user interaction define a "triggerTestManually()" function. - These are for example tests that rely on trusted events. */ - logNode.parentNode.appendChild(document.createTextNode(' ')); - var btn=logNode.parentNode.appendChild(document.createElement('button')) - btn.type='button'; - btn.onclick=function(){ - triggerTestManually(event); - btn.parentNode.removeChild(btn); - } - btn.appendChild(document.createTextNode(' Click here to run test: ')); - }else{ - logNode.data+='Test in progress, waiting for '+event+' event'; - } - if(typeof onTestSetupReady==='function'){ - onTestSetupReady(event); - } + if(dataToPaste.indexOf('{')==0){ // sorry about the content sniffing, this is likely a JSON string with alternate clipboard formats + if(dataToPaste.indexOf('text/html')>-1){ + logNode.parentNode.appendChild(document.createElement('br')); + logNode.parentNode.appendChild(document.createTextNode('Note: copy all body text from ')); + var tmp=logNode.parentNode.appendChild(document.createElement('a')); + tmp.href='support/html_file.htm'; + tmp.appendChild(document.createTextNode('this support file')); + logNode.parentNode.appendChild(document.createTextNode(' for this test.')); + } + } + } + if(typeof triggerTestManually==='function'){ + /* Tests that require user interaction define a "triggerTestManually()" function. + These are for example tests that rely on trusted events. */ + logNode.parentNode.appendChild(document.createTextNode(' ')); + var btn=logNode.parentNode.appendChild(document.createElement('button')) + btn.type='button'; + btn.onclick=function(){ + triggerTestManually(event); + btn.parentNode.removeChild(btn); + } + btn.appendChild(document.createTextNode(' Click here to run test: ')); + }else{ + logNode.data+='Test in progress, waiting for '+event+' event'; + } + if(typeof onTestSetupReady==='function'){ + onTestSetupReady(event); + } - function intermediateListener(e){ - e=e||window.event; + function intermediateListener(e){ + e=e||window.event; if(!e.target)e.target=e.srcElement; if(typeof window.clipboardData != 'undefined' && typeof e.clipboardData=='undefined' )e.clipboardData=window.clipboardData; - try{ - var testResult=clipboard_api_test(e); - result(testResult); - }catch(e){ - result('exception: '+e); - } - } + try{ + var testResult=clipboard_api_test(e); + result(testResult); + }catch(e){ + result('exception: '+e); + } + } /* if @autofocus isn't supported.. */ if( document.getElementsByTagName('input').length >1 && document.activeElement == document.body ){ for(var inp, i=0, inputs=document.getElementsByTagName('input');inp=inputs[i];i++){ @@ -68,26 +68,26 @@ function setupTest( target, event, dataToPaste, externalPassCondition ){ } function result(testResult, msg){ - var logNode=document.getElementsByTagName('p')[0].firstChild; - if( testResult === true || testResult === false ){ - t.step(function(){assert_true(testResult)}); - t.done(); - logNode.data= ''; // testResult ? 'PASSED' : 'FAILED'; - }else if( typeof testResult ==='string' ){ - logNode.data=testResult; - }else if( typeof externalPassCondition==='string' ){ - logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; - var btn = document.getElementById('log').appendChild(document.createElement('button')); - btn.onclick = function(){result(true)}; - btn.textContent = 'Passed!'; - btn.type='button'; - btn = document.getElementById('log').appendChild(document.createElement('button')); - btn.onclick = function(){result(false)}; - btn.textContent = 'Failed!'; - btn.type='button'; - } + var logNode=document.getElementsByTagName('p')[0].firstChild; + if( testResult === true || testResult === false ){ + t.step(function(){assert_true(testResult)}); + t.done(); + logNode.data= ''; // testResult ? 'PASSED' : 'FAILED'; + }else if( typeof testResult ==='string' ){ + logNode.data=testResult; + }else if( typeof externalPassCondition==='string' ){ + logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; + var btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(true)}; + btn.textContent = 'Passed!'; + btn.type='button'; + btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(false)}; + btn.textContent = 'Failed!'; + btn.type='button'; + } if( msg )logNode.data+='\n'+msg; - /* another return value - or no return - from test() indicates that it is asyncronous and will call testResult() from a timeout or something */ + /* another return value - or no return - from test() indicates that it is asyncronous and will call testResult() from a timeout or something */ } diff --git a/clipboard-apis/support/html_file.htm b/clipboard-apis/support/html_file.htm index 4e4384e9bb7c64..073b90540232d6 100644 --- a/clipboard-apis/support/html_file.htm +++ b/clipboard-apis/support/html_file.htm @@ -1,7 +1,7 @@ - Copy/paste support file + Copy/paste support file

This is formatted HTML for copy/paste tests.

- \ No newline at end of file + From 0dda6bc2c320a7f6ceabb57474c0109270649c69 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 17:16:01 +0200 Subject: [PATCH 10/42] dropping Ruby file listing test cases and code to generate it - legacy stuff --- clipboard-apis/support/TC-generator/tc-gen.py | 76 ++-- clipboard-apis/testlist.rb | 364 ------------------ 2 files changed, 42 insertions(+), 398 deletions(-) delete mode 100644 clipboard-apis/testlist.rb diff --git a/clipboard-apis/support/TC-generator/tc-gen.py b/clipboard-apis/support/TC-generator/tc-gen.py index b371612347022f..13b3cde1c696b6 100644 --- a/clipboard-apis/support/TC-generator/tc-gen.py +++ b/clipboard-apis/support/TC-generator/tc-gen.py @@ -2,10 +2,13 @@ # This script extracts all tests from the spec text and # builds the test suite -import os, re, codecs +import os +import re +import codecs -spec_path = os.path.abspath(os.path.dirname(__file__)+os.sep+'..'+os.sep+'index.html') -tc_path = os.path.abspath(os.path.dirname(__file__)+os.sep+'..'+os.sep+'testsuite')+os.sep +script_path = os.path.abspath(os.path.dirname(__file__)) +spec_path = os.path.join(script_path, '..', 'index.html') +tc_path = os.path.join(script_path, '..', 'testsuite') + os.sep tc_path = "C:\\mozilla\\web-platform-tests\\clipboard-apis\\" @@ -17,7 +20,7 @@ @@ -27,51 +30,59 @@
""" -default_event_target = 'document' # Note: include quotes in string if passing a string.. -default_test_html = '
' +default_event_target = 'document' # Note: include quotes if passing a string +default_test_html = """
+ +
""" f = codecs.open(spec_path, 'r', 'UTF-8') spec_text = f.read() f.close() r = re.compile('', re.I | re.S) testcounter = 1 -rubytemplate = """ -describe "Clipboard events testsuite" do - before(:all) do - @browser = OperaWatir::Browser.new - $base = '/web-platform-tests/clipboard-apis/testsuite/' - end -%s -end -""" -rubycode="" -rbatom = """ - it "%i %s" do - doSingleTest %i - end -""" + for match in re.finditer(r, spec_text): - test_info = {"title":match.groupdict()["title"], "test_javascript_code":match.groupdict()["script"], "data_to_paste":"''", "targets":default_event_target, "external_pass_condition":"null", "test_html":default_test_html} - test_info["test_javascript_code"] = "/** %s */\n%s" % (test_info["title"], test_info["test_javascript_code"]) # add title comment back.. - test_data_map = { "Test HTML":"test_html", "Events":"events", "Targets":"targets", "paste data":"data_to_paste", "External pass condition - clipboard data":"external_pass_condition" } + test_info = { + "title": match.groupdict()["title"], + "test_js_code": match.groupdict()["script"], + "data_to_paste": "''", + "targets": default_event_target, + "external_pass_condition": "null", + "test_html": default_test_html + } + # add title comment back, it's useful for code review + test_info["test_js_code"] = "/** %s */\n%s" % ( + test_info["title"], + test_info["test_js_code"] + ) + test_data_map = { + "Test HTML": "test_html", + "Events": "events", + "Targets": "targets", + "paste data": "data_to_paste", + "External pass condition - clipboard data": "external_pass_condition" + } for name in test_data_map: value = test_data_map[name] rx = re.compile(r"\/\*\s*"+name+": (.+?)\*\/", re.S) try: - test_info[value] = re.search(rx, test_info['test_javascript_code']).group(1) + test_info[value] = re.search(rx, test_info['test_js_code']).group(1) if name is 'Test HTML' and '<\\/script' in test_info[value]: - test_info[value] = test_info[value].replace('<\\/script', ' Date: Sun, 26 Jul 2015 17:57:23 +0200 Subject: [PATCH 11/42] integrating test setup with testharness.js, addresses https://critic.hoppipolla.co.uk/showcomment?chain=12228 --- ...lt_action_basic_test_copy_on_document.html | 8 ++-- ...t_action_basic_test_copy_on_inputtext.html | 8 ++-- ...ult_action_basic_test_cut_on_document.html | 8 ++-- ...lt_action_basic_test_cut_on_inputtext.html | 8 ++-- ...from_editable_context_cut_on_document.html | 8 ++-- ...rom_editable_context_cut_on_inputtext.html | 8 ++-- ...event_handler_method_copy_on_document.html | 12 +++--- ..._event_handler_method_cut_on_document.html | 12 +++--- ...vent_handler_method_paste_on_document.html | 12 +++--- ...n_same_event_handler_copy_on_document.html | 12 +++--- ...in_same_event_handler_cut_on_document.html | 12 +++--- ...noop_in_paste_event_paste_on_document.html | 12 +++--- ...th_texthtml_argument_copy_on_document.html | 12 +++--- ...ith_texthtml_argument_cut_on_document.html | 12 +++--- ...od_without_arguments_copy_on_document.html | 12 +++--- ...hod_without_arguments_cut_on_document.html | 12 +++--- ...entss_default_action_copy_on_document.html | 8 ++-- ...ventss_default_action_cut_on_document.html | 8 ++-- ...ts_clipboarddata_api_copy_on_document.html | 12 +++--- ...nts_clipboarddata_api_cut_on_document.html | 12 +++--- ...s_clipboarddata_api_paste_on_document.html | 12 +++--- ...ative_to_key_events_copy_on_inputtext.html | 8 ++-- ...lative_to_key_events_cut_on_inputtext.html | 8 ++-- ...tive_to_key_events_paste_on_inputtext.html | 8 ++-- ...ts_clipboard_events_copy_on_inputtext.html | 8 ++-- ...nts_clipboard_events_cut_on_inputtext.html | 8 ++-- ...s_clipboard_events_paste_on_inputtext.html | 8 ++-- ...o_other_input_events_cut_on_inputtext.html | 8 ++-- ...other_input_events_paste_on_inputtext.html | 8 ++-- ...leardata_and_setdata_copy_on_document.html | 8 ++-- ...cleardata_and_setdata_cut_on_document.html | 8 ++-- ...gle_textplain_entry_paste_on_document.html | 12 +++--- ...cii_data_i_japanese_copy_on_inputtext.html | 8 ++-- ...scii_data_i_japanese_cut_on_inputtext.html | 8 ++-- ...ii_data_i_japanese_paste_on_inputtext.html | 8 ++-- ...dom_unicode_symbols_copy_on_inputtext.html | 8 ++-- ...ndom_unicode_symbols_cut_on_inputtext.html | 8 ++-- ...events_fire_on_input_copy_on_document.html | 8 ++-- ...vents_fire_on_input_copy_on_inputtext.html | 8 ++-- ..._events_fire_on_input_cut_on_document.html | 8 ++-- ...events_fire_on_input_cut_on_inputtext.html | 8 ++-- ...nts_fire_on_textarea_copy_on_document.html | 8 ++-- ...ts_fire_on_textarea_copy_on_inputtext.html | 8 ++-- ...ents_fire_on_textarea_cut_on_document.html | 8 ++-- ...nts_fire_on_textarea_cut_on_inputtext.html | 8 ++-- ...nt_affects_clipboard_copy_on_document.html | 39 ++++++++---------- ...ent_affects_clipboard_cut_on_document.html | 39 ++++++++---------- ...ect_system_clipboard_copy_on_document.html | 41 +++++++++---------- ...fect_system_clipboard_cut_on_document.html | 41 +++++++++---------- ...rdevent_constructor_paste_on_document.html | 12 +++--- ...nstandard_mime_type_paste_on_document.html | 12 +++--- ...enteditable_element_paste_on_document.html | 31 ++++++-------- ...oad_data_into_input_paste_on_document.html | 23 ++++------- ..._data_into_textarea_paste_on_document.html | 23 ++++------- ...enteditable_element_paste_on_document.html | 31 ++++++-------- ...oad_data_into_input_paste_on_document.html | 23 ++++------- ...not_modify_selection_copy_on_document.html | 8 ++-- ...ot_modify_selection_copy_on_inputtext.html | 8 ++-- ...y_selection_in_input_copy_on_document.html | 8 ++-- ...ty_selection_in_input_cut_on_document.html | 8 ++-- ..._selection_in_input_paste_on_document.html | 8 ++-- ..._script_uses_setdata_copy_on_document.html | 8 ++-- ...d_script_uses_setdata_cut_on_document.html | 8 ++-- ...ispatch_other_events_copy_on_document.html | 8 ++-- ...spatch_other_events_copy_on_inputtext.html | 8 ++-- ..._collapses_selection_cut_on_inputtext.html | 8 ++-- ...efore_text_is_removed_cut_on_document.html | 8 ++-- ...fore_text_is_removed_cut_on_inputtext.html | 8 ++-- ...ction_no_text_change_copy_on_document.html | 8 ++-- ...no_selection_is_noop_copy_on_document.html | 8 ++-- ..._no_selection_is_noop_cut_on_document.html | 8 ++-- ...that_modifies_focus_copy_on_inputtext.html | 8 ++-- ..._that_modifies_focus_cut_on_inputtext.html | 8 ++-- ...hat_modifies_focus_paste_on_inputtext.html | 8 ++-- ...t_modifies_selection_copy_on_document.html | 8 ++-- ...ion_in_document_text_copy_on_document.html | 8 ++-- ...tion_in_document_text_cut_on_document.html | 8 ++-- ...on_in_document_text_paste_on_document.html | 8 ++-- ...no_text_node_inside_paste_on_document.html | 8 ++-- ...no_text_node_inside_paste_on_inputimg.html | 8 ++-- ...ic_element_has_focus_copy_on_document.html | 8 ++-- ...fic_element_has_focus_cut_on_document.html | 8 ++-- ...c_element_has_focus_paste_on_document.html | 8 ++-- ...tion_spans_several_elements_copy_on_a.html | 8 ++-- ...tion_spans_several_elements_copy_on_b.html | 8 ++-- ...ans_several_elements_copy_on_document.html | 8 ++-- ...ction_spans_several_elements_cut_on_a.html | 8 ++-- ...ction_spans_several_elements_cut_on_b.html | 8 ++-- ...pans_several_elements_cut_on_document.html | 8 ++-- ...ion_spans_several_elements_paste_on_a.html | 8 ++-- ...ion_spans_several_elements_paste_on_b.html | 8 ++-- ...ns_several_elements_paste_on_document.html | 8 ++-- ...elements_reversed_selection_copy_on_a.html | 8 ++-- ...elements_reversed_selection_copy_on_b.html | 8 ++-- ...s_reversed_selection_copy_on_document.html | 8 ++-- ..._elements_reversed_selection_cut_on_a.html | 8 ++-- ..._elements_reversed_selection_cut_on_b.html | 8 ++-- ...ts_reversed_selection_cut_on_document.html | 8 ++-- ...lements_reversed_selection_paste_on_a.html | 8 ++-- ...lements_reversed_selection_paste_on_b.html | 8 ++-- ..._reversed_selection_paste_on_document.html | 8 ++-- ...ts_from_datatransfer_copy_on_document.html | 12 +++--- ...its_from_datatransfer_cut_on_document.html | 12 +++--- ...s_from_datatransfer_paste_on_document.html | 12 +++--- ...editable_svg_content_copy_on_document.html | 8 ++-- ..._editable_svg_content_copy_on_svgtext.html | 8 ++-- ..._editable_svg_content_cut_on_document.html | 8 ++-- ...e_editable_svg_content_cut_on_svgtext.html | 8 ++-- ...ditable_svg_content_paste_on_document.html | 8 ++-- ...editable_svg_content_paste_on_svgtext.html | 8 ++-- ...e_inside_svg_content_copy_on_document.html | 8 ++-- ...re_inside_svg_content_copy_on_svgtext.html | 8 ++-- ...re_inside_svg_content_cut_on_document.html | 8 ++-- ...ire_inside_svg_content_cut_on_svgtext.html | 8 ++-- ...t_in_contenteditable_copy_on_document.html | 8 ++-- ...nt_in_contenteditable_copy_on_svgtext.html | 8 ++-- ...nt_in_contenteditable_cut_on_document.html | 8 ++-- ...ent_in_contenteditable_cut_on_svgtext.html | 8 ++-- ..._in_contenteditable_paste_on_document.html | 8 ++-- ...t_in_contenteditable_paste_on_svgtext.html | 8 ++-- ..._inside_svg_content_paste_on_document.html | 8 ++-- ...e_inside_svg_content_paste_on_svgtext.html | 8 ++-- ...vents_fire_on_input_paste_on_document.html | 8 ++-- ...ents_fire_on_input_paste_on_inputtext.html | 8 ++-- ...ts_fire_on_textarea_paste_on_document.html | 8 ++-- ...s_fire_on_textarea_paste_on_inputtext.html | 8 ++-- ...turn_an_empty_string_copy_on_document.html | 12 +++--- ...eturn_an_empty_string_cut_on_document.html | 12 +++--- ...trieving_plain_text_paste_on_document.html | 12 +++--- ...egacy_text_argument_paste_on_document.html | 12 +++--- ...urn_an_empty_string_paste_on_document.html | 12 +++--- ...urn_an_empty_string_paste_on_document.html | 12 +++--- ...number_of_arguments_paste_on_document.html | 12 +++--- ..._not_case_sensitive_paste_on_document.html | 12 +++--- ...legacy_url_argument_paste_on_document.html | 12 +++--- ...gle_textplain_entry_paste_on_document.html | 12 +++--- ...fault_action_copy_on_ifrcontentwindow.html | 8 ++-- ...efault_action_cut_on_ifrcontentwindow.html | 8 ++-- ...ault_action_paste_on_ifrcontentwindow.html | 8 ++-- ...yncronous_copy_on_iframecontentwindow.html | 8 ++-- ...syncronous_cut_on_iframecontentwindow.html | 8 ++-- ...ncronous_paste_on_iframecontentwindow.html | 8 ++-- ...o_write_to_clipboard_copy_on_document.html | 20 ++++----- ...to_write_to_clipboard_cut_on_document.html | 20 ++++----- ...event_handler_method_copy_on_document.html | 12 +++--- ..._event_handler_method_cut_on_document.html | 12 +++--- ...vent_handler_method_paste_on_document.html | 12 +++--- ...ntext_with_selection_copy_on_document.html | 8 ++-- ...ontext_with_selection_cut_on_document.html | 8 ++-- ...n_noneditable_context_cut_on_document.html | 12 +++--- ...re_data_is_inserted_paste_on_document.html | 8 ++-- ...e_data_is_inserted_paste_on_inputtext.html | 8 ++-- ...noneditable_context_paste_on_document.html | 8 ++-- ...ile_of_unknown_type_paste_on_document.html | 8 ++-- .../pasting_a_file_paste_on_document.html | 8 ++-- ...ting_default_action_paste_on_document.html | 8 ++-- ...ing_default_action_paste_on_inputtext.html | 8 ++-- ...from_looping_script_paste_on_document.html | 12 +++--- ...d_clipboarddataitems_copy_on_document.html | 12 +++--- ...nd_clipboarddataitems_cut_on_document.html | 12 +++--- ...event_handler_method_copy_on_document.html | 12 +++--- ..._event_handler_method_cut_on_document.html | 12 +++--- ...vent_handler_method_paste_on_document.html | 12 +++--- ...ed_in_a_paste_event_paste_on_document.html | 8 ++-- ...from_a_paste_event_paste_on_inputtext.html | 8 ++-- ...n_same_event_handler_copy_on_document.html | 12 +++--- ...in_same_event_handler_cut_on_document.html | 12 +++--- ...efault_action_is_noop_cut_on_document.html | 12 +++--- .../setdata_method_copy_on_document.html | 12 +++--- .../setdata_method_cut_on_document.html | 12 +++--- ...es_not_know_the_type_copy_on_document.html | 8 ++-- ...oes_not_know_the_type_cut_on_document.html | 8 ++-- ...exthtml_experimental_copy_on_document.html | 12 +++--- ...texthtml_experimental_cut_on_document.html | 12 +++--- ...entss_default_action_copy_on_document.html | 8 ++-- ...ventss_default_action_cut_on_document.html | 8 ++-- clipboard-apis/support/TC-generator/tc-gen.py | 6 +-- clipboard-apis/support/_lib.js | 16 +++++--- ...xt_on_the_clipboard_paste_on_document.html | 12 +++--- ...therwise_be_disabled_copy_on_document.html | 8 ++-- ...otherwise_be_disabled_cut_on_document.html | 8 ++-- ...herwise_be_disabled_paste_on_document.html | 8 ++-- 182 files changed, 977 insertions(+), 916 deletions(-) diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html index f3ffa5c383066b..24d29d9936982a 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html index ddaa259f110904..e9fb5569fde84b 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html index d367b372008a00..ade39a8a77cb14 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html index 15573090f3af37..117305d5f5a674 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html index 1559c2d9eb5992..e27e975f62ccfd 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html index 079015abe721e1..69b2075bd68f57 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index b640d2640bd2df..79b9a908fddafa 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index 394fc511933a06..2d7dcaa967617d 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index d7158d68ce1867..1c9e9e456520ba 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html index 7d667849675d18..d9acf800d839e2 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html index 15a87450c6f50a..630e6e57aa4883 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html index 0beb419fe664e5..d06e980dae7dbf 100644 --- a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html +++ b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html index 47a9b8c9878edf..2a146b057ea0ff 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html index ac564ade511ac7..00e00f8d73e2e4 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html index e85846fcd7dde6..2415b5224ff7a0 100644 --- a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html index fb11c0a14aec85..370b20a0b17a6e 100644 --- a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html index 6452d59949aaaf..554b9fb85e15c9 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html index 95e9c0fc179d1e..8721664ba4b752 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html index 6c726c5a52b003..26a90c166969b3 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html index f8eea91ebe5523..5c14f289d23905 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html index b833a517e5715a..6e8675d957d8f1 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html index e82ca693cb1b19..f6f76ae5dc1b62 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html @@ -36,11 +36,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html index 241e4dc21a843f..6bc60943426bcd 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html @@ -36,11 +36,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html index d76979912e9015..4e559e23b267ee 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html @@ -36,11 +36,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html index 36b9db06c6d9e7..ead5b50675e5ba 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html index a2a5b220b73f2b..4a401535145c35 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html index c57d0c24443f2e..ef3874fbbb226f 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html index f3549d7ab50276..9fff3123e504dd 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html @@ -43,11 +43,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html index ad9eee5d4f47f9..58219c3b8def05 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html @@ -44,11 +44,11 @@
diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html index 997aec914c4e6f..e9fe04b98e23e5 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html index 1a2755046dbd2b..3df8a46844efab 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index 5fa50169a293de..6f3394e9621a07 100644 --- a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html index d6417e77a40abc..3306de622210c0 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html index 2a306c875c0878..4b34080734f08e 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html index 62bbd49b0bc4e6..6e54175d3c3bf6 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html index 27cd3f11e22d96..7f5d103a963545 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html index 24d7afd20e2007..694285ab595092 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html index a86180afcdd4fb..d5e6a2b9819404 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html index 6a82fdc4d2b02c..8112be7e0f9ca7 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html index 6d3fb2f7327018..fdbd5cd999cb2e 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html index 4cc5ab3c7d9908..303b29d488ea7f 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html index ccb37d80004e32..05dff395a688b6 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html index 47df39c13582e1..4ae2d1a1110350 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html index 7de608b3c5c5a5..1877b0fc239857 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html index e2aab188c56f91..0efbf6228d0e2d 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html index 2d80a692246be1..c2ac560deb0e62 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html @@ -15,22 +15,17 @@ e.preventDefault(); } function triggerTestManually(type){ - try{ - if(window.eventType === 'cut'){ - document.body.contentEditable = 'true'; - } - /* make a selection to check if selected text is copied */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.execCommand(type); - window.getSelection().removeAllRanges(); - if(window.eventType ==='cut'){ - document.body.contentEditable='false'; - } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; + if(window.eventType === 'cut'){ + document.body.contentEditable = 'true'; + } + /* make a selection to check if selected text is copied */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.execCommand(type); + window.getSelection().removeAllRanges(); + if(window.eventType ==='cut'){ + document.body.contentEditable='false'; } } @@ -39,15 +34,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html index e5f9edac33f263..3a3cbcc07ce48d 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html @@ -15,22 +15,17 @@ e.preventDefault(); } function triggerTestManually(type){ - try{ - if(window.eventType === 'cut'){ - document.body.contentEditable = 'true'; - } - /* make a selection to check if selected text is copied */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.execCommand(type); - window.getSelection().removeAllRanges(); - if(window.eventType ==='cut'){ - document.body.contentEditable='false'; - } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; + if(window.eventType === 'cut'){ + document.body.contentEditable = 'true'; + } + /* make a selection to check if selected text is copied */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.execCommand(type); + window.getSelection().removeAllRanges(); + if(window.eventType ==='cut'){ + document.body.contentEditable='false'; } } @@ -39,15 +34,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 5f3b73ee42f107..3b2e2f91ac446e 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -14,23 +14,18 @@ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); - if(type === 'cut'){ - document.body.contentEditable='true'; - } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); - if(type === 'cut'){ - document.body.contentEditable = 'false'; - } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); + if(type === 'cut'){ + document.body.contentEditable = 'false'; } } @@ -39,15 +34,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index 92ca13e371e339..7ca77ed8bd3a33 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -14,23 +14,18 @@ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); - if(type === 'cut'){ - document.body.contentEditable='true'; - } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); - if(type === 'cut'){ - document.body.contentEditable = 'false'; - } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); + if(type === 'cut'){ + document.body.contentEditable = 'false'; } } @@ -39,15 +34,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index 0226885ebc8a19..4afe9ac0c452a4 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -27,15 +27,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index 5383b8d7c33bc0..fba4845cef09d2 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -28,15 +28,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index bbb8484a9f57e2..ea1d060470de73 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -13,20 +13,15 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' } ); - document.getElementById('editable').dispatchEvent(evt); - setTimeout( function(){ - try{ - result(document.getElementById('editable').getElementsByTagName('em').length == 0); - }catch(e){ - result('Unexpected exception when looking for inserted HTML data: '+e); - } - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' } ); + document.getElementById('editable').dispatchEvent(evt); + setTimeout( function(){ + try{ + result(document.getElementById('editable').getElementsByTagName('em').length == 0); + }catch(e){ + result('Unexpected exception when looking for inserted HTML data: '+e); + } + }, 50 ); } @@ -38,11 +33,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html index b97fe21f2c55fa..1f1a5e956ee684 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html @@ -13,16 +13,11 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); + }, 50 ); } @@ -34,11 +29,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html index 20fb67cc68300e..b0e34ce7cf5279 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html @@ -13,16 +13,11 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - try{ - var evt=new ClipboardEvent( type, { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementsByTagName('textarea')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt=new ClipboardEvent( type, { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('textarea')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); + }, 50 ); } @@ -34,11 +29,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html index 9597aa28509302..a10cd22760b49f 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html @@ -13,20 +13,15 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementById('editable').dispatchEvent(evt); - setTimeout( function(){ - try{ - result(document.getElementById('editable').textContent.indexOf( 'synthetic event text' )===-1); - }catch(e){ - result('Unexpected exception when looking for inserted HTML data: '+e); - } - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementById('editable').dispatchEvent(evt); + setTimeout( function(){ + try{ + result(document.getElementById('editable').textContent.indexOf( 'synthetic event text' )===-1); + }catch(e){ + result('Unexpected exception when looking for inserted HTML data: '+e); + } + }, 50 ); } @@ -38,11 +33,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html index 60d64581ec4d1f..35ac439688f0ab 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html @@ -13,16 +13,11 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(type, { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' }); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout(function(){ - result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); - }, 50); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt = new ClipboardEvent(type, { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' }); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout(function(){ + result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); + }, 50); } @@ -34,11 +29,11 @@
diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html index e7f7dfc365c102..1f10a1a5b5fd86 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html index 56c2cb581883d0..1478618abf156a 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html index 951a57d79e94f7..e3c6063915b97e 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html index abddc5b3bbeda1..c2c095d218e172 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html index c9b945fdcb0ddb..68b0e2969ebc74 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html index 824789288ed569..9519c3f15aba9e 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html index 04215bfe826048..a8570e9f5cc1cb 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html index a8219bb2f92ebd..738ac8dfa4a4a3 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html @@ -30,11 +30,11 @@
diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html index e67fc3a5c1e599..4fac2b47eeda0e 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html @@ -30,11 +30,11 @@
diff --git a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html index 8a23a0573d3514..5e4696084c6a7e 100644 --- a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html +++ b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html index b6887a9cde6ecb..8c8744b2d3ce5a 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html @@ -23,11 +23,11 @@
diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html index 046b99066eb66d..8e501642550414 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html @@ -23,11 +23,11 @@
diff --git a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html index c67a46ed2e3827..1193a269e63524 100644 --- a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html +++ b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html @@ -30,11 +30,11 @@
diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html index 6d5724d3fc6860..9e2ba1ffe83e64 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html index 486dd8706d96aa..fb76e7db9c692f 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html index 06d85360ca48b0..3587234493b1f0 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html index c531c639efee9d..235dea078f9781 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html index 3a8fbd919c7dac..d45077eadc4820 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html index e4e07d8603143f..ae80603ea5de57 100644 --- a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html +++ b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html index 6cce087fac9c57..22bc4f728face9 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html index cd3e1b2d9d1acf..11adbc5ac01b8f 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html index ab103d3371a601..29d0f76e0344be 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html index 7dc84ad62ab187..25e8bf804edc73 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html index bcf041851e00e6..079c1b5e846163 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html index d8c7ad65324ffc..63312b0513e1f6 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html index a7c77df6329d77..a68130429b21c8 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html index 6e3a8cb4652a57..4dda157e3ca20b 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html index 7b78c44fc76aba..e3724dec146b35 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html index 26d0594704e326..79da1d2ee7c700 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html index f438ad3fa64462..549165f9867ad7 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html index ece4f3a5ba003b..476cad481071cf 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html index 59e7467f758e96..29574777f88fad 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html index c116c06baf45a3..83f7b2ecec0d55 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html index d93e3ce7fe855a..fad25658d02000 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html index bf32c2b79a93ce..f33496616cfa2f 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html index 4c7a877359abeb..7067db162925a3 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html index 2fc6852780b876..f70856095e65bb 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html index 33edf0669e5347..bf78c094a16c81 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html index e1bd48e903a83d..c4d0bce3158a21 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html index 292e119b78e804..30da84e0265976 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html index 927b1a5f3dfdcd..7566ffc32a9621 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html index e31cdf222d17bc..9abe0a5ca1b813 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html index 393f7f1b1c0f96..e9e8cf72df80f3 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html index 2d189977af2105..b7b4f4512e0c19 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html index 957d1f52a64b7e..0fdef45e7f71f7 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html index 4101690c51fd84..9baaf053cee73f 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html index de5211e1bf2d8e..5fd7799f04b984 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html index cdaa7cc09c37a5..9a43abc9485b31 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html index 0129e8986b0a15..f5c576daca62f1 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html index 6d1b5733973873..167828557efcc3 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html index 4d76b13ac6b950..3bb3229ad8221f 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html index 311471a41a1c9a..7045c8f6fda986 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html index 3cd90b6d2fea9d..d48437ea789876 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html index b557ad30e1bff8..5bbba9341da34a 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html index 5f41b5772de94b..9c5aa3515e0e85 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html index 0bf077ca48c9ce..709a0319b09995 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html index 1c4d7bd148350e..a16dcf0da9b65d 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html index 96252ea1677b94..a35b9ba2617291 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html index ab8d72c048404a..ab45dc9d672306 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html index 763edabc9f6872..c724796f54d2f6 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html index 9872b0b1627a61..ced843c08578d2 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html index da09217b9139e7..30836f2d6c28e6 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html index 90cee70d275c69..67f9c8ad5559d1 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html index be853ef0c37033..1e1c8c79b31ead 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html index 33abd139f05a58..95fc1882e2afce 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html index e2fa1d9de52c98..d659e9c7c650bf 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_on_input_paste_on_document.html b/clipboard-apis/events_fire_on_input_paste_on_document.html index 182bdb53aac6e0..db25122e6ae01a 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_document.html +++ b/clipboard-apis/events_fire_on_input_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html index d9693c447beec4..395a300943b475 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_document.html b/clipboard-apis/events_fire_on_textarea_paste_on_document.html index 988fd701b58a5e..ebb46bbec57036 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_document.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html index a9afd8e65139a8..cd115d669a4282 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html index 309162339ebe10..888b84d887e83b 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html index 0d715f98c4c683..07572f8ac254c8 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html index 35044ddd2f5b19..ace3eb2fbb78f1 100644 --- a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html +++ b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html index e12682e044fcea..8bfc5ea8de6063 100644 --- a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html +++ b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html @@ -23,15 +23,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html index d7de5faa50c6fc..fee5d34c6aff90 100644 --- a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html index 0f90a5ee51595e..b975dd068de419 100644 --- a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index d67880e9a9e567..64a8e0fca8b4ab 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -27,15 +27,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html index 9c040dba818b20..e0b5375562dd0c 100644 --- a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html +++ b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html @@ -26,15 +26,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html index 4efdaf917c32ef..00c2a1a4e1b145 100644 --- a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html +++ b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html @@ -25,15 +25,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index 34b6b6c0ec73d7..c6be5961669446 100644 --- a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index e678919ec72574..93e4d36d0b6e84 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 8a59de64cfc0bf..1fe2b8d48f356a 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index 40facc93fdf809..d0db86fc0ae624 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -39,11 +39,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index 160ac5bafdf3ec..a08675d3f233d0 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -51,11 +51,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 257b96c35bcdad..615585903a8650 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -51,11 +51,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index 3030bb7c19b144..23d3ab93588e3b 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -51,11 +51,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html index bae31ae4729be9..cbd4cd93d8a0cc 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html @@ -13,11 +13,9 @@ assert_unreached('document.execCommand() triggered from non-user-initiated script thread, events should not fire'); } function onTestSetupReady(eventType){ - try{ - result(document.execCommand(eventType) === false); - }catch(e){ - result('FAILED - exception from document.execCommand() when it was expected to return false'); - } + result(function(){ + document.execCommand(eventType) === false + }); } @@ -25,15 +23,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html index 245c013e4fcfc8..7369b7e839394d 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html @@ -13,11 +13,9 @@ assert_unreached('document.execCommand() triggered from non-user-initiated script thread, events should not fire'); } function onTestSetupReady(eventType){ - try{ - result(document.execCommand(eventType) === false); - }catch(e){ - result('FAILED - exception from document.execCommand() when it was expected to return false'); - } + result(function(){ + document.execCommand(eventType) === false + }); } @@ -25,15 +23,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html index 572857c858a5e4..3ba9ea027e45e2 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index 92596565cf706b..44f0bea3b223f8 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index 9785cf4d98d487..12d6e69697921d 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html index 61221d4ba9592f..052dd9f2b811ad 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html index 169c67b774ce65..266e7ecf10202a 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html index 0d6f1e0625e482..5f7b32dc5df44f 100644 --- a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html +++ b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html index ec7a20690a9f44..0d280838b595ae 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html index 713f0ca3a18117..6105a390ae45a9 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html index bc79fa5cd4cd8d..b289a82256aeb0 100644 --- a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html index 2363bd2c67a09e..9bfdf2dcd59a22 100644 --- a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/pasting_a_file_paste_on_document.html b/clipboard-apis/pasting_a_file_paste_on_document.html index d2f8755856492b..ca1af777c2b060 100644 --- a/clipboard-apis/pasting_a_file_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_paste_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/preventing_default_action_paste_on_document.html b/clipboard-apis/preventing_default_action_paste_on_document.html index 1addff2ade00ce..c8e63a794a49ba 100644 --- a/clipboard-apis/preventing_default_action_paste_on_document.html +++ b/clipboard-apis/preventing_default_action_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/preventing_default_action_paste_on_inputtext.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html index 5fd29e1d12c7d6..a0bbb746713f59 100644 --- a/clipboard-apis/preventing_default_action_paste_on_inputtext.html +++ b/clipboard-apis/preventing_default_action_paste_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html index 8e724958215b97..f56f3083b62bff 100644 --- a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html +++ b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html @@ -35,15 +35,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html index d4adef84484e89..c25756c3566126 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html index bace47be22d7c6..60733a00ab6e3f 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index d8614f1e317e73..7df57eb7cddbaa 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index ebf7018a2cc62f..86f790e5143e69 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index 4ecec4840a75ea..ba28e297c7cf3d 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html index ed65736f359b1e..db5c80b062d5b2 100644 --- a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html +++ b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html index 87f2c0019e6278..1ad04175dd066d 100644 --- a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html index c97ad917f1cd79..b0230c7f1496b9 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html index 1b94f1261f7b4b..b56a241c09d9b4 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html index b36572b46faffd..ef668af820393c 100644 --- a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html +++ b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_copy_on_document.html b/clipboard-apis/setdata_method_copy_on_document.html index 171daa9865305f..161bdf669ea20b 100644 --- a/clipboard-apis/setdata_method_copy_on_document.html +++ b/clipboard-apis/setdata_method_copy_on_document.html @@ -27,15 +27,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_cut_on_document.html b/clipboard-apis/setdata_method_cut_on_document.html index dc05cae115bde6..baa40b28925322 100644 --- a/clipboard-apis/setdata_method_cut_on_document.html +++ b/clipboard-apis/setdata_method_cut_on_document.html @@ -27,15 +27,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html index c49f1e2567a842..457386f489f1e6 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html @@ -33,11 +33,11 @@
diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html index 0fb8c1a20570fb..b8dfd394e1efa2 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html @@ -33,11 +33,11 @@
diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html index 9d16f0adce41ce..feb15adb88362e 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html @@ -35,15 +35,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html index 971218088643b4..46f83916ad23ba 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html @@ -35,15 +35,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html index 6e8500cca4ac1f..4cd929e488ecee 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html index e78f781135c6d7..50667c10cc26a4 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/support/TC-generator/tc-gen.py b/clipboard-apis/support/TC-generator/tc-gen.py index 13b3cde1c696b6..efe9ca497904e3 100644 --- a/clipboard-apis/support/TC-generator/tc-gen.py +++ b/clipboard-apis/support/TC-generator/tc-gen.py @@ -33,9 +33,9 @@ var extPassCond={external_pass_condition}; var eventTarget={event_target}; var eventType='{event_type}'; - window.onload=function(){{ - setupTest( eventTarget, eventType, dataToPaste, extPassCond ); - }} + setup(function(){{ + setupTest( eventTarget, eventType, dataToPaste, extPassCond ); + }}); """ diff --git a/clipboard-apis/support/_lib.js b/clipboard-apis/support/_lib.js index 24dc740a60dcb9..c9dec269645aae 100644 --- a/clipboard-apis/support/_lib.js +++ b/clipboard-apis/support/_lib.js @@ -1,4 +1,4 @@ -t = async_test() +var t = async_test() function setupTest( target, event, dataToPaste, externalPassCondition ){ var logNode=document.getElementsByTagName('p')[0].firstChild; logNode.data=''; @@ -34,12 +34,12 @@ function setupTest( target, event, dataToPaste, externalPassCondition ){ /* Tests that require user interaction define a "triggerTestManually()" function. These are for example tests that rely on trusted events. */ logNode.parentNode.appendChild(document.createTextNode(' ')); - var btn=logNode.parentNode.appendChild(document.createElement('button')) - btn.type='button'; - btn.onclick=function(){ + var btn = logNode.parentNode.appendChild(document.createElement('button')) + btn.type = 'button'; + btn.onclick = t.func_step(function(){ triggerTestManually(event); btn.parentNode.removeChild(btn); - } + }); btn.appendChild(document.createTextNode(' Click here to run test: ')); }else{ logNode.data+='Test in progress, waiting for '+event+' event'; @@ -72,7 +72,11 @@ function result(testResult, msg){ if( testResult === true || testResult === false ){ t.step(function(){assert_true(testResult)}); t.done(); - logNode.data= ''; // testResult ? 'PASSED' : 'FAILED'; + logNode.data= ''; + }else if( typeof testResult === 'function' ){ + t.step(testResult); + t.done(); + logNode.data= ''; }else if( typeof testResult ==='string' ){ logNode.data=testResult; }else if( typeof externalPassCondition==='string' ){ diff --git a/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html index 6cc1ea157eb56b..c5da11e11536b9 100644 --- a/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html +++ b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html @@ -24,15 +24,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html index bf2cb07721e230..298868763e0523 100644 --- a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html +++ b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html index f11a0f2f0d2911..dcadc83346c924 100644 --- a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html +++ b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html index c6153ee0db5e21..8291cf245b1ccd 100644 --- a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html +++ b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html @@ -24,11 +24,11 @@
From 3e0994b6f87d33208175cbef25ff71787e00a6e8 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 17:58:59 +0200 Subject: [PATCH 12/42] small fixes for better testharness.js integration --- ...yncronous_copy_on_iframecontentwindow.html | 22 +++++++++---------- ...syncronous_cut_on_iframecontentwindow.html | 22 +++++++++---------- ...ncronous_paste_on_iframecontentwindow.html | 22 +++++++++---------- ...o_write_to_clipboard_copy_on_document.html | 2 +- ...to_write_to_clipboard_cut_on_document.html | 2 +- 5 files changed, 32 insertions(+), 38 deletions(-) diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index a08675d3f233d0..bef26244fad1d1 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -12,7 +12,8 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + /* the event is syncronous, must not run after the execCommand call is finished */ + assert_false(window.afterExecCommand); } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. @@ -29,17 +30,14 @@ } } function triggerTestManually(eventType){ - try{ - var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; - if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('iframe'); + window.afterExecCommand=false; + /* This triggers the event listener, which asserts false */ + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; + result(function(){ + assert_true(execSucceeded, 'document.execCommand() should succeed and return true'); + }); } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 615585903a8650..99c2a199bd18cc 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -12,7 +12,8 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + /* the event is syncronous, must not run after the execCommand call is finished */ + assert_false(window.afterExecCommand); } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. @@ -29,17 +30,14 @@ } } function triggerTestManually(eventType){ - try{ - var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; - if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('iframe'); + window.afterExecCommand=false; + /* This triggers the event listener, which asserts false */ + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; + result(function(){ + assert_true(execSucceeded, 'document.execCommand() should succeed and return true'); + }); } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index 23d3ab93588e3b..9cf53d8f2074c0 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -12,7 +12,8 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + /* the event is syncronous, must not run after the execCommand call is finished */ + assert_false(window.afterExecCommand); } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. @@ -29,17 +30,14 @@ } } function triggerTestManually(eventType){ - try{ - var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; - if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('iframe'); + window.afterExecCommand=false; + /* This triggers the event listener, which asserts false */ + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; + result(function(){ + assert_true(execSucceeded, 'document.execCommand() should succeed and return true'); + }); } diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html index cbd4cd93d8a0cc..6f52d36c08ad4e 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html @@ -14,7 +14,7 @@ } function onTestSetupReady(eventType){ result(function(){ - document.execCommand(eventType) === false + assert_false(document.execCommand(eventType)); }); } diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html index 7369b7e839394d..9cc2806971cdf2 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html @@ -14,7 +14,7 @@ } function onTestSetupReady(eventType){ result(function(){ - document.execCommand(eventType) === false + assert_false(document.execCommand(eventType)); }); } From ec27e08324786748bee4dd656b85898c64aee39c Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 18:00:48 +0200 Subject: [PATCH 13/42] removed two tests expecting execCommand(paste) to work --- ...ault_action_paste_on_ifrcontentwindow.html | 49 --------------- ...ncronous_paste_on_iframecontentwindow.html | 59 ------------------- 2 files changed, 108 deletions(-) delete mode 100644 clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html delete mode 100644 clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html deleted file mode 100644 index d0db86fc0ae624..00000000000000 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html deleted file mode 100644 index 9cf53d8f2074c0..00000000000000 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - ClipboardEvent - integration with execCommand, events are syncronous - paste on 'iframe.contentWindow' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - From fa24da7b29312036476402dc551b94524e5340a6 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 18:13:34 +0200 Subject: [PATCH 14/42] various testharness.js integration fixes and test errata --- ...event_handler_method_copy_on_document.html | 1 + ..._event_handler_method_cut_on_document.html | 1 + ...vent_handler_method_paste_on_document.html | 1 + ...fault_action_copy_on_ifrcontentwindow.html | 29 ++++++----- ...efault_action_cut_on_ifrcontentwindow.html | 29 ++++++----- ...ault_action_paste_on_ifrcontentwindow.html | 49 +++++++++++++++++++ ...yncronous_copy_on_iframecontentwindow.html | 17 ++++--- ...syncronous_cut_on_iframecontentwindow.html | 17 ++++--- ...event_handler_method_copy_on_document.html | 1 + ..._event_handler_method_cut_on_document.html | 1 + ...vent_handler_method_paste_on_document.html | 1 + ...event_handler_method_copy_on_document.html | 1 + ..._event_handler_method_cut_on_document.html | 1 + ...vent_handler_method_paste_on_document.html | 1 + 14 files changed, 104 insertions(+), 46 deletions(-) create mode 100644 clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index 79b9a908fddafa..751894b7f736ad 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.clearData(); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index 2d7dcaa967617d..30685ff6bb439a 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.clearData(); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index 1c9e9e456520ba..4eed6a9bf747c8 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.clearData(); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index 93e4d36d0b6e84..074cc757d1de34 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -19,21 +19,20 @@ function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - ifr.contentDocument.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - doc.body.innerHTML='

This is filler text

'; - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().addRange(range); - try{ - doc.execCommand(window.eventType, false, false); - // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().removeAllRanges(); + doc.defaultView.getSelection().addRange(range); + var returnValue = doc.execCommand(window.eventType, false, false); + /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ + assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); + /* This assertation is especially relevant for 'cut' */ + assert_equals(doc.getElementsByTagName('p')[0].firstChild.textContent, 'Frame contents'); } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 1fe2b8d48f356a..76cacc490816e2 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -19,21 +19,20 @@ function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - ifr.contentDocument.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - doc.body.innerHTML='

This is filler text

'; - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().addRange(range); - try{ - doc.execCommand(window.eventType, false, false); - // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().removeAllRanges(); + doc.defaultView.getSelection().addRange(range); + var returnValue = doc.execCommand(window.eventType, false, false); + /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ + assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); + /* This assertation is especially relevant for 'cut' */ + assert_equals(doc.getElementsByTagName('p')[0].firstChild.textContent, 'Frame contents'); } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html new file mode 100644 index 00000000000000..2dbef560005f09 --- /dev/null +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: this test is only relevant if scripted paste is allowed

+
+ + diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index bef26244fad1d1..507ba373aaac24 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -7,13 +7,15 @@ diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index 44f0bea3b223f8..2d859b518c96c7 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.items.add( 'Test failed', 'text/plain'); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index 12d6e69697921d..f56b26f1c7e37b 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.items.add( 'Test failed', 'text/plain'); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index 7df57eb7cddbaa..7edb2b9098f565 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.setData('text/plain', 'Test failed'); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index 86f790e5143e69..e2a6f5f11ca311 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.setData('text/plain', 'Test failed'); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index ba28e297c7cf3d..3f75581bdfc4fa 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.setData('text/plain', 'Test failed'); }, 1 ); + e.preventDefault(); } From a6f7313b7c5b18a00a583487b075e61605e2976d Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 18:17:32 +0200 Subject: [PATCH 15/42] Remove pointless whitespace in front of test titles --- .../cancelling_default_action_basic_test_copy_on_document.html | 2 +- .../cancelling_default_action_basic_test_copy_on_inputtext.html | 2 +- .../cancelling_default_action_basic_test_cut_on_document.html | 2 +- .../cancelling_default_action_basic_test_cut_on_inputtext.html | 2 +- ...s_removal_of_text_from_editable_context_cut_on_document.html | 2 +- ..._removal_of_text_from_editable_context_cut_on_inputtext.html | 2 +- ...ta_called_outside_event_handler_method_copy_on_document.html | 2 +- ...ata_called_outside_event_handler_method_cut_on_document.html | 2 +- ...a_called_outside_event_handler_method_paste_on_document.html | 2 +- ...lowed_by_setdata_in_same_event_handler_copy_on_document.html | 2 +- ...llowed_by_setdata_in_same_event_handler_cut_on_document.html | 2 +- ...eardata_method_is_noop_in_paste_event_paste_on_document.html | 2 +- ...leardata_method_with_texthtml_argument_copy_on_document.html | 2 +- ...cleardata_method_with_texthtml_argument_cut_on_document.html | 2 +- .../cleardata_method_without_arguments_copy_on_document.html | 2 +- .../cleardata_method_without_arguments_cut_on_document.html | 2 +- ...hout_preventing_eventss_default_action_copy_on_document.html | 2 +- ...thout_preventing_eventss_default_action_cut_on_document.html | 2 +- .../clipboard_events_clipboarddata_api_copy_on_document.html | 2 +- .../clipboard_events_clipboarddata_api_cut_on_document.html | 2 +- .../clipboard_events_clipboarddata_api_paste_on_document.html | 2 +- ...ipboard_events_relative_to_key_events_copy_on_inputtext.html | 2 +- ...lipboard_events_relative_to_key_events_cut_on_inputtext.html | 2 +- ...pboard_events_relative_to_key_events_paste_on_inputtext.html | 2 +- ...ventdefault_prevents_clipboard_events_copy_on_inputtext.html | 2 +- ...eventdefault_prevents_clipboard_events_cut_on_inputtext.html | 2 +- ...entdefault_prevents_clipboard_events_paste_on_inputtext.html | 2 +- ..._events_relative_to_other_input_events_cut_on_inputtext.html | 2 +- ...vents_relative_to_other_input_events_paste_on_inputtext.html | 2 +- ...script_uses_both_cleardata_and_setdata_copy_on_document.html | 2 +- ..._script_uses_both_cleardata_and_setdata_cut_on_document.html | 2 +- ...pboard_has_one_single_textplain_entry_paste_on_document.html | 2 +- ...ardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html | 2 +- ...oardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html | 2 +- ...rdevent_and_nonascii_data_i_japanese_paste_on_inputtext.html | 2 +- ...nascii_data_ii_random_unicode_symbols_copy_on_inputtext.html | 2 +- ...onascii_data_ii_random_unicode_symbols_cut_on_inputtext.html | 2 +- .../clipboardevent_events_fire_on_input_copy_on_document.html | 2 +- .../clipboardevent_events_fire_on_input_copy_on_inputtext.html | 2 +- .../clipboardevent_events_fire_on_input_cut_on_document.html | 2 +- .../clipboardevent_events_fire_on_input_cut_on_inputtext.html | 2 +- ...clipboardevent_events_fire_on_textarea_copy_on_document.html | 2 +- ...lipboardevent_events_fire_on_textarea_copy_on_inputtext.html | 2 +- .../clipboardevent_events_fire_on_textarea_cut_on_document.html | 2 +- ...clipboardevent_events_fire_on_textarea_cut_on_inputtext.html | 2 +- ...inside_trusted_event_affects_clipboard_copy_on_document.html | 2 +- ..._inside_trusted_event_affects_clipboard_cut_on_document.html | 2 +- ...vents_must_not_affect_system_clipboard_copy_on_document.html | 2 +- ...events_must_not_affect_system_clipboard_cut_on_document.html | 2 +- ...s_with_new_clipboardevent_constructor_paste_on_document.html | 2 +- ...tic_events_with_nonstandard_mime_type_paste_on_document.html | 2 +- ...tml_data_into_contenteditable_element_paste_on_document.html | 2 +- ...es_not_insert_payload_data_into_input_paste_on_document.html | 2 +- ...not_insert_payload_data_into_textarea_paste_on_document.html | 2 +- ...ext_data_into_contenteditable_element_paste_on_document.html | 2 +- ...sert_texthtml_payload_data_into_input_paste_on_document.html | 2 +- .../copy_event_does_not_modify_selection_copy_on_document.html | 2 +- .../copy_event_does_not_modify_selection_copy_on_inputtext.html | 2 +- ...ent_target_property_selection_in_input_copy_on_document.html | 2 +- ...vent_target_property_selection_in_input_cut_on_document.html | 2 +- ...nt_target_property_selection_in_input_paste_on_document.html | 2 +- ...s_no_selection_and_script_uses_setdata_copy_on_document.html | 2 +- ...is_no_selection_and_script_uses_setdata_cut_on_document.html | 2 +- ...eration_does_not_dispatch_other_events_copy_on_document.html | 2 +- ...ration_does_not_dispatch_other_events_copy_on_inputtext.html | 2 +- clipboard-apis/cut_collapses_selection_cut_on_inputtext.html | 2 +- .../cut_fires_before_text_is_removed_cut_on_document.html | 2 +- .../cut_fires_before_text_is_removed_cut_on_inputtext.html | 2 +- ...n_there_is_no_selection_no_text_change_copy_on_document.html | 2 +- ...ent_when_there_is_no_selection_is_noop_copy_on_document.html | 2 +- ...vent_when_there_is_no_selection_is_noop_cut_on_document.html | 2 +- .../event_listener_that_modifies_focus_copy_on_inputtext.html | 2 +- .../event_listener_that_modifies_focus_cut_on_inputtext.html | 2 +- .../event_listener_that_modifies_focus_paste_on_inputtext.html | 2 +- ...event_listener_that_modifies_selection_copy_on_document.html | 2 +- ...et_property_selection_in_document_text_copy_on_document.html | 2 +- ...get_property_selection_in_document_text_cut_on_document.html | 2 +- ...t_property_selection_in_document_text_paste_on_document.html | 2 +- ...cused_element_has_no_text_node_inside_paste_on_document.html | 2 +- ...cused_element_has_no_text_node_inside_paste_on_inputimg.html | 2 +- ...get_when_no_specific_element_has_focus_copy_on_document.html | 2 +- ...rget_when_no_specific_element_has_focus_cut_on_document.html | 2 +- ...et_when_no_specific_element_has_focus_paste_on_document.html | 2 +- ..._target_when_selection_spans_several_elements_copy_on_a.html | 2 +- ..._target_when_selection_spans_several_elements_copy_on_b.html | 2 +- ..._when_selection_spans_several_elements_copy_on_document.html | 2 +- ...t_target_when_selection_spans_several_elements_cut_on_a.html | 2 +- ...t_target_when_selection_spans_several_elements_cut_on_b.html | 2 +- ...t_when_selection_spans_several_elements_cut_on_document.html | 2 +- ...target_when_selection_spans_several_elements_paste_on_a.html | 2 +- ...target_when_selection_spans_several_elements_paste_on_b.html | 2 +- ...when_selection_spans_several_elements_paste_on_document.html | 2 +- ...ion_spans_several_elements_reversed_selection_copy_on_a.html | 2 +- ...ion_spans_several_elements_reversed_selection_copy_on_b.html | 2 +- ...ns_several_elements_reversed_selection_copy_on_document.html | 2 +- ...tion_spans_several_elements_reversed_selection_cut_on_a.html | 2 +- ...tion_spans_several_elements_reversed_selection_cut_on_b.html | 2 +- ...ans_several_elements_reversed_selection_cut_on_document.html | 2 +- ...on_spans_several_elements_reversed_selection_paste_on_a.html | 2 +- ...on_spans_several_elements_reversed_selection_paste_on_b.html | 2 +- ...s_several_elements_reversed_selection_paste_on_document.html | 2 +- ..._exists_and_inherits_from_datatransfer_copy_on_document.html | 2 +- ...a_exists_and_inherits_from_datatransfer_cut_on_document.html | 2 +- ...exists_and_inherits_from_datatransfer_paste_on_document.html | 2 +- ...vents_fire_inside_editable_svg_content_copy_on_document.html | 2 +- ...events_fire_inside_editable_svg_content_copy_on_svgtext.html | 2 +- ...events_fire_inside_editable_svg_content_cut_on_document.html | 2 +- .../events_fire_inside_editable_svg_content_cut_on_svgtext.html | 2 +- ...ents_fire_inside_editable_svg_content_paste_on_document.html | 2 +- ...vents_fire_inside_editable_svg_content_paste_on_svgtext.html | 2 +- .../events_fire_inside_svg_content_copy_on_document.html | 2 +- .../events_fire_inside_svg_content_copy_on_svgtext.html | 2 +- .../events_fire_inside_svg_content_cut_on_document.html | 2 +- .../events_fire_inside_svg_content_cut_on_svgtext.html | 2 +- ..._inside_svg_content_in_contenteditable_copy_on_document.html | 2 +- ...e_inside_svg_content_in_contenteditable_copy_on_svgtext.html | 2 +- ...e_inside_svg_content_in_contenteditable_cut_on_document.html | 2 +- ...re_inside_svg_content_in_contenteditable_cut_on_svgtext.html | 2 +- ...inside_svg_content_in_contenteditable_paste_on_document.html | 2 +- ..._inside_svg_content_in_contenteditable_paste_on_svgtext.html | 2 +- .../events_fire_inside_svg_content_paste_on_document.html | 2 +- .../events_fire_inside_svg_content_paste_on_svgtext.html | 2 +- clipboard-apis/events_fire_on_input_paste_on_document.html | 2 +- clipboard-apis/events_fire_on_input_paste_on_inputtext.html | 2 +- clipboard-apis/events_fire_on_textarea_paste_on_document.html | 2 +- clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html | 2 +- ...y_events_should_return_an_empty_string_copy_on_document.html | 2 +- ...py_events_should_return_an_empty_string_cut_on_document.html | 2 +- ..._in_paste_event_retrieving_plain_text_paste_on_document.html | 2 +- ..._method_supports_legacy_text_argument_paste_on_document.html | 2 +- ...handler_should_return_an_empty_string_paste_on_document.html | 2 +- ...pported_should_return_an_empty_string_paste_on_document.html | 2 +- ...method_with_wrong_number_of_arguments_paste_on_document.html | 2 +- ...hods_type_argument_not_case_sensitive_paste_on_document.html | 2 +- .../getdata_supports_legacy_url_argument_paste_on_document.html | 2 +- ...pboard_has_one_single_textplain_entry_paste_on_document.html | 2 +- ...and_can_prevent_default_action_copy_on_ifrcontentwindow.html | 2 +- ...mand_can_prevent_default_action_cut_on_ifrcontentwindow.html | 2 +- ...nd_can_prevent_default_action_paste_on_ifrcontentwindow.html | 2 +- ...mmand_events_are_syncronous_copy_on_iframecontentwindow.html | 2 +- ...ommand_events_are_syncronous_cut_on_iframecontentwindow.html | 2 +- ...when_not_allowed_to_write_to_clipboard_copy_on_document.html | 2 +- ..._when_not_allowed_to_write_to_clipboard_cut_on_document.html | 2 +- ...dd_called_outside_event_handler_method_copy_on_document.html | 2 +- ...add_called_outside_event_handler_method_cut_on_document.html | 2 +- ...d_called_outside_event_handler_method_paste_on_document.html | 2 +- ..._in_noneditable_context_with_selection_copy_on_document.html | 2 +- ...t_in_noneditable_context_with_selection_cut_on_document.html | 2 +- ...t_action_for_cut_in_noneditable_context_cut_on_document.html | 2 +- ...e_event_fires_before_data_is_inserted_paste_on_document.html | 2 +- ..._event_fires_before_data_is_inserted_paste_on_inputtext.html | 2 +- ...ent_fires_even_in_noneditable_context_paste_on_document.html | 2 +- .../pasting_a_file_of_unknown_type_paste_on_document.html | 2 +- clipboard-apis/pasting_a_file_paste_on_document.html | 2 +- clipboard-apis/preventing_default_action_paste_on_document.html | 2 +- .../preventing_default_action_paste_on_inputtext.html | 2 +- ...ng_clipboard_data_from_looping_script_paste_on_document.html | 2 +- .../setdata_and_clipboarddataitems_copy_on_document.html | 2 +- .../setdata_and_clipboarddataitems_cut_on_document.html | 2 +- ...ta_called_outside_event_handler_method_copy_on_document.html | 2 +- ...ata_called_outside_event_handler_method_cut_on_document.html | 2 +- ...a_called_outside_event_handler_method_paste_on_document.html | 2 +- ...about_to_be_inserted_in_a_paste_event_paste_on_document.html | 2 +- ...board_when_called_from_a_paste_event_paste_on_inputtext.html | 2 +- ...wed_by_cleardata_in_same_event_handler_copy_on_document.html | 2 +- ...owed_by_cleardata_in_same_event_handler_cut_on_document.html | 2 +- ...s_no_effect_when_default_action_is_noop_cut_on_document.html | 2 +- clipboard-apis/setdata_method_copy_on_document.html | 2 +- clipboard-apis/setdata_method_cut_on_document.html | 2 +- ..._implementation_does_not_know_the_type_copy_on_document.html | 2 +- ...n_implementation_does_not_know_the_type_cut_on_document.html | 2 +- ...data_method_with_texthtml_experimental_copy_on_document.html | 2 +- ...tdata_method_with_texthtml_experimental_cut_on_document.html | 2 +- ...hout_preventing_eventss_default_action_copy_on_document.html | 2 +- ...thout_preventing_eventss_default_action_cut_on_document.html | 2 +- clipboard-apis/support/TC-generator/tc-gen.py | 2 +- ..._there_is_plain_text_on_the_clipboard_paste_on_document.html | 2 +- ...py_ui_that_would_otherwise_be_disabled_copy_on_document.html | 2 +- ...cut_ui_that_would_otherwise_be_disabled_cut_on_document.html | 2 +- ...e_ui_that_would_otherwise_be_disabled_paste_on_document.html | 2 +- 180 files changed, 180 insertions(+), 180 deletions(-) diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html index 24d29d9936982a..61d3b78e7090f7 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action, basic test - copy on document + Clipboard API - cancelling default action, basic test - copy on document diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html index e9fb5569fde84b..6de3dd0fcbfeae 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action, basic test - copy on 'input_text' + Clipboard API - cancelling default action, basic test - copy on 'input_text' diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html index ade39a8a77cb14..7aa369a2e15fbd 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action, basic test - cut on document + Clipboard API - cancelling default action, basic test - cut on document diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html index 117305d5f5a674..9c681427879131 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action, basic test - cut on 'input_text' + Clipboard API - cancelling default action, basic test - cut on 'input_text' diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html index e27e975f62ccfd..3154b13336f25c 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on document + Clipboard API - cancelling default action of cut prevents removal of text from editable context - cut on document diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html index 69b2075bd68f57..77fe3997d172db 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on 'input_text' + Clipboard API - cancelling default action of cut prevents removal of text from editable context - cut on 'input_text' diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index 751894b7f736ad..b29dfaeb3118c7 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() called outside event handler method - copy on document + Clipboard API - clearData() called outside event handler method - copy on document diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index 30685ff6bb439a..4f7f4d6b6fa39e 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() called outside event handler method - cut on document + Clipboard API - clearData() called outside event handler method - cut on document diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index 4eed6a9bf747c8..473feeb1beb0c7 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() called outside event handler method - paste on document + Clipboard API - clearData() called outside event handler method - paste on document diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html index d9acf800d839e2..1aed2d2341f240 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() followed by setData() in same event handler - copy on document + Clipboard API - clearData() followed by setData() in same event handler - copy on document diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html index 630e6e57aa4883..c72377ec501748 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() followed by setData() in same event handler - cut on document + Clipboard API - clearData() followed by setData() in same event handler - cut on document diff --git a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html index d06e980dae7dbf..d0d81deb8da519 100644 --- a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html +++ b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method is noop in paste event - paste on document + Clipboard API - clearData() method is noop in paste event - paste on document diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html index 2a146b057ea0ff..fb40c9f94da324 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method with text/html argument - copy on document + Clipboard API - clearData() method with text/html argument - copy on document diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html index 00e00f8d73e2e4..183eb8d82b77d5 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method with text/html argument - cut on document + Clipboard API - clearData() method with text/html argument - cut on document diff --git a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html index 2415b5224ff7a0..b6e9b47d0b3924 100644 --- a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method without arguments - copy on document + Clipboard API - clearData() method without arguments - copy on document diff --git a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html index 370b20a0b17a6e..7a45b0e31f6b8e 100644 --- a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method without arguments - cut on document + Clipboard API - clearData() method without arguments - cut on document diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html index 554b9fb85e15c9..341d977c5e669c 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method without preventing events's default action - copy on document + Clipboard API - clearData() method without preventing events's default action - copy on document diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html index 8721664ba4b752..94f0c793f907ee 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method without preventing events's default action - cut on document + Clipboard API - clearData() method without preventing events's default action - cut on document diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html index 26a90c166969b3..a877d6e62024df 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Clipboard event's clipboardData API - copy on document + Clipboard API - Clipboard event's clipboardData API - copy on document diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html index 5c14f289d23905..8258db363c0016 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Clipboard event's clipboardData API - cut on document + Clipboard API - Clipboard event's clipboardData API - cut on document diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html index 6e8675d957d8f1..48a80d34c1c5ac 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Clipboard event's clipboardData API - paste on document + Clipboard API - Clipboard event's clipboardData API - paste on document diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html index f6f76ae5dc1b62..65289d1ea5c830 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - copy on 'input_text' + Clipboard API - clipboard events relative to key events - copy on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html index 6bc60943426bcd..9de6fbcc464c1a 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - cut on 'input_text' + Clipboard API - clipboard events relative to key events - cut on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html index 4e559e23b267ee..16ad2da3402acb 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - paste on 'input_text' + Clipboard API - clipboard events relative to key events - paste on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html index ead5b50675e5ba..aef238bedbb90c 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - copy on 'input_text' + Clipboard API - clipboard events relative to key events - preventDefault prevents clipboard events - copy on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html index 4a401535145c35..9fbdd9fc1f9404 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - cut on 'input_text' + Clipboard API - clipboard events relative to key events - preventDefault prevents clipboard events - cut on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html index ef3874fbbb226f..579fd8b7ddbf84 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - paste on 'input_text' + Clipboard API - clipboard events relative to key events - preventDefault prevents clipboard events - paste on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html index 9fff3123e504dd..4ca64149f8a519 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to other input events - cut on 'input_text' + Clipboard API - clipboard events relative to other input events - cut on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html index 58219c3b8def05..f96781d2d187de 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to other input events - paste on 'input_text' + Clipboard API - clipboard events relative to other input events - paste on 'input_text' diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html index e9fe04b98e23e5..4c1e977de466ad 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard modification when script uses both clearData() and setData() - copy on document + Clipboard API - clipboard modification when script uses both clearData() and setData() - copy on document diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html index 3df8a46844efab..b943cbea70ab4b 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard modification when script uses both clearData() and setData() - cut on document + Clipboard API - clipboard modification when script uses both clearData() and setData() - cut on document diff --git a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index 6f3394e9621a07..e345c0e542a74c 100644 --- a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboardData.items when clipboard has one single text/plain entry - paste on document + Clipboard API - clipboardData.items when clipboard has one single text/plain entry - paste on document diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html index 3306de622210c0..d14011472443b6 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - copy on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data I - Japanese - copy on 'input_text' diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html index 4b34080734f08e..cae778f3c3383e 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - cut on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data I - Japanese - cut on 'input_text' diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html index 6e54175d3c3bf6..f99ebefee7feb4 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - paste on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data I - Japanese - paste on 'input_text' diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html index 7f5d103a963545..01b6035dbf811c 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - copy on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data II - random Unicode symbols - copy on 'input_text' diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html index 694285ab595092..c2700dbd9115c2 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - cut on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data II - random Unicode symbols - cut on 'input_text' diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html index d5e6a2b9819404..9289126fa4313e 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on document + Clipboard API - ClipboardEvent - events fire on INPUT - copy on document diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html index 8112be7e0f9ca7..f091a44c6e7715 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on 'input_text' + Clipboard API - ClipboardEvent - events fire on INPUT - copy on 'input_text' diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html index fdbd5cd999cb2e..43bb7168d36dec 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on document + Clipboard API - ClipboardEvent - events fire on INPUT - cut on document diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html index 303b29d488ea7f..58420c3fc2f0e4 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on 'input_text' + Clipboard API - ClipboardEvent - events fire on INPUT - cut on 'input_text' diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html index 05dff395a688b6..82b6396d117f3a 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on document + Clipboard API - ClipboardEvent - events fire on TEXTAREA - copy on document diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html index 4ae2d1a1110350..0a602a88fd7624 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on 'input_text' + Clipboard API - ClipboardEvent - events fire on TEXTAREA - copy on 'input_text' diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html index 1877b0fc239857..f48552e6466a00 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on document + Clipboard API - ClipboardEvent - events fire on TEXTAREA - cut on document diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html index 0efbf6228d0e2d..6aabc5f90c435b 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on 'input_text' + Clipboard API - ClipboardEvent - events fire on TEXTAREA - cut on 'input_text' diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html index c2ac560deb0e62..dbf315bec551db 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - execCommand() inside trusted event affects clipboard - copy on document + Clipboard API - ClipboardEvent interface - execCommand() inside trusted event affects clipboard - copy on document diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html index 3a3cbcc07ce48d..9c8f9443d05631 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - execCommand() inside trusted event affects clipboard - cut on document + Clipboard API - ClipboardEvent interface - execCommand() inside trusted event affects clipboard - cut on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 3b2e2f91ac446e..12193ffd352230 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - copy on document + Clipboard API - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - copy on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index 7ca77ed8bd3a33..ae117a18a1513d 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - cut on document + Clipboard API - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - cut on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index 4afe9ac0c452a4..8f065e70cd14db 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic events with new ClipboardEvent constructor - paste on document + Clipboard API - ClipboardEvent interface - synthetic events with new ClipboardEvent constructor - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index fba4845cef09d2..64aac0d03a5efd 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic events with non-standard MIME type - paste on document + Clipboard API - ClipboardEvent interface - synthetic events with non-standard MIME type - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index ea1d060470de73..ac24ffe87d6005 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert HTML data into contentEditable element - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert HTML data into contentEditable element - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html index 1f1a5e956ee684..0e234fd18181c6 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert payload data into INPUT - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert payload data into INPUT - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html index b0e34ce7cf5279..93ae2fbf181cc5 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert payload data into TEXTAREA - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert payload data into TEXTAREA - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html index a10cd22760b49f..87716c2f0b9346 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert plain text data into contentEditable element - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert plain text data into contentEditable element - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html index 35ac439688f0ab..da7154c09ff3b3 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT - paste on document diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html index 1f10a1a5b5fd86..65166cd3001c3e 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event does not modify selection - copy on document + Clipboard API - copy event does not modify selection - copy on document diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html index 1478618abf156a..da1465f15396bf 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event does not modify selection - copy on 'input_text' + Clipboard API - copy event does not modify selection - copy on 'input_text' diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html index e3c6063915b97e..1180fe31cbd556 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event target property - selection in input - copy on document + Clipboard API - copy event target property - selection in input - copy on document diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html index c2c095d218e172..86fa7f627830c3 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event target property - selection in input - cut on document + Clipboard API - copy event target property - selection in input - cut on document diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html index 68b0e2969ebc74..804189c77e1c48 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event target property - selection in input - paste on document + Clipboard API - copy event target property - selection in input - paste on document diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html index 9519c3f15aba9e..0986151cecee94 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event when there is no selection and script uses setData() - copy on document + Clipboard API - copy event when there is no selection and script uses setData() - copy on document diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html index a8570e9f5cc1cb..1fb858ec348442 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event when there is no selection and script uses setData() - cut on document + Clipboard API - copy event when there is no selection and script uses setData() - cut on document diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html index 738ac8dfa4a4a3..48a7173e27a8ee 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy operation does not dispatch other events - copy on document + Clipboard API - copy operation does not dispatch other events - copy on document diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html index 4fac2b47eeda0e..b54dd5798506f0 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy operation does not dispatch other events - copy on 'input_text' + Clipboard API - copy operation does not dispatch other events - copy on 'input_text' diff --git a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html index 5e4696084c6a7e..34f95e47408f97 100644 --- a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html +++ b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cut collapses selection - cut on 'input_text' + Clipboard API - cut collapses selection - cut on 'input_text' diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html index 8c8744b2d3ce5a..c68c47dae43f9f 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - cut fires before text is removed - cut on document + Clipboard API - cut fires before text is removed - cut on document diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html index 8e501642550414..f7774b896c00f6 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cut fires before text is removed - cut on 'input_text' + Clipboard API - cut fires before text is removed - cut on 'input_text' diff --git a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html index 1193a269e63524..eccb4745598c05 100644 --- a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html +++ b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - default action of cut event when there is no selection - no text change - copy on document + Clipboard API - default action of cut event when there is no selection - no text change - copy on document diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html index 9e2ba1ffe83e64..f7401bef621bb1 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - default action of event when there is no selection is noop - copy on document + Clipboard API - default action of event when there is no selection is noop - copy on document diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html index fb76e7db9c692f..09ba3c83d98f91 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - default action of event when there is no selection is noop - cut on document + Clipboard API - default action of event when there is no selection is noop - cut on document diff --git a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html index 3587234493b1f0..f44714df98d3e2 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - event listener that modifies focus - copy on 'input_text' + Clipboard API - event listener that modifies focus - copy on 'input_text' diff --git a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html index 235dea078f9781..3ed7260e8bc000 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - event listener that modifies focus - cut on 'input_text' + Clipboard API - event listener that modifies focus - cut on 'input_text' diff --git a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html index d45077eadc4820..ea7cb147ba6b7f 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - event listener that modifies focus - paste on 'input_text' + Clipboard API - event listener that modifies focus - paste on 'input_text' diff --git a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html index ae80603ea5de57..d43c47610fafa3 100644 --- a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html +++ b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event listener that modifies selection - copy on document + Clipboard API - event listener that modifies selection - copy on document diff --git a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html index 22bc4f728face9..f1c0e830989d13 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target property - selection in document text - copy on document + Clipboard API - event target property - selection in document text - copy on document diff --git a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html index 11adbc5ac01b8f..a939ec4993b2c8 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target property - selection in document text - cut on document + Clipboard API - event target property - selection in document text - cut on document diff --git a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html index 29d0f76e0344be..703026fc2c8562 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target property - selection in document text - paste on document + Clipboard API - event target property - selection in document text - paste on document diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html index 25e8bf804edc73..9227d02cb681bc 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when focused element has no text node inside - paste on document + Clipboard API - event target when focused element has no text node inside - paste on document diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html index 079c1b5e846163..7cb1b520ea4103 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when focused element has no text node inside - paste on 'input_img' + Clipboard API - event target when focused element has no text node inside - paste on 'input_img' diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html index 63312b0513e1f6..54c0dfc51641d9 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when no specific element has focus - copy on document + Clipboard API - event target when no specific element has focus - copy on document diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html index a68130429b21c8..6ba975c0652b2e 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when no specific element has focus - cut on document + Clipboard API - event target when no specific element has focus - cut on document diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html index 4dda157e3ca20b..5a6371b33f26f4 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when no specific element has focus - paste on document + Clipboard API - event target when no specific element has focus - paste on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html index e3724dec146b35..b0262f1cf76125 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - copy on 'a' + Clipboard API - event target when selection spans several elements - copy on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html index 79da1d2ee7c700..56caa15b09918f 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - copy on 'b' + Clipboard API - event target when selection spans several elements - copy on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html index 549165f9867ad7..2f11e2eb0ff526 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - copy on document + Clipboard API - event target when selection spans several elements - copy on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html index 476cad481071cf..e2659042f5b699 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - cut on 'a' + Clipboard API - event target when selection spans several elements - cut on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html index 29574777f88fad..6234e6f60ddf5e 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - cut on 'b' + Clipboard API - event target when selection spans several elements - cut on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html index 83f7b2ecec0d55..55a0e18c9c5676 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - cut on document + Clipboard API - event target when selection spans several elements - cut on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html index fad25658d02000..63f983ba784a5d 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - paste on 'a' + Clipboard API - event target when selection spans several elements - paste on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html index f33496616cfa2f..303de4996767e2 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - paste on 'b' + Clipboard API - event target when selection spans several elements - paste on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html index 7067db162925a3..8f5c36b09f2e51 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - paste on document + Clipboard API - event target when selection spans several elements - paste on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html index f70856095e65bb..75f50e296a1084 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'a' + Clipboard API - event target when selection spans several elements - reversed selection - copy on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html index bf78c094a16c81..041d131cf266eb 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'b' + Clipboard API - event target when selection spans several elements - reversed selection - copy on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html index c4d0bce3158a21..0e10a24ddf9683 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - copy on document + Clipboard API - event target when selection spans several elements - reversed selection - copy on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html index 30da84e0265976..6833c49ae615fe 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'a' + Clipboard API - event target when selection spans several elements - reversed selection - cut on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html index 7566ffc32a9621..5fb78810adafc8 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'b' + Clipboard API - event target when selection spans several elements - reversed selection - cut on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html index 9abe0a5ca1b813..03f8331971e6c4 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - cut on document + Clipboard API - event target when selection spans several elements - reversed selection - cut on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html index e9e8cf72df80f3..4cbdddb89f0452 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'a' + Clipboard API - event target when selection spans several elements - reversed selection - paste on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html index b7b4f4512e0c19..e01c1b02d825b7 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'b' + Clipboard API - event target when selection spans several elements - reversed selection - paste on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html index 0fdef45e7f71f7..5396fe36180bfc 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - paste on document + Clipboard API - event target when selection spans several elements - reversed selection - paste on document diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html index 9baaf053cee73f..9b907ddb4e7839 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - copy on document + Clipboard API - event.clipboardData exists and inherits from DataTransfer - copy on document diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html index 5fd7799f04b984..93fc910579752a 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - cut on document + Clipboard API - event.clipboardData exists and inherits from DataTransfer - cut on document diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html index 9a43abc9485b31..083fec1f6aeea5 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - paste on document + Clipboard API - event.clipboardData exists and inherits from DataTransfer - paste on document diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html index f5c576daca62f1..9933a3d51eb1a5 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - copy on document + Clipboard API - events fire inside editable SVG content - copy on document diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html index 167828557efcc3..c770968fbd6402 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - copy on 'svg_text' + Clipboard API - events fire inside editable SVG content - copy on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html index 3bb3229ad8221f..f9301c2e1d1d6c 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - cut on document + Clipboard API - events fire inside editable SVG content - cut on document diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html index 7045c8f6fda986..e3aaa46a70c6af 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - cut on 'svg_text' + Clipboard API - events fire inside editable SVG content - cut on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html index d48437ea789876..72c5a7f0e1896b 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - paste on document + Clipboard API - events fire inside editable SVG content - paste on document diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html index 5bbba9341da34a..50f77cac3c4dc0 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - paste on 'svg_text' + Clipboard API - events fire inside editable SVG content - paste on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html index 9c5aa3515e0e85..e0833f1e233b3d 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - copy on document + Clipboard API - events fire inside SVG content - copy on document diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html index 709a0319b09995..37bb8fce7ad40b 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - copy on 'svg_text' + Clipboard API - events fire inside SVG content - copy on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html index a16dcf0da9b65d..29d5a0be941c1f 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - cut on document + Clipboard API - events fire inside SVG content - cut on document diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html index a35b9ba2617291..e45a89bde74efd 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - cut on 'svg_text' + Clipboard API - events fire inside SVG content - cut on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html index ab45dc9d672306..60ad116cde88ff 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - copy on document + Clipboard API - events fire inside SVG content in contentEditable - copy on document diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html index c724796f54d2f6..6380fe3c9af6da 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - copy on 'svg_text' + Clipboard API - events fire inside SVG content in contentEditable - copy on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html index ced843c08578d2..3cffd5dfbb625e 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - cut on document + Clipboard API - events fire inside SVG content in contentEditable - cut on document diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html index 30836f2d6c28e6..354ad941600e59 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - cut on 'svg_text' + Clipboard API - events fire inside SVG content in contentEditable - cut on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html index 67f9c8ad5559d1..cb982fb8648e37 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - paste on document + Clipboard API - events fire inside SVG content in contentEditable - paste on document diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html index 1e1c8c79b31ead..ba9702e066fa3a 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - paste on 'svg_text' + Clipboard API - events fire inside SVG content in contentEditable - paste on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html index 95fc1882e2afce..0b555b9c8c3705 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - paste on document + Clipboard API - events fire inside SVG content - paste on document diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html index d659e9c7c650bf..9a8afd3b102c32 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - paste on 'svg_text' + Clipboard API - events fire inside SVG content - paste on 'svg_text' diff --git a/clipboard-apis/events_fire_on_input_paste_on_document.html b/clipboard-apis/events_fire_on_input_paste_on_document.html index db25122e6ae01a..308b1e2d08dd39 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_document.html +++ b/clipboard-apis/events_fire_on_input_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire on INPUT - paste on document + Clipboard API - events fire on INPUT - paste on document diff --git a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html index 395a300943b475..73818c1cf67297 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire on INPUT - paste on 'input_text' + Clipboard API - events fire on INPUT - paste on 'input_text' diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_document.html b/clipboard-apis/events_fire_on_textarea_paste_on_document.html index ebb46bbec57036..1e00cd401d337d 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_document.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire on TEXTAREA - paste on document + Clipboard API - events fire on TEXTAREA - paste on document diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html index cd115d669a4282..aacc26ec88933e 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire on TEXTAREA - paste on 'input_text' + Clipboard API - events fire on TEXTAREA - paste on 'input_text' diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html index 888b84d887e83b..d23f1a31f48df8 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method in cut and copy events should return an empty string - copy on document + Clipboard API - getData() method in cut and copy events should return an empty string - copy on document diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html index 07572f8ac254c8..536f27f3b51d35 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method in cut and copy events should return an empty string - cut on document + Clipboard API - getData() method in cut and copy events should return an empty string - cut on document diff --git a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html index ace3eb2fbb78f1..78d64c514517b4 100644 --- a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html +++ b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method in paste event retrieving plain text - paste on document + Clipboard API - getData() method in paste event retrieving plain text - paste on document diff --git a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html index 8bfc5ea8de6063..32d40878b125db 100644 --- a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html +++ b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method supports legacy 'text' argument - paste on document + Clipboard API - getData() method supports legacy 'text' argument - paste on document diff --git a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html index fee5d34c6aff90..ccd1bc6c272565 100644 --- a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method when called outside event handler should return an empty string - paste on document + Clipboard API - getData() method when called outside event handler should return an empty string - paste on document diff --git a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html index b975dd068de419..f49c9dfa960a5a 100644 --- a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method when type is unsupported should return an empty string - paste on document + Clipboard API - getData() method when type is unsupported should return an empty string - paste on document diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index 64a8e0fca8b4ab..b2c85211fb22a8 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method with wrong number of arguments - paste on document + Clipboard API - getData() method with wrong number of arguments - paste on document diff --git a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html index e0b5375562dd0c..1d2e31ead7f738 100644 --- a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html +++ b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method's type argument not case sensitive - paste on document + Clipboard API - getData() method's type argument not case sensitive - paste on document diff --git a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html index 00c2a1a4e1b145..15684daa587d38 100644 --- a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html +++ b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() supports legacy 'url' argument - paste on document + Clipboard API - getData() supports legacy 'url' argument - paste on document diff --git a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index c6be5961669446..a8e318f6f1a3f4 100644 --- a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getting data from clipboardData.items when clipboard has one single text/plain entry - paste on document + Clipboard API - getting data from clipboardData.items when clipboard has one single text/plain entry - paste on document diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index 074cc757d1de34..7e27d9075a9b7f 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, can prevent default action - copy on 'ifr.contentWindow' + Clipboard API - integration with execCommand, can prevent default action - copy on 'ifr.contentWindow' diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 76cacc490816e2..b1ec92f590076d 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, can prevent default action - cut on 'ifr.contentWindow' + Clipboard API - integration with execCommand, can prevent default action - cut on 'ifr.contentWindow' diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index 2dbef560005f09..f1ad4b2ed6ca69 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' + Clipboard API - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index 507ba373aaac24..a2acc1eca1cebe 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, events are syncronous - copy on 'iframe.contentWindow' + Clipboard API - integration with execCommand, events are syncronous - copy on 'iframe.contentWindow' diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 66033bcab4d5de..abf66225f12c2d 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, events are syncronous - cut on 'iframe.contentWindow' + Clipboard API - integration with execCommand, events are syncronous - cut on 'iframe.contentWindow' diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html index 6f52d36c08ad4e..c89ae6297cd98d 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand - returns false when not allowed to write to clipboard - copy on document + Clipboard API - integration with execCommand - returns false when not allowed to write to clipboard - copy on document diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html index 9cc2806971cdf2..a010ffca3a5d9a 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand - returns false when not allowed to write to clipboard - cut on document + Clipboard API - integration with execCommand - returns false when not allowed to write to clipboard - cut on document diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html index 8dd38773b47cf6..3118c156f45cbc 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - items.add() called outside event handler method - copy on document + Clipboard API - items.add() called outside event handler method - copy on document diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index 2d859b518c96c7..86a75ab999ed76 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - items.add() called outside event handler method - cut on document + Clipboard API - items.add() called outside event handler method - cut on document diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index f56b26f1c7e37b..9ccaeee0679a16 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - items.add() called outside event handler method - paste on document + Clipboard API - items.add() called outside event handler method - paste on document diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html index 052dd9f2b811ad..53ba24a860632a 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - modifying data for cut event in non-editable context with selection - copy on document + Clipboard API - modifying data for cut event in non-editable context with selection - copy on document diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html index 266e7ecf10202a..bd2e90e0dab030 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - modifying data for cut event in non-editable context with selection - cut on document + Clipboard API - modifying data for cut event in non-editable context with selection - cut on document diff --git a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html index 5f7b32dc5df44f..8482ad292fbdd5 100644 --- a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html +++ b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - no default action for cut in non-editable context - cut on document + Clipboard API - no default action for cut in non-editable context - cut on document diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html index 0d280838b595ae..065638684ca8a2 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - paste event fires before data is inserted - paste on document + Clipboard API - paste event fires before data is inserted - paste on document diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html index 6105a390ae45a9..8a551a94dad555 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - paste event fires before data is inserted - paste on 'input_text' + Clipboard API - paste event fires before data is inserted - paste on 'input_text' diff --git a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html index b289a82256aeb0..7f4992a99b3587 100644 --- a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - paste event fires even in non-editable context - paste on document + Clipboard API - paste event fires even in non-editable context - paste on document diff --git a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html index 9bfdf2dcd59a22..00b40b4cf2f5bb 100644 --- a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - pasting a file of unknown type - paste on document + Clipboard API - pasting a file of unknown type - paste on document diff --git a/clipboard-apis/pasting_a_file_paste_on_document.html b/clipboard-apis/pasting_a_file_paste_on_document.html index ca1af777c2b060..4dd6ba7cee6ccf 100644 --- a/clipboard-apis/pasting_a_file_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - pasting a file - paste on document + Clipboard API - pasting a file - paste on document diff --git a/clipboard-apis/preventing_default_action_paste_on_document.html b/clipboard-apis/preventing_default_action_paste_on_document.html index c8e63a794a49ba..efd7d4b9438ec1 100644 --- a/clipboard-apis/preventing_default_action_paste_on_document.html +++ b/clipboard-apis/preventing_default_action_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - preventing default action - paste on document + Clipboard API - preventing default action - paste on document diff --git a/clipboard-apis/preventing_default_action_paste_on_inputtext.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html index a0bbb746713f59..0cc6de4e897147 100644 --- a/clipboard-apis/preventing_default_action_paste_on_inputtext.html +++ b/clipboard-apis/preventing_default_action_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - preventing default action - paste on 'input_text' + Clipboard API - preventing default action - paste on 'input_text' diff --git a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html index f56f3083b62bff..d0da6561874d76 100644 --- a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html +++ b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - reading clipboard data from looping script - paste on document + Clipboard API - reading clipboard data from looping script - paste on document diff --git a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html index c25756c3566126..aceb9957363a3a 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData and clipboardData.items - copy on document + Clipboard API - setData and clipboardData.items - copy on document diff --git a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html index 60733a00ab6e3f..8e2c1efe38ec33 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData and clipboardData.items - cut on document + Clipboard API - setData and clipboardData.items - cut on document diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index 7edb2b9098f565..aaa38c41634cd8 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() called outside event handler method - copy on document + Clipboard API - setData() called outside event handler method - copy on document diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index e2a6f5f11ca311..1e2c1d0de54673 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() called outside event handler method - cut on document + Clipboard API - setData() called outside event handler method - cut on document diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index 3f75581bdfc4fa..0ec69aeeb31b80 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() called outside event handler method - paste on document + Clipboard API - setData() called outside event handler method - paste on document diff --git a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html index db5c80b062d5b2..af1ff5f4a39885 100644 --- a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html +++ b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() does not modify text that is about to be inserted in a paste event - paste on document + Clipboard API - setData() does not modify text that is about to be inserted in a paste event - paste on document diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html index 1ad04175dd066d..f3231c39081b0f 100644 --- a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() doesn't modify text on the clipboard when called from a paste event - paste on 'input_text' + Clipboard API - setData() doesn't modify text on the clipboard when called from a paste event - paste on 'input_text' diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html index b0230c7f1496b9..5bd94ec5bcb830 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() followed by clearData() in same event handler - copy on document + Clipboard API - setData() followed by clearData() in same event handler - copy on document diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html index b56a241c09d9b4..6f0b410291ccfa 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() followed by clearData() in same event handler - cut on document + Clipboard API - setData() followed by clearData() in same event handler - cut on document diff --git a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html index ef668af820393c..2e3f7f58073c2c 100644 --- a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html +++ b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() in cut event without preventDefault() has no effect when default action is noop - cut on document + Clipboard API - setData() in cut event without preventDefault() has no effect when default action is noop - cut on document diff --git a/clipboard-apis/setdata_method_copy_on_document.html b/clipboard-apis/setdata_method_copy_on_document.html index 161bdf669ea20b..b73347b7041878 100644 --- a/clipboard-apis/setdata_method_copy_on_document.html +++ b/clipboard-apis/setdata_method_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method - copy on document + Clipboard API - setData() method - copy on document diff --git a/clipboard-apis/setdata_method_cut_on_document.html b/clipboard-apis/setdata_method_cut_on_document.html index baa40b28925322..f27c9aef5ae2a3 100644 --- a/clipboard-apis/setdata_method_cut_on_document.html +++ b/clipboard-apis/setdata_method_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method - cut on document + Clipboard API - setData() method - cut on document diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html index 457386f489f1e6..f880dce30627f1 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method does not throw when implementation does not know the type - copy on document + Clipboard API - setData() method does not throw when implementation does not know the type - copy on document diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html index b8dfd394e1efa2..47ec292ef7077d 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method does not throw when implementation does not know the type - cut on document + Clipboard API - setData() method does not throw when implementation does not know the type - cut on document diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html index feb15adb88362e..6e18db80ddafb1 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method with text/html (experimental) - copy on document + Clipboard API - setData() method with text/html (experimental) - copy on document diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html index 46f83916ad23ba..2fcc4d0188fd2c 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method with text/html (experimental) - cut on document + Clipboard API - setData() method with text/html (experimental) - cut on document diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html index 4cd929e488ecee..abc5c32a147530 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method without preventing events's default action - copy on document + Clipboard API - setData() method without preventing events's default action - copy on document diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html index 50667c10cc26a4..cd757f7a852438 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method without preventing events's default action - cut on document + Clipboard API - setData() method without preventing events's default action - cut on document diff --git a/clipboard-apis/support/TC-generator/tc-gen.py b/clipboard-apis/support/TC-generator/tc-gen.py index efe9ca497904e3..f780935a301427 100644 --- a/clipboard-apis/support/TC-generator/tc-gen.py +++ b/clipboard-apis/support/TC-generator/tc-gen.py @@ -15,7 +15,7 @@ template = u""" - ClipboardEvent - {title} + Clipboard API - {title} diff --git a/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html index c5da11e11536b9..f9e24f64a77534 100644 --- a/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html +++ b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - types property - 'text/plain' in .types entries when there is plain text on the clipboard - paste on document + Clipboard API - types property - 'text/plain' in .types entries when there is plain text on the clipboard - paste on document diff --git a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html index 298868763e0523..edada11eedea0f 100644 --- a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html +++ b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Using beforecopy to enable 'copy' UI that would otherwise be disabled - copy on document + Clipboard API - Using beforecopy to enable 'copy' UI that would otherwise be disabled - copy on document diff --git a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html index dcadc83346c924..6d81ec1fd765df 100644 --- a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html +++ b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Using beforecut to enable 'cut' UI that would otherwise be disabled - cut on document + Clipboard API - Using beforecut to enable 'cut' UI that would otherwise be disabled - cut on document diff --git a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html index 8291cf245b1ccd..e93520dedf34ed 100644 --- a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html +++ b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Using beforepaste to enable 'paste' UI that would otherwise be disabled - paste on document + Clipboard API - Using beforepaste to enable 'paste' UI that would otherwise be disabled - paste on document From 0912abc772b1554b4e40df43ff3f5e8315ca695e Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 18:33:36 +0200 Subject: [PATCH 16/42] removing clipboard event constructor config that is not being tested --- ...s_with_new_clipboardevent_constructor_paste_on_document.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index 8f065e70cd14db..d12f6aa79d7ae5 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -14,7 +14,7 @@ } function onTestSetupReady(){ try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + var evt=new ClipboardEvent('paste', {dataType: 'text/plain', data: 'synthetic event text'}); document.dispatchEvent(evt); }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); From 19df515b43ead7bbd666abe40f0170fbf0f34291 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 19:33:01 +0200 Subject: [PATCH 17/42] spec changed event object construction, tests need fixing --- ...s_must_not_affect_system_clipboard_copy_on_document.html | 6 ++++-- ...ts_must_not_affect_system_clipboard_cut_on_document.html | 6 ++++-- ...th_new_clipboardevent_constructor_paste_on_document.html | 3 ++- ...events_with_nonstandard_mime_type_paste_on_document.html | 3 ++- ...data_into_contenteditable_element_paste_on_document.html | 5 +++-- ...ot_insert_payload_data_into_input_paste_on_document.html | 3 ++- ...insert_payload_data_into_textarea_paste_on_document.html | 3 ++- ...data_into_contenteditable_element_paste_on_document.html | 5 +++-- ..._texthtml_payload_data_into_input_paste_on_document.html | 3 ++- 9 files changed, 24 insertions(+), 13 deletions(-) diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 12193ffd352230..3935073932af65 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -11,10 +11,12 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - + /* The result must be checked externally - i.e. what's on the clipboard.. */ } function onTestSetupReady(type){ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + var evt = new ClipboardEvent(window.eventType); + evt.clipboardData.items.add('synthetic event text', 'text/plain'); + evt.preventDefault(); if(type === 'cut'){ document.body.contentEditable='true'; } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index ae117a18a1513d..73c55f7aec3d6a 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -11,10 +11,12 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - + /* The result must be checked externally - i.e. what's on the clipboard.. */ } function onTestSetupReady(type){ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + var evt = new ClipboardEvent(window.eventType); + evt.clipboardData.items.add('synthetic event text', 'text/plain'); + evt.preventDefault(); if(type === 'cut'){ document.body.contentEditable='true'; } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index d12f6aa79d7ae5..de0fbffabc21e3 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -14,7 +14,8 @@ } function onTestSetupReady(){ try{ - var evt=new ClipboardEvent('paste', {dataType: 'text/plain', data: 'synthetic event text'}); + var evt = new ClipboardEvent('paste') + evt.clipboardData.items.add('synthetic event text', 'text/plain'); document.dispatchEvent(evt); }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index 64aac0d03a5efd..1c85528b46b40a 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -15,7 +15,8 @@ function onTestSetupReady(){ try{ - var evt=new ClipboardEvent( 'paste', {bubbles:true, cancelable:true, dataType: 'text/foobarbogustype', data:'synthetic event text'} ); + var evt = new ClipboardEvent('paste'); + evt.clipboardData.items.add('synthetic event text', 'text/foobarbogustype'); document.dispatchEvent(evt); }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index ac24ffe87d6005..aae544db9768b7 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -11,9 +11,10 @@ /* paste data: "clipboard text" */ /* Test HTML:

Editable element

+ + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/002.html b/clipboard-apis/002.html new file mode 100644 index 00000000000000..a20663330d6dd5 --- /dev/null +++ b/clipboard-apis/002.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/003.html b/clipboard-apis/003.html new file mode 100644 index 00000000000000..bddcfdec0bef70 --- /dev/null +++ b/clipboard-apis/003.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/004.html b/clipboard-apis/004.html new file mode 100644 index 00000000000000..45abcf8a096ff3 --- /dev/null +++ b/clipboard-apis/004.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/005.html b/clipboard-apis/005.html new file mode 100644 index 00000000000000..eecab6d807b46b --- /dev/null +++ b/clipboard-apis/005.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/006.html b/clipboard-apis/006.html new file mode 100644 index 00000000000000..238a9c2ebf86d6 --- /dev/null +++ b/clipboard-apis/006.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/007.html b/clipboard-apis/007.html new file mode 100644 index 00000000000000..428f2cb93465e5 --- /dev/null +++ b/clipboard-apis/007.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/008.html b/clipboard-apis/008.html new file mode 100644 index 00000000000000..29d7b2b8ce2a2b --- /dev/null +++ b/clipboard-apis/008.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/009.html b/clipboard-apis/009.html new file mode 100644 index 00000000000000..cf6a569caec314 --- /dev/null +++ b/clipboard-apis/009.html @@ -0,0 +1,41 @@ + + + + ClipboardEvent - setData() method - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/010.html b/clipboard-apis/010.html new file mode 100644 index 00000000000000..08b6f7c93fdf8e --- /dev/null +++ b/clipboard-apis/010.html @@ -0,0 +1,41 @@ + + + + ClipboardEvent - setData() method - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/011.html b/clipboard-apis/011.html new file mode 100644 index 00000000000000..6deba44d03789a --- /dev/null +++ b/clipboard-apis/011.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - copy event when there is no selection and script uses setData() - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/012.html b/clipboard-apis/012.html new file mode 100644 index 00000000000000..ca3bea64a4f858 --- /dev/null +++ b/clipboard-apis/012.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - copy event when there is no selection and script uses setData() - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/013.html b/clipboard-apis/013.html new file mode 100644 index 00000000000000..260cacb81e1053 --- /dev/null +++ b/clipboard-apis/013.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action, basic test - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/014.html b/clipboard-apis/014.html new file mode 100644 index 00000000000000..5480ffb0fc7e4b --- /dev/null +++ b/clipboard-apis/014.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action, basic test - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/015.html b/clipboard-apis/015.html new file mode 100644 index 00000000000000..11ccfa24ea24da --- /dev/null +++ b/clipboard-apis/015.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action, basic test - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/016.html b/clipboard-apis/016.html new file mode 100644 index 00000000000000..905da9a833fe12 --- /dev/null +++ b/clipboard-apis/016.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action, basic test - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/017.html b/clipboard-apis/017.html new file mode 100644 index 00000000000000..907cc2dbe03982 --- /dev/null +++ b/clipboard-apis/017.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - copy event does not modify selection - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/018.html b/clipboard-apis/018.html new file mode 100644 index 00000000000000..42152842251a4a --- /dev/null +++ b/clipboard-apis/018.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - copy event does not modify selection - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/019.html b/clipboard-apis/019.html new file mode 100644 index 00000000000000..6d5724d3fc6860 --- /dev/null +++ b/clipboard-apis/019.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - default action of event when there is no selection is noop - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/020.html b/clipboard-apis/020.html new file mode 100644 index 00000000000000..486dd8706d96aa --- /dev/null +++ b/clipboard-apis/020.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - default action of event when there is no selection is noop - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/021.html b/clipboard-apis/021.html new file mode 100644 index 00000000000000..3220340481de09 --- /dev/null +++ b/clipboard-apis/021.html @@ -0,0 +1,40 @@ + + + + ClipboardEvent - default action of cut event when there is no selection - no text change - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/022.html b/clipboard-apis/022.html new file mode 100644 index 00000000000000..49631d427d926d --- /dev/null +++ b/clipboard-apis/022.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - getData() method in cut and copy events should return an empty string - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/023.html b/clipboard-apis/023.html new file mode 100644 index 00000000000000..38da96c3a4d01a --- /dev/null +++ b/clipboard-apis/023.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - getData() method in cut and copy events should return an empty string - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/024.html b/clipboard-apis/024.html new file mode 100644 index 00000000000000..ce54b6e743367e --- /dev/null +++ b/clipboard-apis/024.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - getData() method when type is unsupported should return an empty string - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/025.html b/clipboard-apis/025.html new file mode 100644 index 00000000000000..d55560db47873d --- /dev/null +++ b/clipboard-apis/025.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/026.html b/clipboard-apis/026.html new file mode 100644 index 00000000000000..1fe9ba269296cf --- /dev/null +++ b/clipboard-apis/026.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/027.html b/clipboard-apis/027.html new file mode 100644 index 00000000000000..6e6b98db6bebff --- /dev/null +++ b/clipboard-apis/027.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - no default action for cut in non-editable context - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/028.html b/clipboard-apis/028.html new file mode 100644 index 00000000000000..d6f4f233589a30 --- /dev/null +++ b/clipboard-apis/028.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - setData() in cut event without preventDefault() has no effect when default action is noop - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/029.html b/clipboard-apis/029.html new file mode 100644 index 00000000000000..7f696e91292584 --- /dev/null +++ b/clipboard-apis/029.html @@ -0,0 +1,33 @@ + + + + ClipboardEvent - cut fires before text is removed - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/030.html b/clipboard-apis/030.html new file mode 100644 index 00000000000000..e17bc91658c8da --- /dev/null +++ b/clipboard-apis/030.html @@ -0,0 +1,33 @@ + + + + ClipboardEvent - cut fires before text is removed - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/031.html b/clipboard-apis/031.html new file mode 100644 index 00000000000000..0dfce9caafa224 --- /dev/null +++ b/clipboard-apis/031.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - cut collapses selection - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/032.html b/clipboard-apis/032.html new file mode 100644 index 00000000000000..f9968d00d1fc63 --- /dev/null +++ b/clipboard-apis/032.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - modifying data for cut event in non-editable context with selection - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/033.html b/clipboard-apis/033.html new file mode 100644 index 00000000000000..0a97a656776c36 --- /dev/null +++ b/clipboard-apis/033.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - modifying data for cut event in non-editable context with selection - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/034.html b/clipboard-apis/034.html new file mode 100644 index 00000000000000..24cc907eafd64c --- /dev/null +++ b/clipboard-apis/034.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - setData() method without preventing events's default action - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/035.html b/clipboard-apis/035.html new file mode 100644 index 00000000000000..38a4f71b3735b3 --- /dev/null +++ b/clipboard-apis/035.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - setData() method without preventing events's default action - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/036.html b/clipboard-apis/036.html new file mode 100644 index 00000000000000..e24b256e32dc1f --- /dev/null +++ b/clipboard-apis/036.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - events fire on INPUT - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/037.html b/clipboard-apis/037.html new file mode 100644 index 00000000000000..b0dd204ca2a273 --- /dev/null +++ b/clipboard-apis/037.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - events fire on INPUT - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/038.html b/clipboard-apis/038.html new file mode 100644 index 00000000000000..9e626d2a97714d --- /dev/null +++ b/clipboard-apis/038.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - events fire on TEXTAREA - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/039.html b/clipboard-apis/039.html new file mode 100644 index 00000000000000..f39beeaefc944a --- /dev/null +++ b/clipboard-apis/039.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - events fire on TEXTAREA - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/040.html b/clipboard-apis/040.html new file mode 100644 index 00000000000000..dbd3a18acacfb3 --- /dev/null +++ b/clipboard-apis/040.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - paste event fires before data is inserted - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/041.html b/clipboard-apis/041.html new file mode 100644 index 00000000000000..4b8eda791f9ed5 --- /dev/null +++ b/clipboard-apis/041.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - paste event fires before data is inserted - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/042.html b/clipboard-apis/042.html new file mode 100644 index 00000000000000..a2d40b20d1081f --- /dev/null +++ b/clipboard-apis/042.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - preventing default action - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/043.html b/clipboard-apis/043.html new file mode 100644 index 00000000000000..fa8c06472f34c4 --- /dev/null +++ b/clipboard-apis/043.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - preventing default action - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/044.html b/clipboard-apis/044.html new file mode 100644 index 00000000000000..d92ad63f671e1c --- /dev/null +++ b/clipboard-apis/044.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - paste event fires even in non-editable context - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

 

+
+ + diff --git a/clipboard-apis/045.html b/clipboard-apis/045.html new file mode 100644 index 00000000000000..4724707944884b --- /dev/null +++ b/clipboard-apis/045.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - setData() does not modify text that is about to be inserted in a paste event - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/046.html b/clipboard-apis/046.html new file mode 100644 index 00000000000000..0dad407162d6a8 --- /dev/null +++ b/clipboard-apis/046.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - setData() doesn't modify text on the clipboard when called from a paste event - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/047.html b/clipboard-apis/047.html new file mode 100644 index 00000000000000..5cdfd948706e15 --- /dev/null +++ b/clipboard-apis/047.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - getData() method in paste event retrieving plain text - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/048.html b/clipboard-apis/048.html new file mode 100644 index 00000000000000..a63d706617cb6a --- /dev/null +++ b/clipboard-apis/048.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - getData() method when called outside event handler should return an empty string - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/049.html b/clipboard-apis/049.html new file mode 100644 index 00000000000000..a63b7541a4cf63 --- /dev/null +++ b/clipboard-apis/049.html @@ -0,0 +1,41 @@ + + + + ClipboardEvent - getData() method with wrong number of arguments - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/050.html b/clipboard-apis/050.html new file mode 100644 index 00000000000000..d5974e782aa37e --- /dev/null +++ b/clipboard-apis/050.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - getData() method supports legacy 'text' argument - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/051.html b/clipboard-apis/051.html new file mode 100644 index 00000000000000..4efdaf917c32ef --- /dev/null +++ b/clipboard-apis/051.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - getData() supports legacy 'url' argument - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/052.html b/clipboard-apis/052.html new file mode 100644 index 00000000000000..e882266f1a01fe --- /dev/null +++ b/clipboard-apis/052.html @@ -0,0 +1,40 @@ + + + + ClipboardEvent - getData() method's type argument not case sensitive - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/053.html b/clipboard-apis/053.html new file mode 100644 index 00000000000000..c854904e9911c4 --- /dev/null +++ b/clipboard-apis/053.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - Using beforecopy to enable 'copy' UI that would otherwise be disabled - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

The "copy" menu UI state is enabled on this page even when there is no selection.

+
+ + diff --git a/clipboard-apis/054.html b/clipboard-apis/054.html new file mode 100644 index 00000000000000..9cdb8ae38d3634 --- /dev/null +++ b/clipboard-apis/054.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - Using beforecut to enable 'cut' UI that would otherwise be disabled - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

The "cut" menu UI state is enabled on this page even when there is no editable selection.

+
+ + diff --git a/clipboard-apis/055.html b/clipboard-apis/055.html new file mode 100644 index 00000000000000..ed7576f0b04ab0 --- /dev/null +++ b/clipboard-apis/055.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - Using beforepaste to enable 'paste' UI that would otherwise be disabled - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

The "paste" menu UI state is enabled on this page even when there is no editable context.

+
+ + diff --git a/clipboard-apis/056.html b/clipboard-apis/056.html new file mode 100644 index 00000000000000..b963b211c667ef --- /dev/null +++ b/clipboard-apis/056.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/057.html b/clipboard-apis/057.html new file mode 100644 index 00000000000000..566e27a0ed0dd0 --- /dev/null +++ b/clipboard-apis/057.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/058.html b/clipboard-apis/058.html new file mode 100644 index 00000000000000..4369d1b0b3adfa --- /dev/null +++ b/clipboard-apis/058.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/059.html b/clipboard-apis/059.html new file mode 100644 index 00000000000000..7a7768b110c5f5 --- /dev/null +++ b/clipboard-apis/059.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - Clipboard event's clipboardData API - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/060.html b/clipboard-apis/060.html new file mode 100644 index 00000000000000..f4057297d9c19d --- /dev/null +++ b/clipboard-apis/060.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - Clipboard event's clipboardData API - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/061.html b/clipboard-apis/061.html new file mode 100644 index 00000000000000..df2b8549de6239 --- /dev/null +++ b/clipboard-apis/061.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - Clipboard event's clipboardData API - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/062.html b/clipboard-apis/062.html new file mode 100644 index 00000000000000..d97a0606d3a7e0 --- /dev/null +++ b/clipboard-apis/062.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/063.html b/clipboard-apis/063.html new file mode 100644 index 00000000000000..2253d69cd2247a --- /dev/null +++ b/clipboard-apis/063.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - copy on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/064.html b/clipboard-apis/064.html new file mode 100644 index 00000000000000..d4b96fa4f7fcae --- /dev/null +++ b/clipboard-apis/064.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - copy on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/065.html b/clipboard-apis/065.html new file mode 100644 index 00000000000000..9fe5b30e25e587 --- /dev/null +++ b/clipboard-apis/065.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/066.html b/clipboard-apis/066.html new file mode 100644 index 00000000000000..06871bb9b74369 --- /dev/null +++ b/clipboard-apis/066.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - cut on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/067.html b/clipboard-apis/067.html new file mode 100644 index 00000000000000..4966d67276398f --- /dev/null +++ b/clipboard-apis/067.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - cut on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/068.html b/clipboard-apis/068.html new file mode 100644 index 00000000000000..ab105191f05002 --- /dev/null +++ b/clipboard-apis/068.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/069.html b/clipboard-apis/069.html new file mode 100644 index 00000000000000..cba070e4c58004 --- /dev/null +++ b/clipboard-apis/069.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - paste on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/070.html b/clipboard-apis/070.html new file mode 100644 index 00000000000000..ce489467f6cf6a --- /dev/null +++ b/clipboard-apis/070.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - paste on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/071.html b/clipboard-apis/071.html new file mode 100644 index 00000000000000..14fc236ea09e2b --- /dev/null +++ b/clipboard-apis/071.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/072.html b/clipboard-apis/072.html new file mode 100644 index 00000000000000..1931b65194aa9a --- /dev/null +++ b/clipboard-apis/072.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/073.html b/clipboard-apis/073.html new file mode 100644 index 00000000000000..ccf27de14df739 --- /dev/null +++ b/clipboard-apis/073.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/074.html b/clipboard-apis/074.html new file mode 100644 index 00000000000000..d9db452730a08d --- /dev/null +++ b/clipboard-apis/074.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/075.html b/clipboard-apis/075.html new file mode 100644 index 00000000000000..3952b5398b200b --- /dev/null +++ b/clipboard-apis/075.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/076.html b/clipboard-apis/076.html new file mode 100644 index 00000000000000..7475a06ac8cb64 --- /dev/null +++ b/clipboard-apis/076.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/077.html b/clipboard-apis/077.html new file mode 100644 index 00000000000000..e0425321594da2 --- /dev/null +++ b/clipboard-apis/077.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/078.html b/clipboard-apis/078.html new file mode 100644 index 00000000000000..154fcec7024c11 --- /dev/null +++ b/clipboard-apis/078.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'a' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/079.html b/clipboard-apis/079.html new file mode 100644 index 00000000000000..0be698b0fffa33 --- /dev/null +++ b/clipboard-apis/079.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'b' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

This is filler text

+
+ + diff --git a/clipboard-apis/080.html b/clipboard-apis/080.html new file mode 100644 index 00000000000000..1488d46ba3e3ca --- /dev/null +++ b/clipboard-apis/080.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - event target when focused element has no text node inside - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/081.html b/clipboard-apis/081.html new file mode 100644 index 00000000000000..b26bf23fd936ad --- /dev/null +++ b/clipboard-apis/081.html @@ -0,0 +1,37 @@ + + + + ClipboardEvent - event target when focused element has no text node inside - paste on 'input_img' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/082.html b/clipboard-apis/082.html new file mode 100644 index 00000000000000..951a57d79e94f7 --- /dev/null +++ b/clipboard-apis/082.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - copy event target property - selection in input - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/083.html b/clipboard-apis/083.html new file mode 100644 index 00000000000000..abddc5b3bbeda1 --- /dev/null +++ b/clipboard-apis/083.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - copy event target property - selection in input - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/084.html b/clipboard-apis/084.html new file mode 100644 index 00000000000000..c9b945fdcb0ddb --- /dev/null +++ b/clipboard-apis/084.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - copy event target property - selection in input - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/085.html b/clipboard-apis/085.html new file mode 100644 index 00000000000000..6cce087fac9c57 --- /dev/null +++ b/clipboard-apis/085.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target property - selection in document text - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This text should be selected
+
+ + diff --git a/clipboard-apis/086.html b/clipboard-apis/086.html new file mode 100644 index 00000000000000..cd3e1b2d9d1acf --- /dev/null +++ b/clipboard-apis/086.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target property - selection in document text - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This text should be selected
+
+ + diff --git a/clipboard-apis/087.html b/clipboard-apis/087.html new file mode 100644 index 00000000000000..ab103d3371a601 --- /dev/null +++ b/clipboard-apis/087.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target property - selection in document text - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This text should be selected
+
+ + diff --git a/clipboard-apis/088.html b/clipboard-apis/088.html new file mode 100644 index 00000000000000..68af2fd8b06edd --- /dev/null +++ b/clipboard-apis/088.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when no specific element has focus - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This is filler text
+
+ + diff --git a/clipboard-apis/089.html b/clipboard-apis/089.html new file mode 100644 index 00000000000000..399ce36dc7d941 --- /dev/null +++ b/clipboard-apis/089.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when no specific element has focus - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This is filler text
+
+ + diff --git a/clipboard-apis/090.html b/clipboard-apis/090.html new file mode 100644 index 00000000000000..246daab730b81a --- /dev/null +++ b/clipboard-apis/090.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - event target when no specific element has focus - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This is filler text
+
+ + diff --git a/clipboard-apis/091.html b/clipboard-apis/091.html new file mode 100644 index 00000000000000..daf71cad1d5548 --- /dev/null +++ b/clipboard-apis/091.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clipboardData.items when clipboard has one single text/plain entry - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/092.html b/clipboard-apis/092.html new file mode 100644 index 00000000000000..8b92de5c6ce692 --- /dev/null +++ b/clipboard-apis/092.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - getting data from clipboardData.items when clipboard has one single text/plain entry - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/093.html b/clipboard-apis/093.html new file mode 100644 index 00000000000000..7f1b19386bbddf --- /dev/null +++ b/clipboard-apis/093.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData and clipboardData.items - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/094.html b/clipboard-apis/094.html new file mode 100644 index 00000000000000..a581519ebadeea --- /dev/null +++ b/clipboard-apis/094.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData and clipboardData.items - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/095.html b/clipboard-apis/095.html new file mode 100644 index 00000000000000..4025c6b76d01fa --- /dev/null +++ b/clipboard-apis/095.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - pasting a file - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

To complete this test, copy the './support/image.jpg' file from the OS file manager and paste into this page

 
+
+ + diff --git a/clipboard-apis/096.html b/clipboard-apis/096.html new file mode 100644 index 00000000000000..e4ea420da7bbea --- /dev/null +++ b/clipboard-apis/096.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - pasting a file of unknown type - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

To complete this test, copy the "./support/test" file from the OS file manager and paste into this page

+
+ + diff --git a/clipboard-apis/097.html b/clipboard-apis/097.html new file mode 100644 index 00000000000000..ce743660195beb --- /dev/null +++ b/clipboard-apis/097.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() followed by clearData() in same event handler - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/098.html b/clipboard-apis/098.html new file mode 100644 index 00000000000000..d4a0b9fb174037 --- /dev/null +++ b/clipboard-apis/098.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() followed by clearData() in same event handler - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/099.html b/clipboard-apis/099.html new file mode 100644 index 00000000000000..dd6d25f892de34 --- /dev/null +++ b/clipboard-apis/099.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() followed by setData() in same event handler - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/100.html b/clipboard-apis/100.html new file mode 100644 index 00000000000000..e9953ba247836c --- /dev/null +++ b/clipboard-apis/100.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() followed by setData() in same event handler - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/101.html b/clipboard-apis/101.html new file mode 100644 index 00000000000000..31e4e1f033dde5 --- /dev/null +++ b/clipboard-apis/101.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clipboard modification when script uses both clearData() and setData() - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/102.html b/clipboard-apis/102.html new file mode 100644 index 00000000000000..e9854c6cc79c26 --- /dev/null +++ b/clipboard-apis/102.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clipboard modification when script uses both clearData() and setData() - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/103.html b/clipboard-apis/103.html new file mode 100644 index 00000000000000..e11356515007fa --- /dev/null +++ b/clipboard-apis/103.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - reading clipboard data from looping script - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/104.html b/clipboard-apis/104.html new file mode 100644 index 00000000000000..439bd8b86e1fad --- /dev/null +++ b/clipboard-apis/104.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - clearData() method without arguments - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/105.html b/clipboard-apis/105.html new file mode 100644 index 00000000000000..0a155a0996561f --- /dev/null +++ b/clipboard-apis/105.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - clearData() method without arguments - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/106.html b/clipboard-apis/106.html new file mode 100644 index 00000000000000..4d6cbe1be62304 --- /dev/null +++ b/clipboard-apis/106.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - clearData() method with text/html argument - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/107.html b/clipboard-apis/107.html new file mode 100644 index 00000000000000..e491b63fad7467 --- /dev/null +++ b/clipboard-apis/107.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - clearData() method with text/html argument - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/108.html b/clipboard-apis/108.html new file mode 100644 index 00000000000000..164425a2acc84d --- /dev/null +++ b/clipboard-apis/108.html @@ -0,0 +1,41 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic events with new ClipboardEvent constructor - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/109.html b/clipboard-apis/109.html new file mode 100644 index 00000000000000..f1f7cd26bbde7a --- /dev/null +++ b/clipboard-apis/109.html @@ -0,0 +1,42 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic events with non-standard MIME type - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/110.html b/clipboard-apis/110.html new file mode 100644 index 00000000000000..8b6dbcade5ed63 --- /dev/null +++ b/clipboard-apis/110.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/111.html b/clipboard-apis/111.html new file mode 100644 index 00000000000000..b4c6c22c1209dd --- /dev/null +++ b/clipboard-apis/111.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/112.html b/clipboard-apis/112.html new file mode 100644 index 00000000000000..f75d4af6888c6b --- /dev/null +++ b/clipboard-apis/112.html @@ -0,0 +1,50 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events dispatched from trusted events do affect system clipboard - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/113.html b/clipboard-apis/113.html new file mode 100644 index 00000000000000..5e3221457d988a --- /dev/null +++ b/clipboard-apis/113.html @@ -0,0 +1,50 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events dispatched from trusted events do affect system clipboard - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/114.html b/clipboard-apis/114.html new file mode 100644 index 00000000000000..2eaa32c26848c2 --- /dev/null +++ b/clipboard-apis/114.html @@ -0,0 +1,44 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event inserts payload data into TEXTAREA - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/115.html b/clipboard-apis/115.html new file mode 100644 index 00000000000000..bdea181b530bd2 --- /dev/null +++ b/clipboard-apis/115.html @@ -0,0 +1,44 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event inserts payload data into INPUT - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/116.html b/clipboard-apis/116.html new file mode 100644 index 00000000000000..f34ab6e2ce34f4 --- /dev/null +++ b/clipboard-apis/116.html @@ -0,0 +1,44 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/117.html b/clipboard-apis/117.html new file mode 100644 index 00000000000000..d766bb91c81a5e --- /dev/null +++ b/clipboard-apis/117.html @@ -0,0 +1,48 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event inserts plain text data into contentEditable element - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Editable element

+
+ + diff --git a/clipboard-apis/118.html b/clipboard-apis/118.html new file mode 100644 index 00000000000000..c66e5cb3dbfcee --- /dev/null +++ b/clipboard-apis/118.html @@ -0,0 +1,48 @@ + + + + ClipboardEvent - ClipboardEvent interface - synthetic paste event inserts HTML data into contentEditable element - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Editable element

+
+ + diff --git a/clipboard-apis/119.html b/clipboard-apis/119.html new file mode 100644 index 00000000000000..f6a85862c561a6 --- /dev/null +++ b/clipboard-apis/119.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, events are syncronous - copy on 'iframe.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/120.html b/clipboard-apis/120.html new file mode 100644 index 00000000000000..b94da1b0016b4d --- /dev/null +++ b/clipboard-apis/120.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, events are syncronous - cut on 'iframe.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/121.html b/clipboard-apis/121.html new file mode 100644 index 00000000000000..212928def38f57 --- /dev/null +++ b/clipboard-apis/121.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, events are syncronous - paste on 'iframe.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/122.html b/clipboard-apis/122.html new file mode 100644 index 00000000000000..bd2a3e0fe61416 --- /dev/null +++ b/clipboard-apis/122.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, can prevent default action - copy on 'ifr.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/123.html b/clipboard-apis/123.html new file mode 100644 index 00000000000000..64e74baf36faaf --- /dev/null +++ b/clipboard-apis/123.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - integration with execCommand, can prevent default action - cut on 'ifr.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/124.html b/clipboard-apis/124.html new file mode 100644 index 00000000000000..52aaa6c54523e2 --- /dev/null +++ b/clipboard-apis/124.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/125.html b/clipboard-apis/125.html new file mode 100644 index 00000000000000..1b596d64cdc3d0 --- /dev/null +++ b/clipboard-apis/125.html @@ -0,0 +1,46 @@ + + + + ClipboardEvent - clipboard events relative to key events - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/126.html b/clipboard-apis/126.html new file mode 100644 index 00000000000000..324734a13eb4c7 --- /dev/null +++ b/clipboard-apis/126.html @@ -0,0 +1,46 @@ + + + + ClipboardEvent - clipboard events relative to key events - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/127.html b/clipboard-apis/127.html new file mode 100644 index 00000000000000..d3cb36bfe858b1 --- /dev/null +++ b/clipboard-apis/127.html @@ -0,0 +1,46 @@ + + + + ClipboardEvent - clipboard events relative to key events - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/128.html b/clipboard-apis/128.html new file mode 100644 index 00000000000000..8e055472461ee9 --- /dev/null +++ b/clipboard-apis/128.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/129.html b/clipboard-apis/129.html new file mode 100644 index 00000000000000..00190161afd972 --- /dev/null +++ b/clipboard-apis/129.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/130.html b/clipboard-apis/130.html new file mode 100644 index 00000000000000..428fd342301e7e --- /dev/null +++ b/clipboard-apis/130.html @@ -0,0 +1,55 @@ + + + + ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

+
+ + diff --git a/clipboard-apis/131.html b/clipboard-apis/131.html new file mode 100644 index 00000000000000..c95ae2ff1d7ba7 --- /dev/null +++ b/clipboard-apis/131.html @@ -0,0 +1,53 @@ + + + + ClipboardEvent - clipboard events relative to other input events - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/132.html b/clipboard-apis/132.html new file mode 100644 index 00000000000000..a324ac0c91c0f9 --- /dev/null +++ b/clipboard-apis/132.html @@ -0,0 +1,54 @@ + + + + ClipboardEvent - clipboard events relative to other input events - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/133.html b/clipboard-apis/133.html new file mode 100644 index 00000000000000..9567bc36608320 --- /dev/null +++ b/clipboard-apis/133.html @@ -0,0 +1,40 @@ + + + + ClipboardEvent - copy operation does not dispatch other events - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/134.html b/clipboard-apis/134.html new file mode 100644 index 00000000000000..691bccbd1abb87 --- /dev/null +++ b/clipboard-apis/134.html @@ -0,0 +1,40 @@ + + + + ClipboardEvent - copy operation does not dispatch other events - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/135.html b/clipboard-apis/135.html new file mode 100644 index 00000000000000..7101c85f88b316 --- /dev/null +++ b/clipboard-apis/135.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event listener that modifies focus - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/136.html b/clipboard-apis/136.html new file mode 100644 index 00000000000000..aba7d4a2d52159 --- /dev/null +++ b/clipboard-apis/136.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - event listener that modifies focus - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/137.html b/clipboard-apis/137.html new file mode 100644 index 00000000000000..675c8ad533d0f9 --- /dev/null +++ b/clipboard-apis/137.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - event listener that modifies focus - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ +
+ + diff --git a/clipboard-apis/138.html b/clipboard-apis/138.html new file mode 100644 index 00000000000000..4e6ef55a651bbf --- /dev/null +++ b/clipboard-apis/138.html @@ -0,0 +1,39 @@ + + + + ClipboardEvent - event listener that modifies selection - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
This is demo text
+
+ + diff --git a/clipboard-apis/139.html b/clipboard-apis/139.html new file mode 100644 index 00000000000000..f8da3409c743d9 --- /dev/null +++ b/clipboard-apis/139.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() called outside event handler method - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/140.html b/clipboard-apis/140.html new file mode 100644 index 00000000000000..b558e3c1a916cf --- /dev/null +++ b/clipboard-apis/140.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() called outside event handler method - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/141.html b/clipboard-apis/141.html new file mode 100644 index 00000000000000..b2730da403c6ef --- /dev/null +++ b/clipboard-apis/141.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - setData() called outside event handler method - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/142.html b/clipboard-apis/142.html new file mode 100644 index 00000000000000..effdc3c1ba6ae8 --- /dev/null +++ b/clipboard-apis/142.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - items.add() called outside event handler method - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/143.html b/clipboard-apis/143.html new file mode 100644 index 00000000000000..aa1dba387b3f76 --- /dev/null +++ b/clipboard-apis/143.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - items.add() called outside event handler method - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/144.html b/clipboard-apis/144.html new file mode 100644 index 00000000000000..2ee39a3e67a07d --- /dev/null +++ b/clipboard-apis/144.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - items.add() called outside event handler method - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/145.html b/clipboard-apis/145.html new file mode 100644 index 00000000000000..1adba34bdffb0f --- /dev/null +++ b/clipboard-apis/145.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() called outside event handler method - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/146.html b/clipboard-apis/146.html new file mode 100644 index 00000000000000..c0b36cdf48c852 --- /dev/null +++ b/clipboard-apis/146.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() called outside event handler method - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/147.html b/clipboard-apis/147.html new file mode 100644 index 00000000000000..916980c49c683d --- /dev/null +++ b/clipboard-apis/147.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - clearData() called outside event handler method - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/148.html b/clipboard-apis/148.html new file mode 100644 index 00000000000000..0b269ded724039 --- /dev/null +++ b/clipboard-apis/148.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/149.html b/clipboard-apis/149.html new file mode 100644 index 00000000000000..a4cf9617b60682 --- /dev/null +++ b/clipboard-apis/149.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/150.html b/clipboard-apis/150.html new file mode 100644 index 00000000000000..59d408c873e06a --- /dev/null +++ b/clipboard-apis/150.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/151.html b/clipboard-apis/151.html new file mode 100644 index 00000000000000..eea9ff7cfa7801 --- /dev/null +++ b/clipboard-apis/151.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - copy on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/152.html b/clipboard-apis/152.html new file mode 100644 index 00000000000000..412d94d0806641 --- /dev/null +++ b/clipboard-apis/152.html @@ -0,0 +1,36 @@ + + + + ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - cut on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/153.html b/clipboard-apis/153.html new file mode 100644 index 00000000000000..097cc2991557ea --- /dev/null +++ b/clipboard-apis/153.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/154.html b/clipboard-apis/154.html new file mode 100644 index 00000000000000..240bdabd528cf4 --- /dev/null +++ b/clipboard-apis/154.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - copy on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/155.html b/clipboard-apis/155.html new file mode 100644 index 00000000000000..da0db02e9dcad1 --- /dev/null +++ b/clipboard-apis/155.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/156.html b/clipboard-apis/156.html new file mode 100644 index 00000000000000..3d92db0b274f97 --- /dev/null +++ b/clipboard-apis/156.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - cut on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/157.html b/clipboard-apis/157.html new file mode 100644 index 00000000000000..dbb72cf1ee037e --- /dev/null +++ b/clipboard-apis/157.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/158.html b/clipboard-apis/158.html new file mode 100644 index 00000000000000..84d01d7245a0c1 --- /dev/null +++ b/clipboard-apis/158.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content - paste on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/159.html b/clipboard-apis/159.html new file mode 100644 index 00000000000000..f71b5aa879967e --- /dev/null +++ b/clipboard-apis/159.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/160.html b/clipboard-apis/160.html new file mode 100644 index 00000000000000..26f18c0099b425 --- /dev/null +++ b/clipboard-apis/160.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - copy on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/161.html b/clipboard-apis/161.html new file mode 100644 index 00000000000000..dce343b1096344 --- /dev/null +++ b/clipboard-apis/161.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/162.html b/clipboard-apis/162.html new file mode 100644 index 00000000000000..017b035b0e6e1a --- /dev/null +++ b/clipboard-apis/162.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - cut on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/163.html b/clipboard-apis/163.html new file mode 100644 index 00000000000000..520becf00ef7db --- /dev/null +++ b/clipboard-apis/163.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/164.html b/clipboard-apis/164.html new file mode 100644 index 00000000000000..841322a9a267da --- /dev/null +++ b/clipboard-apis/164.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside editable SVG content - paste on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+ SVG text +
+ + diff --git a/clipboard-apis/165.html b/clipboard-apis/165.html new file mode 100644 index 00000000000000..4a53490afe6680 --- /dev/null +++ b/clipboard-apis/165.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/166.html b/clipboard-apis/166.html new file mode 100644 index 00000000000000..1c03337fa5bf26 --- /dev/null +++ b/clipboard-apis/166.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - copy on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/167.html b/clipboard-apis/167.html new file mode 100644 index 00000000000000..ae731b94aa1156 --- /dev/null +++ b/clipboard-apis/167.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/168.html b/clipboard-apis/168.html new file mode 100644 index 00000000000000..c34ca0c3afef04 --- /dev/null +++ b/clipboard-apis/168.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - cut on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/169.html b/clipboard-apis/169.html new file mode 100644 index 00000000000000..68fc98c14fcde9 --- /dev/null +++ b/clipboard-apis/169.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/170.html b/clipboard-apis/170.html new file mode 100644 index 00000000000000..fb16fd5469e46a --- /dev/null +++ b/clipboard-apis/170.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - events fire inside SVG content in contentEditable - paste on 'svg_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
SVG text
+
+ + diff --git a/clipboard-apis/171.html b/clipboard-apis/171.html new file mode 100644 index 00000000000000..67109bb43bde3e --- /dev/null +++ b/clipboard-apis/171.html @@ -0,0 +1,38 @@ + + + + ClipboardEvent - types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/172.html b/clipboard-apis/172.html new file mode 100644 index 00000000000000..12a200f6f4bbab --- /dev/null +++ b/clipboard-apis/172.html @@ -0,0 +1,43 @@ + + + + ClipboardEvent - setData() method does not throw when implementation does not know the type - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/173.html b/clipboard-apis/173.html new file mode 100644 index 00000000000000..47521b563ec048 --- /dev/null +++ b/clipboard-apis/173.html @@ -0,0 +1,43 @@ + + + + ClipboardEvent - setData() method does not throw when implementation does not know the type - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/174.html b/clipboard-apis/174.html new file mode 100644 index 00000000000000..835ab41384b530 --- /dev/null +++ b/clipboard-apis/174.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - setData() method with text/html (experimental) - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/175.html b/clipboard-apis/175.html new file mode 100644 index 00000000000000..1c9f1914d9c136 --- /dev/null +++ b/clipboard-apis/175.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - setData() method with text/html (experimental) - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/176.html b/clipboard-apis/176.html new file mode 100644 index 00000000000000..24960ca0205785 --- /dev/null +++ b/clipboard-apis/176.html @@ -0,0 +1,34 @@ + + + + ClipboardEvent - clearData() method is noop in paste event - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/177.html b/clipboard-apis/177.html new file mode 100644 index 00000000000000..7b500abbef434a --- /dev/null +++ b/clipboard-apis/177.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - clearData() method without preventing events's default action - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/178.html b/clipboard-apis/178.html new file mode 100644 index 00000000000000..0b303a4d4f564b --- /dev/null +++ b/clipboard-apis/178.html @@ -0,0 +1,35 @@ + + + + ClipboardEvent - clearData() method without preventing events's default action - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/testlist.rb b/clipboard-apis/testlist.rb new file mode 100644 index 00000000000000..eba8d6fe7f6f8a --- /dev/null +++ b/clipboard-apis/testlist.rb @@ -0,0 +1,360 @@ + +describe "Clipboard events testsuite" do + before(:all) do + @browser = OperaWatir::Browser.new + $base = 'file://localhost/d:/projects/spec-dev/copy-paste/W3C-repo/clipops/testsuite/' + end + + it "1 ClipboardEvent - events fire on INPUT " do + doSingleTest 1 + end + + it "5 ClipboardEvent - events fire on TEXTAREA " do + doSingleTest 5 + end + + it "9 setData() method " do + doSingleTest 9 + end + + it "11 copy event when there is no selection and script uses setData() " do + doSingleTest 11 + end + + it "13 cancelling default action, basic test " do + doSingleTest 13 + end + + it "17 copy event does not modify selection " do + doSingleTest 17 + end + + it "19 default action of event when there is no selection is noop " do + doSingleTest 19 + end + + it "21 default action of cut event when there is no selection - no text change " do + doSingleTest 21 + end + + it "22 getData() method in cut and copy events should return an empty string " do + doSingleTest 22 + end + + it "24 getData() method when type is unsupported should return an empty string " do + doSingleTest 24 + end + + it "25 cancelling default action of cut prevents removal of text from editable context " do + doSingleTest 25 + end + + it "27 no default action for cut in non-editable context " do + doSingleTest 27 + end + + it "28 setData() in cut event without preventDefault() has no effect when default action is noop " do + doSingleTest 28 + end + + it "29 cut fires before text is removed " do + doSingleTest 29 + end + + it "31 cut collapses selection " do + doSingleTest 31 + end + + it "32 modifying data for cut event in non-editable context with selection " do + doSingleTest 32 + end + + it "34 setData() method without preventing events's default action " do + doSingleTest 34 + end + + it "36 events fire on INPUT " do + doSingleTest 36 + end + + it "38 events fire on TEXTAREA " do + doSingleTest 38 + end + + it "40 paste event fires before data is inserted " do + doSingleTest 40 + end + + it "42 preventing default action " do + doSingleTest 42 + end + + it "44 paste event fires even in non-editable context " do + doSingleTest 44 + end + + it "45 setData() does not modify text that is about to be inserted in a paste event " do + doSingleTest 45 + end + + it "46 setData() doesn't modify text on the clipboard when called from a paste event " do + doSingleTest 46 + end + + it "47 getData() method in paste event retrieving plain text " do + doSingleTest 47 + end + + it "48 getData() method when called outside event handler should return an empty string " do + doSingleTest 48 + end + + it "49 getData() method with wrong number of arguments " do + doSingleTest 49 + end + + it "50 getData() method supports legacy 'text' argument " do + doSingleTest 50 + end + + it "51 getData() supports legacy 'url' argument " do + doSingleTest 51 + end + + it "52 getData() method's type argument not case sensitive " do + doSingleTest 52 + end + + it "53 Using beforecopy to enable 'copy' UI that would otherwise be disabled " do + doSingleTest 53 + end + + it "54 Using beforecut to enable 'cut' UI that would otherwise be disabled " do + doSingleTest 54 + end + + it "55 Using beforepaste to enable 'paste' UI that would otherwise be disabled " do + doSingleTest 55 + end + + it "56 event.clipboardData exists and inherits from DataTransfer " do + doSingleTest 56 + end + + it "59 Clipboard event's clipboardData API " do + doSingleTest 59 + end + + it "62 event target when selection spans several elements " do + doSingleTest 62 + end + + it "68 event target when selection spans several elements " do + doSingleTest 68 + end + + it "71 event target when selection spans several elements - reversed selection " do + doSingleTest 71 + end + + it "77 event target when selection spans several elements - reversed selection " do + doSingleTest 77 + end + + it "80 event target when focused element has no text node inside " do + doSingleTest 80 + end + + it "82 copy event target property - selection in input " do + doSingleTest 82 + end + + it "85 event target property - selection in document text " do + doSingleTest 85 + end + + it "88 event target when no specific element has focus " do + doSingleTest 88 + end + + it "91 clipboardData.items when clipboard has one single text/plain entry " do + doSingleTest 91 + end + + it "92 getting data from clipboardData.items when clipboard has one single text/plain entry " do + doSingleTest 92 + end + + it "93 setData and clipboardData.items " do + doSingleTest 93 + end + + it "95 pasting a file " do + doSingleTest 95 + end + + it "96 pasting a file of unknown type " do + doSingleTest 96 + end + + it "97 setData() followed by clearData() in same event handler " do + doSingleTest 97 + end + + it "99 clearData() followed by setData() in same event handler " do + doSingleTest 99 + end + + it "101 clipboard modification when script uses both clearData() and setData() " do + doSingleTest 101 + end + + it "103 reading clipboard data from looping script " do + doSingleTest 103 + end + + it "104 clearData() method without arguments " do + doSingleTest 104 + end + + it "106 clearData() method with text/html argument " do + doSingleTest 106 + end + + it "108 ClipboardEvent interface - synthetic events with new ClipboardEvent constructor " do + doSingleTest 108 + end + + it "109 ClipboardEvent interface - synthetic events with non-standard MIME type " do + doSingleTest 109 + end + + it "110 ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard " do + doSingleTest 110 + end + + it "112 ClipboardEvent interface - synthetic copy/cut events dispatched from trusted events do affect system clipboard " do + doSingleTest 112 + end + + it "114 ClipboardEvent interface - synthetic paste event inserts payload data into TEXTAREA " do + doSingleTest 114 + end + + it "115 ClipboardEvent interface - synthetic paste event inserts payload data into INPUT " do + doSingleTest 115 + end + + it "116 ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT " do + doSingleTest 116 + end + + it "117 ClipboardEvent interface - synthetic paste event inserts plain text data into contentEditable element " do + doSingleTest 117 + end + + it "118 ClipboardEvent interface - synthetic paste event inserts HTML data into contentEditable element " do + doSingleTest 118 + end + + it "119 integration with execCommand, events are syncronous " do + doSingleTest 119 + end + + it "122 integration with execCommand, can prevent default action " do + doSingleTest 122 + end + + it "124 integration with execCommand, can prevent default action " do + doSingleTest 124 + end + + it "125 clipboard events relative to key events " do + doSingleTest 125 + end + + it "128 clipboard events relative to key events - preventDefault prevents clipboard events " do + doSingleTest 128 + end + + it "131 clipboard events relative to other input events " do + doSingleTest 131 + end + + it "132 clipboard events relative to other input events " do + doSingleTest 132 + end + + it "133 copy operation does not dispatch other events " do + doSingleTest 133 + end + + it "135 event listener that modifies focus " do + doSingleTest 135 + end + + it "137 event listener that modifies focus " do + doSingleTest 137 + end + + it "138 event listener that modifies selection " do + doSingleTest 138 + end + + it "139 setData() called outside event handler method " do + doSingleTest 139 + end + + it "142 items.add() called outside event handler method " do + doSingleTest 142 + end + + it "145 clearData() called outside event handler method " do + doSingleTest 145 + end + + it "148 ClipboardEvent and non-ASCII data I - Japanese " do + doSingleTest 148 + end + + it "150 ClipboardEvent and non-ASCII data I - Japanese " do + doSingleTest 150 + end + + it "151 ClipboardEvent and non-ASCII data II - random Unicode symbols " do + doSingleTest 151 + end + + it "153 events fire inside SVG content " do + doSingleTest 153 + end + + it "159 events fire inside editable SVG content " do + doSingleTest 159 + end + + it "165 events fire inside SVG content in contentEditable " do + doSingleTest 165 + end + + it "171 types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard " do + doSingleTest 171 + end + + it "172 setData() method does not throw when implementation does not know the type " do + doSingleTest 172 + end + + it "174 setData() method with text/html (experimental) " do + doSingleTest 174 + end + + it "176 clearData() method is noop in paste event " do + doSingleTest 176 + end + + it "177 clearData() method without preventing events's default action " do + doSingleTest 177 + end + +end From b009493308e8a85107a0ff99847c4cfcce5db531 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Fri, 10 Oct 2014 20:56:12 +0200 Subject: [PATCH 19/42] mostly minor fixes --- clipboard-apis/095.html | 5 +++-- clipboard-apis/096.html | 3 ++- clipboard-apis/104.html | 6 +++--- clipboard-apis/105.html | 6 +++--- clipboard-apis/106.html | 4 ++-- clipboard-apis/107.html | 4 ++-- clipboard-apis/110.html | 14 +++++++++----- clipboard-apis/111.html | 14 +++++++++----- clipboard-apis/112.html | 21 ++++++++++++--------- clipboard-apis/113.html | 21 ++++++++++++--------- clipboard-apis/114.html | 10 +++++----- clipboard-apis/115.html | 6 +++--- clipboard-apis/116.html | 10 +++++----- clipboard-apis/117.html | 6 +++--- clipboard-apis/118.html | 6 +++--- clipboard-apis/testlist.rb | 10 +++++----- 16 files changed, 81 insertions(+), 65 deletions(-) diff --git a/clipboard-apis/095.html b/clipboard-apis/095.html index 4025c6b76d01fa..83f009ee84e788 100644 --- a/clipboard-apis/095.html +++ b/clipboard-apis/095.html @@ -9,7 +9,8 @@ /** pasting a file */ /* Events: paste */ /* Targets: document */ -/* Clipboard data type: file reference: ./support/image.jpg */ +/* Clipboard data type: file reference: ./support/image.jpg */ +/* paste data: "the file 'support/image.jpg'" */ /* Test HTML:

To complete this test, copy the './support/image.jpg' file from the OS file manager and paste into this page

 
diff --git a/clipboard-apis/105.html b/clipboard-apis/105.html index 0a155a0996561f..fb11c0a14aec85 100644 --- a/clipboard-apis/105.html +++ b/clipboard-apis/105.html @@ -11,9 +11,9 @@ /* External pass condition - clipboard data: "" */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.clearData(); - e.preventDefault(); + var passed = false; + e.clipboardData.clearData(); + e.preventDefault(); } diff --git a/clipboard-apis/106.html b/clipboard-apis/106.html index 4d6cbe1be62304..47a9b8c9878edf 100644 --- a/clipboard-apis/106.html +++ b/clipboard-apis/106.html @@ -11,8 +11,8 @@ /* paste data: "{'text/html':'

This is formatted HTML for copy/paste tests.

', 'text/plain': 'This is formatted HTML for copy/paste tests.'}" */ /* External pass condition - clipboard data: "This is formatted HTML for copy/paste tests." */ function clipboard_api_test(e){ - e.clipboardData.clearData('text/html'); - e.preventDefault(); + e.clipboardData.clearData('text/html'); + e.preventDefault(); } diff --git a/clipboard-apis/107.html b/clipboard-apis/107.html index e491b63fad7467..ac564ade511ac7 100644 --- a/clipboard-apis/107.html +++ b/clipboard-apis/107.html @@ -11,8 +11,8 @@ /* paste data: "{'text/html':'

This is formatted HTML for copy/paste tests.

', 'text/plain': 'This is formatted HTML for copy/paste tests.'}" */ /* External pass condition - clipboard data: "This is formatted HTML for copy/paste tests." */ function clipboard_api_test(e){ - e.clipboardData.clearData('text/html'); - e.preventDefault(); + e.clipboardData.clearData('text/html'); + e.preventDefault(); } diff --git a/clipboard-apis/110.html b/clipboard-apis/110.html index 8b6dbcade5ed63..09b35db15e2b0d 100644 --- a/clipboard-apis/110.html +++ b/clipboard-apis/110.html @@ -13,17 +13,21 @@ function clipboard_api_test(e){ } -function onTestSetupReady(){ +function onTestSetupReady(type){ try{ - var evt=new ClipboardEvent( window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'} ); - if( window.eventType=='cut' )document.body.contentEditable='true'; + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } /* make a selection to check if selected text is copied by the synthetic event.. */ - var range=document.createRange(); + var range = document.createRange(); range.selectNodeContents(document.body); window.getSelection().addRange(range); document.dispatchEvent(evt); window.getSelection().removeAllRanges(); - if( window.eventType=='cut' )document.body.contentEditable='false'; + if(type === 'cut'){ + document.body.contentEditable = 'false'; + } }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); return; diff --git a/clipboard-apis/111.html b/clipboard-apis/111.html index b4c6c22c1209dd..a732cf3c8f556c 100644 --- a/clipboard-apis/111.html +++ b/clipboard-apis/111.html @@ -13,17 +13,21 @@ function clipboard_api_test(e){ } -function onTestSetupReady(){ +function onTestSetupReady(type){ try{ - var evt=new ClipboardEvent( window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'} ); - if( window.eventType=='cut' )document.body.contentEditable='true'; + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } /* make a selection to check if selected text is copied by the synthetic event.. */ - var range=document.createRange(); + var range = document.createRange(); range.selectNodeContents(document.body); window.getSelection().addRange(range); document.dispatchEvent(evt); window.getSelection().removeAllRanges(); - if( window.eventType=='cut' )document.body.contentEditable='false'; + if(type === 'cut'){ + document.body.contentEditable = 'false'; + } }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); return; diff --git a/clipboard-apis/112.html b/clipboard-apis/112.html index f75d4af6888c6b..6a70618c9bc362 100644 --- a/clipboard-apis/112.html +++ b/clipboard-apis/112.html @@ -1,12 +1,12 @@ - ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events dispatched from trusted events do affect system clipboard - copy on document + ClipboardEvent - ClipboardEvent interface - events triggered from document.execCommand() inside trusted events do affect system clipboard - copy on document - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/002.html b/clipboard-apis/002.html deleted file mode 100644 index a20663330d6dd5..00000000000000 --- a/clipboard-apis/002.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/003.html b/clipboard-apis/003.html deleted file mode 100644 index bddcfdec0bef70..00000000000000 --- a/clipboard-apis/003.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/004.html b/clipboard-apis/004.html deleted file mode 100644 index 45abcf8a096ff3..00000000000000 --- a/clipboard-apis/004.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/005.html b/clipboard-apis/005.html deleted file mode 100644 index eecab6d807b46b..00000000000000 --- a/clipboard-apis/005.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/006.html b/clipboard-apis/006.html deleted file mode 100644 index 238a9c2ebf86d6..00000000000000 --- a/clipboard-apis/006.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/007.html b/clipboard-apis/007.html deleted file mode 100644 index 428f2cb93465e5..00000000000000 --- a/clipboard-apis/007.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/008.html b/clipboard-apis/008.html deleted file mode 100644 index 29d7b2b8ce2a2b..00000000000000 --- a/clipboard-apis/008.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/009.html b/clipboard-apis/009.html deleted file mode 100644 index cf6a569caec314..00000000000000 --- a/clipboard-apis/009.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - ClipboardEvent - setData() method - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/010.html b/clipboard-apis/010.html deleted file mode 100644 index 08b6f7c93fdf8e..00000000000000 --- a/clipboard-apis/010.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - ClipboardEvent - setData() method - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/011.html b/clipboard-apis/011.html deleted file mode 100644 index 6deba44d03789a..00000000000000 --- a/clipboard-apis/011.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - ClipboardEvent - copy event when there is no selection and script uses setData() - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/012.html b/clipboard-apis/012.html deleted file mode 100644 index ca3bea64a4f858..00000000000000 --- a/clipboard-apis/012.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - ClipboardEvent - copy event when there is no selection and script uses setData() - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/013.html b/clipboard-apis/013.html deleted file mode 100644 index 260cacb81e1053..00000000000000 --- a/clipboard-apis/013.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - cancelling default action, basic test - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/014.html b/clipboard-apis/014.html deleted file mode 100644 index 5480ffb0fc7e4b..00000000000000 --- a/clipboard-apis/014.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - cancelling default action, basic test - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/015.html b/clipboard-apis/015.html deleted file mode 100644 index 11ccfa24ea24da..00000000000000 --- a/clipboard-apis/015.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - cancelling default action, basic test - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/016.html b/clipboard-apis/016.html deleted file mode 100644 index 905da9a833fe12..00000000000000 --- a/clipboard-apis/016.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - cancelling default action, basic test - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/017.html b/clipboard-apis/017.html deleted file mode 100644 index 907cc2dbe03982..00000000000000 --- a/clipboard-apis/017.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - ClipboardEvent - copy event does not modify selection - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/018.html b/clipboard-apis/018.html deleted file mode 100644 index 42152842251a4a..00000000000000 --- a/clipboard-apis/018.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - ClipboardEvent - copy event does not modify selection - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/019.html b/clipboard-apis/019.html deleted file mode 100644 index 6d5724d3fc6860..00000000000000 --- a/clipboard-apis/019.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - default action of event when there is no selection is noop - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/020.html b/clipboard-apis/020.html deleted file mode 100644 index 486dd8706d96aa..00000000000000 --- a/clipboard-apis/020.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - default action of event when there is no selection is noop - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/021.html b/clipboard-apis/021.html deleted file mode 100644 index 3220340481de09..00000000000000 --- a/clipboard-apis/021.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - ClipboardEvent - default action of cut event when there is no selection - no text change - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/022.html b/clipboard-apis/022.html deleted file mode 100644 index 49631d427d926d..00000000000000 --- a/clipboard-apis/022.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - getData() method in cut and copy events should return an empty string - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/023.html b/clipboard-apis/023.html deleted file mode 100644 index 38da96c3a4d01a..00000000000000 --- a/clipboard-apis/023.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - getData() method in cut and copy events should return an empty string - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/024.html b/clipboard-apis/024.html deleted file mode 100644 index ce54b6e743367e..00000000000000 --- a/clipboard-apis/024.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - getData() method when type is unsupported should return an empty string - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/025.html b/clipboard-apis/025.html deleted file mode 100644 index d55560db47873d..00000000000000 --- a/clipboard-apis/025.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/026.html b/clipboard-apis/026.html deleted file mode 100644 index 1fe9ba269296cf..00000000000000 --- a/clipboard-apis/026.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/027.html b/clipboard-apis/027.html deleted file mode 100644 index 6e6b98db6bebff..00000000000000 --- a/clipboard-apis/027.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - no default action for cut in non-editable context - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/028.html b/clipboard-apis/028.html deleted file mode 100644 index d6f4f233589a30..00000000000000 --- a/clipboard-apis/028.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - setData() in cut event without preventDefault() has no effect when default action is noop - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/029.html b/clipboard-apis/029.html deleted file mode 100644 index 7f696e91292584..00000000000000 --- a/clipboard-apis/029.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - ClipboardEvent - cut fires before text is removed - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/030.html b/clipboard-apis/030.html deleted file mode 100644 index e17bc91658c8da..00000000000000 --- a/clipboard-apis/030.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - ClipboardEvent - cut fires before text is removed - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/031.html b/clipboard-apis/031.html deleted file mode 100644 index 0dfce9caafa224..00000000000000 --- a/clipboard-apis/031.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - ClipboardEvent - cut collapses selection - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/032.html b/clipboard-apis/032.html deleted file mode 100644 index f9968d00d1fc63..00000000000000 --- a/clipboard-apis/032.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - modifying data for cut event in non-editable context with selection - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/033.html b/clipboard-apis/033.html deleted file mode 100644 index 0a97a656776c36..00000000000000 --- a/clipboard-apis/033.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - modifying data for cut event in non-editable context with selection - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/034.html b/clipboard-apis/034.html deleted file mode 100644 index 24cc907eafd64c..00000000000000 --- a/clipboard-apis/034.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - ClipboardEvent - setData() method without preventing events's default action - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/035.html b/clipboard-apis/035.html deleted file mode 100644 index 38a4f71b3735b3..00000000000000 --- a/clipboard-apis/035.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - ClipboardEvent - setData() method without preventing events's default action - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/036.html b/clipboard-apis/036.html deleted file mode 100644 index e24b256e32dc1f..00000000000000 --- a/clipboard-apis/036.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - events fire on INPUT - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/037.html b/clipboard-apis/037.html deleted file mode 100644 index b0dd204ca2a273..00000000000000 --- a/clipboard-apis/037.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - events fire on INPUT - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/038.html b/clipboard-apis/038.html deleted file mode 100644 index 9e626d2a97714d..00000000000000 --- a/clipboard-apis/038.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - events fire on TEXTAREA - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/039.html b/clipboard-apis/039.html deleted file mode 100644 index f39beeaefc944a..00000000000000 --- a/clipboard-apis/039.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - events fire on TEXTAREA - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/040.html b/clipboard-apis/040.html deleted file mode 100644 index dbd3a18acacfb3..00000000000000 --- a/clipboard-apis/040.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - paste event fires before data is inserted - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/041.html b/clipboard-apis/041.html deleted file mode 100644 index 4b8eda791f9ed5..00000000000000 --- a/clipboard-apis/041.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - paste event fires before data is inserted - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/042.html b/clipboard-apis/042.html deleted file mode 100644 index a2d40b20d1081f..00000000000000 --- a/clipboard-apis/042.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - preventing default action - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/043.html b/clipboard-apis/043.html deleted file mode 100644 index fa8c06472f34c4..00000000000000 --- a/clipboard-apis/043.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - preventing default action - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/044.html b/clipboard-apis/044.html deleted file mode 100644 index d92ad63f671e1c..00000000000000 --- a/clipboard-apis/044.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - paste event fires even in non-editable context - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

 

-
- - diff --git a/clipboard-apis/045.html b/clipboard-apis/045.html deleted file mode 100644 index 4724707944884b..00000000000000 --- a/clipboard-apis/045.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - ClipboardEvent - setData() does not modify text that is about to be inserted in a paste event - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/046.html b/clipboard-apis/046.html deleted file mode 100644 index 0dad407162d6a8..00000000000000 --- a/clipboard-apis/046.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - ClipboardEvent - setData() doesn't modify text on the clipboard when called from a paste event - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/047.html b/clipboard-apis/047.html deleted file mode 100644 index 5cdfd948706e15..00000000000000 --- a/clipboard-apis/047.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - getData() method in paste event retrieving plain text - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/048.html b/clipboard-apis/048.html deleted file mode 100644 index a63d706617cb6a..00000000000000 --- a/clipboard-apis/048.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - getData() method when called outside event handler should return an empty string - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/049.html b/clipboard-apis/049.html deleted file mode 100644 index a63b7541a4cf63..00000000000000 --- a/clipboard-apis/049.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - ClipboardEvent - getData() method with wrong number of arguments - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/050.html b/clipboard-apis/050.html deleted file mode 100644 index d5974e782aa37e..00000000000000 --- a/clipboard-apis/050.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - ClipboardEvent - getData() method supports legacy 'text' argument - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/051.html b/clipboard-apis/051.html deleted file mode 100644 index 4efdaf917c32ef..00000000000000 --- a/clipboard-apis/051.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - ClipboardEvent - getData() supports legacy 'url' argument - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/052.html b/clipboard-apis/052.html deleted file mode 100644 index e882266f1a01fe..00000000000000 --- a/clipboard-apis/052.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - ClipboardEvent - getData() method's type argument not case sensitive - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/053.html b/clipboard-apis/053.html deleted file mode 100644 index c854904e9911c4..00000000000000 --- a/clipboard-apis/053.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - Using beforecopy to enable 'copy' UI that would otherwise be disabled - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

The "copy" menu UI state is enabled on this page even when there is no selection.

-
- - diff --git a/clipboard-apis/054.html b/clipboard-apis/054.html deleted file mode 100644 index 9cdb8ae38d3634..00000000000000 --- a/clipboard-apis/054.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - Using beforecut to enable 'cut' UI that would otherwise be disabled - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

The "cut" menu UI state is enabled on this page even when there is no editable selection.

-
- - diff --git a/clipboard-apis/055.html b/clipboard-apis/055.html deleted file mode 100644 index ed7576f0b04ab0..00000000000000 --- a/clipboard-apis/055.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - Using beforepaste to enable 'paste' UI that would otherwise be disabled - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

The "paste" menu UI state is enabled on this page even when there is no editable context.

-
- - diff --git a/clipboard-apis/056.html b/clipboard-apis/056.html deleted file mode 100644 index b963b211c667ef..00000000000000 --- a/clipboard-apis/056.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/057.html b/clipboard-apis/057.html deleted file mode 100644 index 566e27a0ed0dd0..00000000000000 --- a/clipboard-apis/057.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/058.html b/clipboard-apis/058.html deleted file mode 100644 index 4369d1b0b3adfa..00000000000000 --- a/clipboard-apis/058.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/059.html b/clipboard-apis/059.html deleted file mode 100644 index 7a7768b110c5f5..00000000000000 --- a/clipboard-apis/059.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - Clipboard event's clipboardData API - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/060.html b/clipboard-apis/060.html deleted file mode 100644 index f4057297d9c19d..00000000000000 --- a/clipboard-apis/060.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - Clipboard event's clipboardData API - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/061.html b/clipboard-apis/061.html deleted file mode 100644 index df2b8549de6239..00000000000000 --- a/clipboard-apis/061.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - Clipboard event's clipboardData API - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/062.html b/clipboard-apis/062.html deleted file mode 100644 index d97a0606d3a7e0..00000000000000 --- a/clipboard-apis/062.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/063.html b/clipboard-apis/063.html deleted file mode 100644 index 2253d69cd2247a..00000000000000 --- a/clipboard-apis/063.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - copy on 'a' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/064.html b/clipboard-apis/064.html deleted file mode 100644 index d4b96fa4f7fcae..00000000000000 --- a/clipboard-apis/064.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - copy on 'b' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/065.html b/clipboard-apis/065.html deleted file mode 100644 index 9fe5b30e25e587..00000000000000 --- a/clipboard-apis/065.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/066.html b/clipboard-apis/066.html deleted file mode 100644 index 06871bb9b74369..00000000000000 --- a/clipboard-apis/066.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - cut on 'a' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/067.html b/clipboard-apis/067.html deleted file mode 100644 index 4966d67276398f..00000000000000 --- a/clipboard-apis/067.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - cut on 'b' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/068.html b/clipboard-apis/068.html deleted file mode 100644 index ab105191f05002..00000000000000 --- a/clipboard-apis/068.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/069.html b/clipboard-apis/069.html deleted file mode 100644 index cba070e4c58004..00000000000000 --- a/clipboard-apis/069.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - paste on 'a' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/070.html b/clipboard-apis/070.html deleted file mode 100644 index ce489467f6cf6a..00000000000000 --- a/clipboard-apis/070.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - paste on 'b' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/071.html b/clipboard-apis/071.html deleted file mode 100644 index 14fc236ea09e2b..00000000000000 --- a/clipboard-apis/071.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - reversed selection - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/072.html b/clipboard-apis/072.html deleted file mode 100644 index 1931b65194aa9a..00000000000000 --- a/clipboard-apis/072.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'a' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/073.html b/clipboard-apis/073.html deleted file mode 100644 index ccf27de14df739..00000000000000 --- a/clipboard-apis/073.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'b' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/074.html b/clipboard-apis/074.html deleted file mode 100644 index d9db452730a08d..00000000000000 --- a/clipboard-apis/074.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - reversed selection - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/075.html b/clipboard-apis/075.html deleted file mode 100644 index 3952b5398b200b..00000000000000 --- a/clipboard-apis/075.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'a' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/076.html b/clipboard-apis/076.html deleted file mode 100644 index 7475a06ac8cb64..00000000000000 --- a/clipboard-apis/076.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'b' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/077.html b/clipboard-apis/077.html deleted file mode 100644 index e0425321594da2..00000000000000 --- a/clipboard-apis/077.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - reversed selection - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/078.html b/clipboard-apis/078.html deleted file mode 100644 index 154fcec7024c11..00000000000000 --- a/clipboard-apis/078.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'a' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/079.html b/clipboard-apis/079.html deleted file mode 100644 index 0be698b0fffa33..00000000000000 --- a/clipboard-apis/079.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'b' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

This is filler text

-
- - diff --git a/clipboard-apis/080.html b/clipboard-apis/080.html deleted file mode 100644 index 1488d46ba3e3ca..00000000000000 --- a/clipboard-apis/080.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - ClipboardEvent - event target when focused element has no text node inside - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/081.html b/clipboard-apis/081.html deleted file mode 100644 index b26bf23fd936ad..00000000000000 --- a/clipboard-apis/081.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - ClipboardEvent - event target when focused element has no text node inside - paste on 'input_img' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/082.html b/clipboard-apis/082.html deleted file mode 100644 index 951a57d79e94f7..00000000000000 --- a/clipboard-apis/082.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - copy event target property - selection in input - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/083.html b/clipboard-apis/083.html deleted file mode 100644 index abddc5b3bbeda1..00000000000000 --- a/clipboard-apis/083.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - copy event target property - selection in input - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/084.html b/clipboard-apis/084.html deleted file mode 100644 index c9b945fdcb0ddb..00000000000000 --- a/clipboard-apis/084.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - copy event target property - selection in input - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/085.html b/clipboard-apis/085.html deleted file mode 100644 index 6cce087fac9c57..00000000000000 --- a/clipboard-apis/085.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target property - selection in document text - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
This text should be selected
-
- - diff --git a/clipboard-apis/086.html b/clipboard-apis/086.html deleted file mode 100644 index cd3e1b2d9d1acf..00000000000000 --- a/clipboard-apis/086.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target property - selection in document text - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
This text should be selected
-
- - diff --git a/clipboard-apis/087.html b/clipboard-apis/087.html deleted file mode 100644 index ab103d3371a601..00000000000000 --- a/clipboard-apis/087.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target property - selection in document text - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
This text should be selected
-
- - diff --git a/clipboard-apis/088.html b/clipboard-apis/088.html deleted file mode 100644 index 68af2fd8b06edd..00000000000000 --- a/clipboard-apis/088.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when no specific element has focus - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
This is filler text
-
- - diff --git a/clipboard-apis/089.html b/clipboard-apis/089.html deleted file mode 100644 index 399ce36dc7d941..00000000000000 --- a/clipboard-apis/089.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when no specific element has focus - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
This is filler text
-
- - diff --git a/clipboard-apis/090.html b/clipboard-apis/090.html deleted file mode 100644 index 246daab730b81a..00000000000000 --- a/clipboard-apis/090.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - event target when no specific element has focus - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
This is filler text
-
- - diff --git a/clipboard-apis/091.html b/clipboard-apis/091.html deleted file mode 100644 index daf71cad1d5548..00000000000000 --- a/clipboard-apis/091.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - clipboardData.items when clipboard has one single text/plain entry - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/092.html b/clipboard-apis/092.html deleted file mode 100644 index 8b92de5c6ce692..00000000000000 --- a/clipboard-apis/092.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - getting data from clipboardData.items when clipboard has one single text/plain entry - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/093.html b/clipboard-apis/093.html deleted file mode 100644 index 7f1b19386bbddf..00000000000000 --- a/clipboard-apis/093.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - setData and clipboardData.items - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/094.html b/clipboard-apis/094.html deleted file mode 100644 index a581519ebadeea..00000000000000 --- a/clipboard-apis/094.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - setData and clipboardData.items - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/095.html b/clipboard-apis/095.html deleted file mode 100644 index 83f009ee84e788..00000000000000 --- a/clipboard-apis/095.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - ClipboardEvent - pasting a file - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

To complete this test, copy the './support/image.jpg' file from the OS file manager and paste into this page

 
-
- - diff --git a/clipboard-apis/096.html b/clipboard-apis/096.html deleted file mode 100644 index dab03ea2696749..00000000000000 --- a/clipboard-apis/096.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - ClipboardEvent - pasting a file of unknown type - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

To complete this test, copy the "./support/test" file from the OS file manager and paste into this page

-
- - diff --git a/clipboard-apis/097.html b/clipboard-apis/097.html deleted file mode 100644 index ce743660195beb..00000000000000 --- a/clipboard-apis/097.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - setData() followed by clearData() in same event handler - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/098.html b/clipboard-apis/098.html deleted file mode 100644 index d4a0b9fb174037..00000000000000 --- a/clipboard-apis/098.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - setData() followed by clearData() in same event handler - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/099.html b/clipboard-apis/099.html deleted file mode 100644 index dd6d25f892de34..00000000000000 --- a/clipboard-apis/099.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - clearData() followed by setData() in same event handler - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/100.html b/clipboard-apis/100.html deleted file mode 100644 index e9953ba247836c..00000000000000 --- a/clipboard-apis/100.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - clearData() followed by setData() in same event handler - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/101.html b/clipboard-apis/101.html deleted file mode 100644 index 31e4e1f033dde5..00000000000000 --- a/clipboard-apis/101.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - clipboard modification when script uses both clearData() and setData() - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/102.html b/clipboard-apis/102.html deleted file mode 100644 index e9854c6cc79c26..00000000000000 --- a/clipboard-apis/102.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - clipboard modification when script uses both clearData() and setData() - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/103.html b/clipboard-apis/103.html deleted file mode 100644 index e11356515007fa..00000000000000 --- a/clipboard-apis/103.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - ClipboardEvent - reading clipboard data from looping script - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/104.html b/clipboard-apis/104.html deleted file mode 100644 index e85846fcd7dde6..00000000000000 --- a/clipboard-apis/104.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - clearData() method without arguments - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/105.html b/clipboard-apis/105.html deleted file mode 100644 index fb11c0a14aec85..00000000000000 --- a/clipboard-apis/105.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - clearData() method without arguments - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/106.html b/clipboard-apis/106.html deleted file mode 100644 index 47a9b8c9878edf..00000000000000 --- a/clipboard-apis/106.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - clearData() method with text/html argument - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/107.html b/clipboard-apis/107.html deleted file mode 100644 index ac564ade511ac7..00000000000000 --- a/clipboard-apis/107.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - clearData() method with text/html argument - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/108.html b/clipboard-apis/108.html deleted file mode 100644 index 164425a2acc84d..00000000000000 --- a/clipboard-apis/108.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - synthetic events with new ClipboardEvent constructor - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/109.html b/clipboard-apis/109.html deleted file mode 100644 index f1f7cd26bbde7a..00000000000000 --- a/clipboard-apis/109.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - synthetic events with non-standard MIME type - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/110.html b/clipboard-apis/110.html deleted file mode 100644 index 09b35db15e2b0d..00000000000000 --- a/clipboard-apis/110.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/111.html b/clipboard-apis/111.html deleted file mode 100644 index a732cf3c8f556c..00000000000000 --- a/clipboard-apis/111.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/114.html b/clipboard-apis/114.html deleted file mode 100644 index 0c7ef49ce743e7..00000000000000 --- a/clipboard-apis/114.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert payload data into TEXTAREA - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/115.html b/clipboard-apis/115.html deleted file mode 100644 index d158ba1c879a50..00000000000000 --- a/clipboard-apis/115.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert payload data into INPUT - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/116.html b/clipboard-apis/116.html deleted file mode 100644 index 343b032179ae0e..00000000000000 --- a/clipboard-apis/116.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/117.html b/clipboard-apis/117.html deleted file mode 100644 index 3c3528b9e099d2..00000000000000 --- a/clipboard-apis/117.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert plain text data into contentEditable element - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

Editable element

-
- - diff --git a/clipboard-apis/118.html b/clipboard-apis/118.html deleted file mode 100644 index f9bde96d709026..00000000000000 --- a/clipboard-apis/118.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert HTML data into contentEditable element - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

Editable element

-
- - diff --git a/clipboard-apis/119.html b/clipboard-apis/119.html deleted file mode 100644 index f6a85862c561a6..00000000000000 --- a/clipboard-apis/119.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - ClipboardEvent - integration with execCommand, events are syncronous - copy on 'iframe.contentWindow' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/120.html b/clipboard-apis/120.html deleted file mode 100644 index b94da1b0016b4d..00000000000000 --- a/clipboard-apis/120.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - ClipboardEvent - integration with execCommand, events are syncronous - cut on 'iframe.contentWindow' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/122.html b/clipboard-apis/122.html deleted file mode 100644 index bd2a3e0fe61416..00000000000000 --- a/clipboard-apis/122.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - ClipboardEvent - integration with execCommand, can prevent default action - copy on 'ifr.contentWindow' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/123.html b/clipboard-apis/123.html deleted file mode 100644 index 64e74baf36faaf..00000000000000 --- a/clipboard-apis/123.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - ClipboardEvent - integration with execCommand, can prevent default action - cut on 'ifr.contentWindow' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/124.html b/clipboard-apis/124.html deleted file mode 100644 index 52aaa6c54523e2..00000000000000 --- a/clipboard-apis/124.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/125.html b/clipboard-apis/125.html deleted file mode 100644 index 1b596d64cdc3d0..00000000000000 --- a/clipboard-apis/125.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - ClipboardEvent - clipboard events relative to key events - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

-
- - diff --git a/clipboard-apis/126.html b/clipboard-apis/126.html deleted file mode 100644 index 324734a13eb4c7..00000000000000 --- a/clipboard-apis/126.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - ClipboardEvent - clipboard events relative to key events - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

-
- - diff --git a/clipboard-apis/127.html b/clipboard-apis/127.html deleted file mode 100644 index d3cb36bfe858b1..00000000000000 --- a/clipboard-apis/127.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - ClipboardEvent - clipboard events relative to key events - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

-
- - diff --git a/clipboard-apis/128.html b/clipboard-apis/128.html deleted file mode 100644 index 8e055472461ee9..00000000000000 --- a/clipboard-apis/128.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

-
- - diff --git a/clipboard-apis/129.html b/clipboard-apis/129.html deleted file mode 100644 index 00190161afd972..00000000000000 --- a/clipboard-apis/129.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

-
- - diff --git a/clipboard-apis/130.html b/clipboard-apis/130.html deleted file mode 100644 index 428fd342301e7e..00000000000000 --- a/clipboard-apis/130.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

-
- - diff --git a/clipboard-apis/131.html b/clipboard-apis/131.html deleted file mode 100644 index c95ae2ff1d7ba7..00000000000000 --- a/clipboard-apis/131.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - ClipboardEvent - clipboard events relative to other input events - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/132.html b/clipboard-apis/132.html deleted file mode 100644 index a324ac0c91c0f9..00000000000000 --- a/clipboard-apis/132.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - ClipboardEvent - clipboard events relative to other input events - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/133.html b/clipboard-apis/133.html deleted file mode 100644 index 9567bc36608320..00000000000000 --- a/clipboard-apis/133.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - ClipboardEvent - copy operation does not dispatch other events - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/134.html b/clipboard-apis/134.html deleted file mode 100644 index 691bccbd1abb87..00000000000000 --- a/clipboard-apis/134.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - ClipboardEvent - copy operation does not dispatch other events - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/135.html b/clipboard-apis/135.html deleted file mode 100644 index 7101c85f88b316..00000000000000 --- a/clipboard-apis/135.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - event listener that modifies focus - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/136.html b/clipboard-apis/136.html deleted file mode 100644 index aba7d4a2d52159..00000000000000 --- a/clipboard-apis/136.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - event listener that modifies focus - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/137.html b/clipboard-apis/137.html deleted file mode 100644 index 675c8ad533d0f9..00000000000000 --- a/clipboard-apis/137.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - ClipboardEvent - event listener that modifies focus - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/138.html b/clipboard-apis/138.html deleted file mode 100644 index 4e6ef55a651bbf..00000000000000 --- a/clipboard-apis/138.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - ClipboardEvent - event listener that modifies selection - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
This is demo text
-
- - diff --git a/clipboard-apis/139.html b/clipboard-apis/139.html deleted file mode 100644 index f8da3409c743d9..00000000000000 --- a/clipboard-apis/139.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - setData() called outside event handler method - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/140.html b/clipboard-apis/140.html deleted file mode 100644 index b558e3c1a916cf..00000000000000 --- a/clipboard-apis/140.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - setData() called outside event handler method - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/141.html b/clipboard-apis/141.html deleted file mode 100644 index b2730da403c6ef..00000000000000 --- a/clipboard-apis/141.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - setData() called outside event handler method - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/142.html b/clipboard-apis/142.html deleted file mode 100644 index effdc3c1ba6ae8..00000000000000 --- a/clipboard-apis/142.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - items.add() called outside event handler method - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/143.html b/clipboard-apis/143.html deleted file mode 100644 index aa1dba387b3f76..00000000000000 --- a/clipboard-apis/143.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - items.add() called outside event handler method - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/144.html b/clipboard-apis/144.html deleted file mode 100644 index 2ee39a3e67a07d..00000000000000 --- a/clipboard-apis/144.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - items.add() called outside event handler method - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/145.html b/clipboard-apis/145.html deleted file mode 100644 index 1adba34bdffb0f..00000000000000 --- a/clipboard-apis/145.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - clearData() called outside event handler method - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/146.html b/clipboard-apis/146.html deleted file mode 100644 index c0b36cdf48c852..00000000000000 --- a/clipboard-apis/146.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - clearData() called outside event handler method - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/147.html b/clipboard-apis/147.html deleted file mode 100644 index 916980c49c683d..00000000000000 --- a/clipboard-apis/147.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - clearData() called outside event handler method - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/148.html b/clipboard-apis/148.html deleted file mode 100644 index 0b269ded724039..00000000000000 --- a/clipboard-apis/148.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/149.html b/clipboard-apis/149.html deleted file mode 100644 index a4cf9617b60682..00000000000000 --- a/clipboard-apis/149.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/150.html b/clipboard-apis/150.html deleted file mode 100644 index 59d408c873e06a..00000000000000 --- a/clipboard-apis/150.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - paste on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/151.html b/clipboard-apis/151.html deleted file mode 100644 index eea9ff7cfa7801..00000000000000 --- a/clipboard-apis/151.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - copy on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/152.html b/clipboard-apis/152.html deleted file mode 100644 index 412d94d0806641..00000000000000 --- a/clipboard-apis/152.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - cut on 'input_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/153.html b/clipboard-apis/153.html deleted file mode 100644 index 097cc2991557ea..00000000000000 --- a/clipboard-apis/153.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/154.html b/clipboard-apis/154.html deleted file mode 100644 index 240bdabd528cf4..00000000000000 --- a/clipboard-apis/154.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content - copy on 'svg_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/155.html b/clipboard-apis/155.html deleted file mode 100644 index da0db02e9dcad1..00000000000000 --- a/clipboard-apis/155.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/156.html b/clipboard-apis/156.html deleted file mode 100644 index 3d92db0b274f97..00000000000000 --- a/clipboard-apis/156.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content - cut on 'svg_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/157.html b/clipboard-apis/157.html deleted file mode 100644 index dbb72cf1ee037e..00000000000000 --- a/clipboard-apis/157.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/158.html b/clipboard-apis/158.html deleted file mode 100644 index 84d01d7245a0c1..00000000000000 --- a/clipboard-apis/158.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content - paste on 'svg_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/159.html b/clipboard-apis/159.html deleted file mode 100644 index f71b5aa879967e..00000000000000 --- a/clipboard-apis/159.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside editable SVG content - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/160.html b/clipboard-apis/160.html deleted file mode 100644 index 26f18c0099b425..00000000000000 --- a/clipboard-apis/160.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside editable SVG content - copy on 'svg_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/161.html b/clipboard-apis/161.html deleted file mode 100644 index dce343b1096344..00000000000000 --- a/clipboard-apis/161.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside editable SVG content - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/162.html b/clipboard-apis/162.html deleted file mode 100644 index 017b035b0e6e1a..00000000000000 --- a/clipboard-apis/162.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside editable SVG content - cut on 'svg_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/163.html b/clipboard-apis/163.html deleted file mode 100644 index 520becf00ef7db..00000000000000 --- a/clipboard-apis/163.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside editable SVG content - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/164.html b/clipboard-apis/164.html deleted file mode 100644 index 841322a9a267da..00000000000000 --- a/clipboard-apis/164.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside editable SVG content - paste on 'svg_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- SVG text -
- - diff --git a/clipboard-apis/165.html b/clipboard-apis/165.html deleted file mode 100644 index 4a53490afe6680..00000000000000 --- a/clipboard-apis/165.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content in contentEditable - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
SVG text
-
- - diff --git a/clipboard-apis/166.html b/clipboard-apis/166.html deleted file mode 100644 index 1c03337fa5bf26..00000000000000 --- a/clipboard-apis/166.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content in contentEditable - copy on 'svg_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
SVG text
-
- - diff --git a/clipboard-apis/167.html b/clipboard-apis/167.html deleted file mode 100644 index ae731b94aa1156..00000000000000 --- a/clipboard-apis/167.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content in contentEditable - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
SVG text
-
- - diff --git a/clipboard-apis/168.html b/clipboard-apis/168.html deleted file mode 100644 index c34ca0c3afef04..00000000000000 --- a/clipboard-apis/168.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content in contentEditable - cut on 'svg_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
SVG text
-
- - diff --git a/clipboard-apis/169.html b/clipboard-apis/169.html deleted file mode 100644 index 68fc98c14fcde9..00000000000000 --- a/clipboard-apis/169.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content in contentEditable - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
SVG text
-
- - diff --git a/clipboard-apis/170.html b/clipboard-apis/170.html deleted file mode 100644 index fb16fd5469e46a..00000000000000 --- a/clipboard-apis/170.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - events fire inside SVG content in contentEditable - paste on 'svg_text' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
SVG text
-
- - diff --git a/clipboard-apis/172.html b/clipboard-apis/172.html deleted file mode 100644 index 12a200f6f4bbab..00000000000000 --- a/clipboard-apis/172.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - ClipboardEvent - setData() method does not throw when implementation does not know the type - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/173.html b/clipboard-apis/173.html deleted file mode 100644 index 47521b563ec048..00000000000000 --- a/clipboard-apis/173.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - ClipboardEvent - setData() method does not throw when implementation does not know the type - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/174.html b/clipboard-apis/174.html deleted file mode 100644 index 835ab41384b530..00000000000000 --- a/clipboard-apis/174.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - ClipboardEvent - setData() method with text/html (experimental) - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/175.html b/clipboard-apis/175.html deleted file mode 100644 index 1c9f1914d9c136..00000000000000 --- a/clipboard-apis/175.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - ClipboardEvent - setData() method with text/html (experimental) - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/176.html b/clipboard-apis/176.html deleted file mode 100644 index 24960ca0205785..00000000000000 --- a/clipboard-apis/176.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - ClipboardEvent - clearData() method is noop in paste event - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/177.html b/clipboard-apis/177.html deleted file mode 100644 index 7b500abbef434a..00000000000000 --- a/clipboard-apis/177.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - clearData() method without preventing events's default action - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/178.html b/clipboard-apis/178.html deleted file mode 100644 index 0b303a4d4f564b..00000000000000 --- a/clipboard-apis/178.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - ClipboardEvent - clearData() method without preventing events's default action - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html index 61d3b78e7090f7..260cacb81e1053 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - cancelling default action, basic test - copy on document + ClipboardEvent - cancelling default action, basic test - copy on document @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html index 6de3dd0fcbfeae..5480ffb0fc7e4b 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - cancelling default action, basic test - copy on 'input_text' + ClipboardEvent - cancelling default action, basic test - copy on 'input_text' @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html index 7aa369a2e15fbd..11ccfa24ea24da 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - cancelling default action, basic test - cut on document + ClipboardEvent - cancelling default action, basic test - cut on document @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html index 9c681427879131..905da9a833fe12 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - cancelling default action, basic test - cut on 'input_text' + ClipboardEvent - cancelling default action, basic test - cut on 'input_text' @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html index 3154b13336f25c..d55560db47873d 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - cancelling default action of cut prevents removal of text from editable context - cut on document + ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on document @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); + e.preventDefault(); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html index 77fe3997d172db..1fe9ba269296cf 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - cancelling default action of cut prevents removal of text from editable context - cut on 'input_text' + ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on 'input_text' @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); + e.preventDefault(); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index b29dfaeb3118c7..1adba34bdffb0f 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() called outside event handler method - copy on document + ClipboardEvent - clearData() called outside event handler method - copy on document @@ -11,11 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.clearData(); - }, 1 ); - e.preventDefault(); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.clearData(); + }, 1 ); } @@ -23,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index 4f7f4d6b6fa39e..c0b36cdf48c852 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() called outside event handler method - cut on document + ClipboardEvent - clearData() called outside event handler method - cut on document @@ -11,11 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.clearData(); - }, 1 ); - e.preventDefault(); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.clearData(); + }, 1 ); } @@ -23,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index 473feeb1beb0c7..916980c49c683d 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() called outside event handler method - paste on document + ClipboardEvent - clearData() called outside event handler method - paste on document @@ -11,11 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.clearData(); - }, 1 ); - e.preventDefault(); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.clearData(); + }, 1 ); } @@ -23,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html index 1aed2d2341f240..dd6d25f892de34 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() followed by setData() in same event handler - copy on document + ClipboardEvent - clearData() followed by setData() in same event handler - copy on document @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData( 'text/plain' ); - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.preventDefault(); + e.clipboardData.clearData( 'text/plain' ); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.preventDefault(); } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html index c72377ec501748..e9953ba247836c 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() followed by setData() in same event handler - cut on document + ClipboardEvent - clearData() followed by setData() in same event handler - cut on document @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData( 'text/plain' ); - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.preventDefault(); + e.clipboardData.clearData( 'text/plain' ); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.preventDefault(); } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html index d0d81deb8da519..24960ca0205785 100644 --- a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html +++ b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() method is noop in paste event - paste on document + ClipboardEvent - clearData() method is noop in paste event - paste on document @@ -11,8 +11,8 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.clipboardData.clearData(); - e.preventDefault(); + e.clipboardData.clearData(); + e.preventDefault(); } @@ -20,17 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html index fb40c9f94da324..47a9b8c9878edf 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() method with text/html argument - copy on document + ClipboardEvent - clearData() method with text/html argument - copy on document @@ -20,17 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html index 183eb8d82b77d5..ac564ade511ac7 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() method with text/html argument - cut on document + ClipboardEvent - clearData() method with text/html argument - cut on document @@ -20,17 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html index b6e9b47d0b3924..e85846fcd7dde6 100644 --- a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() method without arguments - copy on document + ClipboardEvent - clearData() method without arguments - copy on document @@ -21,17 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html index 7a45b0e31f6b8e..fb11c0a14aec85 100644 --- a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() method without arguments - cut on document + ClipboardEvent - clearData() method without arguments - cut on document @@ -21,17 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html index 341d977c5e669c..7b500abbef434a 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() method without preventing events's default action - copy on document + ClipboardEvent - clearData() method without preventing events's default action - copy on document @@ -11,9 +11,9 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.clearData(); - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + e.clipboardData.clearData(); + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html index 94f0c793f907ee..0b303a4d4f564b 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clearData() method without preventing events's default action - cut on document + ClipboardEvent - clearData() method without preventing events's default action - cut on document @@ -11,9 +11,9 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.clearData(); - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + e.clipboardData.clearData(); + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html index a877d6e62024df..f4057297d9c19d 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - Clipboard event's clipboardData API - copy on document + ClipboardEvent - Clipboard event's clipboardData API - copy on document @@ -9,12 +9,12 @@ /** Clipboard event's clipboardData API */ /* Events: cut copy paste */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object'; - passed = passed && typeof e.clipboardData.clearData === 'function'; - passed = passed && typeof e.clipboardData.setData === 'function'; - passed = passed && typeof e.clipboardData.getData === 'function'; - passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... - return passed; + var passed = typeof e.clipboardData === 'object'; + passed = passed && typeof e.clipboardData.clearData === 'function'; + passed = passed && typeof e.clipboardData.setData === 'function'; + passed = passed && typeof e.clipboardData.getData === 'function'; + passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... + return passed; } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html index 8258db363c0016..7a7768b110c5f5 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - Clipboard event's clipboardData API - cut on document + ClipboardEvent - Clipboard event's clipboardData API - cut on document @@ -9,12 +9,12 @@ /** Clipboard event's clipboardData API */ /* Events: cut copy paste */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object'; - passed = passed && typeof e.clipboardData.clearData === 'function'; - passed = passed && typeof e.clipboardData.setData === 'function'; - passed = passed && typeof e.clipboardData.getData === 'function'; - passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... - return passed; + var passed = typeof e.clipboardData === 'object'; + passed = passed && typeof e.clipboardData.clearData === 'function'; + passed = passed && typeof e.clipboardData.setData === 'function'; + passed = passed && typeof e.clipboardData.getData === 'function'; + passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... + return passed; } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html index 48a80d34c1c5ac..df2b8549de6239 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - Clipboard event's clipboardData API - paste on document + ClipboardEvent - Clipboard event's clipboardData API - paste on document @@ -9,12 +9,12 @@ /** Clipboard event's clipboardData API */ /* Events: cut copy paste */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object'; - passed = passed && typeof e.clipboardData.clearData === 'function'; - passed = passed && typeof e.clipboardData.setData === 'function'; - passed = passed && typeof e.clipboardData.getData === 'function'; - passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... - return passed; + var passed = typeof e.clipboardData === 'object'; + passed = passed && typeof e.clipboardData.clearData === 'function'; + passed = passed && typeof e.clipboardData.setData === 'function'; + passed = passed && typeof e.clipboardData.getData === 'function'; + passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... + return passed; } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html index 65289d1ea5c830..1b596d64cdc3d0 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard events relative to key events - copy on 'input_text' + ClipboardEvent - clipboard events relative to key events - copy on 'input_text' @@ -21,7 +21,7 @@ function clipboard_api_test(e){ logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); @@ -36,11 +36,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html index 9de6fbcc464c1a..324734a13eb4c7 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard events relative to key events - cut on 'input_text' + ClipboardEvent - clipboard events relative to key events - cut on 'input_text' @@ -21,7 +21,7 @@ function clipboard_api_test(e){ logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); @@ -36,11 +36,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html index 16ad2da3402acb..d3cb36bfe858b1 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard events relative to key events - paste on 'input_text' + ClipboardEvent - clipboard events relative to key events - paste on 'input_text' @@ -21,7 +21,7 @@ function clipboard_api_test(e){ logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); @@ -36,11 +36,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html index aef238bedbb90c..8e055472461ee9 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard events relative to key events - preventDefault prevents clipboard events - copy on 'input_text' + ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - copy on 'input_text' @@ -13,8 +13,8 @@ var eventsFired=[], timeout; function logEvent(e){ - eventsFired.push(e.type); - if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here + eventsFired.push(e.type); + if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here }; document.addEventListener('DOMContentLoaded', function(){ document.getElementById('input_text').addEventListener( 'keydown', logEvent, false ); @@ -25,12 +25,12 @@ document.getElementById('input_text').addEventListener( 'paste', logEvent, false ); },false); document.onkeyup = function(){ - if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + if(timeout)clearTimeout(timeout); + setTimeout(test, 500); } function clipboard_api_test(e){ if(e)logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html index 9fbdd9fc1f9404..00190161afd972 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard events relative to key events - preventDefault prevents clipboard events - cut on 'input_text' + ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - cut on 'input_text' @@ -13,8 +13,8 @@ var eventsFired=[], timeout; function logEvent(e){ - eventsFired.push(e.type); - if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here + eventsFired.push(e.type); + if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here }; document.addEventListener('DOMContentLoaded', function(){ document.getElementById('input_text').addEventListener( 'keydown', logEvent, false ); @@ -25,12 +25,12 @@ document.getElementById('input_text').addEventListener( 'paste', logEvent, false ); },false); document.onkeyup = function(){ - if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + if(timeout)clearTimeout(timeout); + setTimeout(test, 500); } function clipboard_api_test(e){ if(e)logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html index 579fd8b7ddbf84..428fd342301e7e 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard events relative to key events - preventDefault prevents clipboard events - paste on 'input_text' + ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - paste on 'input_text' @@ -13,8 +13,8 @@ var eventsFired=[], timeout; function logEvent(e){ - eventsFired.push(e.type); - if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here + eventsFired.push(e.type); + if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here }; document.addEventListener('DOMContentLoaded', function(){ document.getElementById('input_text').addEventListener( 'keydown', logEvent, false ); @@ -25,12 +25,12 @@ document.getElementById('input_text').addEventListener( 'paste', logEvent, false ); },false); document.onkeyup = function(){ - if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + if(timeout)clearTimeout(timeout); + setTimeout(test, 500); } function clipboard_api_test(e){ if(e)logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html index 4ca64149f8a519..c95ae2ff1d7ba7 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard events relative to other input events - cut on 'input_text' + ClipboardEvent - clipboard events relative to other input events - cut on 'input_text' @@ -26,7 +26,7 @@ e.target.blur(); // causes change event e.target.form.checkValidity(); // causes invalid event }, 10); - setTimeout(function(){ + setTimeout(function(){ var evString = eventsFired.join(',') var passed = evString === 'cut,cut handler done,input,change,invalid'; // Issue: should textInput fire? Chrome doesn't but I don't know if it's on purpose result( passed, 'Got: '+evString ); @@ -43,11 +43,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html index f96781d2d187de..a324ac0c91c0f9 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard events relative to other input events - paste on 'input_text' + ClipboardEvent - clipboard events relative to other input events - paste on 'input_text' @@ -27,7 +27,7 @@ e.target.blur(); // causes change event e.target.form.checkValidity(); // causes invalid event }, 10); - setTimeout(function(){ + setTimeout(function(){ var evString = eventsFired.join(',') var passed = evString ==='paste,paste handler done,textInput,input,change' || evString ==='paste,paste handler done,input,change' ; result( passed, 'Got: '+evString ); @@ -44,11 +44,11 @@
diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html index 4c1e977de466ad..31e4e1f033dde5 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard modification when script uses both clearData() and setData() - copy on document + ClipboardEvent - clipboard modification when script uses both clearData() and setData() - copy on document @@ -12,7 +12,7 @@ /* Targets: document */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData(); + e.clipboardData.clearData(); e.clipboardData.setData('text/plain', 'modified text'); e.preventDefault(); } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html index b943cbea70ab4b..e9854c6cc79c26 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clipboard modification when script uses both clearData() and setData() - cut on document + ClipboardEvent - clipboard modification when script uses both clearData() and setData() - cut on document @@ -12,7 +12,7 @@ /* Targets: document */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData(); + e.clipboardData.clearData(); e.clipboardData.setData('text/plain', 'modified text'); e.preventDefault(); } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index e345c0e542a74c..daf71cad1d5548 100644 --- a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - clipboardData.items when clipboard has one single text/plain entry - paste on document + ClipboardEvent - clipboardData.items when clipboard has one single text/plain entry - paste on document @@ -11,10 +11,10 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; - return passed; + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; + passed = passed && e.isTrusted; + return passed; } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html index d14011472443b6..0b269ded724039 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent and non-ASCII data I - Japanese - copy on 'input_text' + ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - copy on 'input_text' @@ -13,8 +13,8 @@ /* External pass condition - clipboard data: "テスト" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'テスト' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'テスト' ); + e.preventDefault(); } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html index cae778f3c3383e..a4cf9617b60682 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent and non-ASCII data I - Japanese - cut on 'input_text' + ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - cut on 'input_text' @@ -13,8 +13,8 @@ /* External pass condition - clipboard data: "テスト" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'テスト' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'テスト' ); + e.preventDefault(); } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html index f99ebefee7feb4..59d408c873e06a 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent and non-ASCII data I - Japanese - paste on 'input_text' + ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - paste on 'input_text' @@ -13,8 +13,8 @@ /* paste data: "テスト" */ function clipboard_api_test(e){ - var passed = e.clipboardData.getData( 'text/plain') === 'テスト' ; - return passed; + var passed = e.clipboardData.getData( 'text/plain') === 'テスト' ; + return passed; } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html index 01b6035dbf811c..eea9ff7cfa7801 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html @@ -1,20 +1,20 @@ - Clipboard API - ClipboardEvent and non-ASCII data II - random Unicode symbols - copy on 'input_text' + ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - copy on 'input_text' @@ -22,15 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
+
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html index c2700dbd9115c2..412d94d0806641 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html @@ -1,20 +1,20 @@ - Clipboard API - ClipboardEvent and non-ASCII data II - random Unicode symbols - cut on 'input_text' + ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - cut on 'input_text' @@ -22,15 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
+
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html index 9289126fa4313e..d6c660d75d3ef0 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent - events fire on INPUT - copy on document + ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on document @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html index f091a44c6e7715..a20663330d6dd5 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent - events fire on INPUT - copy on 'input_text' + ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on 'input_text' @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html index 43bb7168d36dec..bddcfdec0bef70 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent - events fire on INPUT - cut on document + ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on document @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html index 58420c3fc2f0e4..45abcf8a096ff3 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent - events fire on INPUT - cut on 'input_text' + ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on 'input_text' @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html index 82b6396d117f3a..eecab6d807b46b 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent - events fire on TEXTAREA - copy on document + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on document @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html index 0a602a88fd7624..238a9c2ebf86d6 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent - events fire on TEXTAREA - copy on 'input_text' + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on 'input_text' @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html index f48552e6466a00..428f2cb93465e5 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent - events fire on TEXTAREA - cut on document + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on document @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html index 6aabc5f90c435b..29d7b2b8ce2a2b 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent - events fire on TEXTAREA - cut on 'input_text' + ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on 'input_text' @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/112.html b/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html similarity index 100% rename from clipboard-apis/112.html rename to clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html diff --git a/clipboard-apis/113.html b/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html similarity index 100% rename from clipboard-apis/113.html rename to clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 3935073932af65..09b35db15e2b0d 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - copy on document + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - copy on document @@ -11,24 +11,27 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - /* The result must be checked externally - i.e. what's on the clipboard.. */ + } function onTestSetupReady(type){ - var evt = new ClipboardEvent(window.eventType); - evt.clipboardData.items.add('synthetic event text', 'text/plain'); - evt.preventDefault(); - if(type === 'cut'){ - document.body.contentEditable='true'; - } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); - if(type === 'cut'){ - document.body.contentEditable = 'false'; - } + try{ + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); + if(type === 'cut'){ + document.body.contentEditable = 'false'; + } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } @@ -36,17 +39,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index 73c55f7aec3d6a..a732cf3c8f556c 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - cut on document + ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - cut on document @@ -11,24 +11,27 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - /* The result must be checked externally - i.e. what's on the clipboard.. */ + } function onTestSetupReady(type){ - var evt = new ClipboardEvent(window.eventType); - evt.clipboardData.items.add('synthetic event text', 'text/plain'); - evt.preventDefault(); - if(type === 'cut'){ - document.body.contentEditable='true'; - } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); - if(type === 'cut'){ - document.body.contentEditable = 'false'; - } + try{ + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); + if(type === 'cut'){ + document.body.contentEditable = 'false'; + } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } @@ -36,17 +39,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index de0fbffabc21e3..164425a2acc84d 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent interface - synthetic events with new ClipboardEvent constructor - paste on document + ClipboardEvent - ClipboardEvent interface - synthetic events with new ClipboardEvent constructor - paste on document @@ -10,17 +10,16 @@ /* Events: paste */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - return e.clipboardData.getData('text/plain')=='synthetic event text'; + return e.clipboardData.getData('text/plain')=='synthetic event text'; } function onTestSetupReady(){ - try{ - var evt = new ClipboardEvent('paste') - evt.clipboardData.items.add('synthetic event text', 'text/plain'); - document.dispatchEvent(evt); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.dispatchEvent(evt); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } @@ -28,17 +27,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index 1c85528b46b40a..f1f7cd26bbde7a 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent interface - synthetic events with non-standard MIME type - paste on document + ClipboardEvent - ClipboardEvent interface - synthetic events with non-standard MIME type - paste on document @@ -10,18 +10,17 @@ /* Events: paste */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - return e.clipboardData.getData('text/foobarbogustype')=='synthetic event text'; + return e.clipboardData.getData('text/foobarbogustype')=='synthetic event text'; } function onTestSetupReady(){ - try{ - var evt = new ClipboardEvent('paste'); - evt.clipboardData.items.add('synthetic event text', 'text/foobarbogustype'); - document.dispatchEvent(evt); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', {bubbles:true, cancelable:true, dataType: 'text/foobarbogustype', data:'synthetic event text'} ); + document.dispatchEvent(evt); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } @@ -29,17 +28,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index aae544db9768b7..f9bde96d709026 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent interface - synthetic paste event does not insert HTML data into contentEditable element - paste on document + ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert HTML data into contentEditable element - paste on document @@ -11,18 +11,22 @@ /* paste data: "clipboard text" */ /* Test HTML:

Editable element

@@ -34,11 +38,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html index 0a7e7b55d6705d..d158ba1c879a50 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent interface - synthetic paste event does not insert payload data into INPUT - paste on document + ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert payload data into INPUT - paste on document @@ -13,12 +13,16 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - var evt = new ClipboardEvent('paste'); - evt.clipboardData.items.add('synthetic event text', 'text/plain'); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); - }, 50 ); + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } @@ -30,11 +34,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html index afafef5eadde49..0c7ef49ce743e7 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent interface - synthetic paste event does not insert payload data into TEXTAREA - paste on document + ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert payload data into TEXTAREA - paste on document @@ -13,12 +13,16 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - var evt = new ClipboardEvent(type); - evt.clipboardData.items.add('synthetic event text', 'text/plain'); - document.getElementsByTagName('textarea')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); - }, 50 ); + try{ + var evt=new ClipboardEvent( type, { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('textarea')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } @@ -30,11 +34,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html index 2f13387e9e0a15..3c3528b9e099d2 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent interface - synthetic paste event does not insert plain text data into contentEditable element - paste on document + ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert plain text data into contentEditable element - paste on document @@ -11,18 +11,22 @@ /* paste data: "clipboard text" */ /* Test HTML:

Editable element

@@ -34,11 +38,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html index f60d70c4d8001b..343b032179ae0e 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT - paste on document + ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT - paste on document @@ -13,12 +13,16 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - var evt = new ClipboardEvent(type); - evt.clipboardData.items.add('synthetic event text', 'text/html'); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout(function(){ - result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); - }, 50); + try{ + var evt = new ClipboardEvent(type, { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' }); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout(function(){ + result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); + }, 50); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } @@ -30,11 +34,11 @@
diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html index 65166cd3001c3e..907cc2dbe03982 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - copy event does not modify selection - copy on document + ClipboardEvent - copy event does not modify selection - copy on document @@ -11,7 +11,7 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - setTimeout(function(){ + setTimeout(function(){ /* what is the "most standardised" way to test this? */ var passed = document.activeElement == document.getElementById('input_text') ; passed = passed && document.activeElement.selectionStart == 0 && document.activeElement.selectionEnd == document.activeElement.value.length; @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html index da1465f15396bf..42152842251a4a 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - copy event does not modify selection - copy on 'input_text' + ClipboardEvent - copy event does not modify selection - copy on 'input_text' @@ -11,7 +11,7 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - setTimeout(function(){ + setTimeout(function(){ /* what is the "most standardised" way to test this? */ var passed = document.activeElement == document.getElementById('input_text') ; passed = passed && document.activeElement.selectionStart == 0 && document.activeElement.selectionEnd == document.activeElement.value.length; @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html index 1180fe31cbd556..951a57d79e94f7 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - copy event target property - selection in input - copy on document + ClipboardEvent - copy event target property - selection in input - copy on document @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html index 86fa7f627830c3..abddc5b3bbeda1 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - copy event target property - selection in input - cut on document + ClipboardEvent - copy event target property - selection in input - cut on document @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html index 804189c77e1c48..c9b945fdcb0ddb 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - copy event target property - selection in input - paste on document + ClipboardEvent - copy event target property - selection in input - paste on document @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html index 0986151cecee94..6deba44d03789a 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - copy event when there is no selection and script uses setData() - copy on document + ClipboardEvent - copy event when there is no selection and script uses setData() - copy on document @@ -15,8 +15,8 @@ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ e.clipboardData.setData('text/plain', 'modified text'); - /* The default action is to do nothing (because there is no selection). - * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ + /* The default action is to do nothing (because there is no selection). + * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ e.preventDefault(); } @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html index 1fb858ec348442..ca3bea64a4f858 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - copy event when there is no selection and script uses setData() - cut on document + ClipboardEvent - copy event when there is no selection and script uses setData() - cut on document @@ -15,8 +15,8 @@ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ e.clipboardData.setData('text/plain', 'modified text'); - /* The default action is to do nothing (because there is no selection). - * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ + /* The default action is to do nothing (because there is no selection). + * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ e.preventDefault(); } @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html index 48a7173e27a8ee..9567bc36608320 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - copy operation does not dispatch other events - copy on document + ClipboardEvent - copy operation does not dispatch other events - copy on document @@ -14,7 +14,7 @@ var otherEventsFired=[]; var events=[ 'input', 'textInput', 'change' ]; for( var i=0,ev; ev=events[i];i++ )e.currentTarget.addEventListener(ev, function(e){ otherEventsFired.push(e.type); }, false); - setTimeout(function(){ + setTimeout(function(){ var passed = otherEventsFired.length===0; result(passed); }, 50); @@ -30,11 +30,11 @@
diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html index b54dd5798506f0..691bccbd1abb87 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - copy operation does not dispatch other events - copy on 'input_text' + ClipboardEvent - copy operation does not dispatch other events - copy on 'input_text' @@ -14,7 +14,7 @@ var otherEventsFired=[]; var events=[ 'input', 'textInput', 'change' ]; for( var i=0,ev; ev=events[i];i++ )e.currentTarget.addEventListener(ev, function(e){ otherEventsFired.push(e.type); }, false); - setTimeout(function(){ + setTimeout(function(){ var passed = otherEventsFired.length===0; result(passed); }, 50); @@ -30,11 +30,11 @@
diff --git a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html index 34f95e47408f97..8a23a0573d3514 100644 --- a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html +++ b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - cut collapses selection - cut on 'input_text' + ClipboardEvent - cut collapses selection - cut on 'input_text' @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html index c68c47dae43f9f..b6887a9cde6ecb 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - cut fires before text is removed - cut on document + ClipboardEvent - cut fires before text is removed - cut on document @@ -23,11 +23,11 @@
diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html index f7774b896c00f6..046b99066eb66d 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - cut fires before text is removed - cut on 'input_text' + ClipboardEvent - cut fires before text is removed - cut on 'input_text' @@ -23,11 +23,11 @@
diff --git a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html index eccb4745598c05..3220340481de09 100644 --- a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html +++ b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - default action of cut event when there is no selection - no text change - copy on document + ClipboardEvent - default action of cut event when there is no selection - no text change - copy on document @@ -12,13 +12,13 @@ /* Targets: document */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - var elm=e.target; + var elm=e.target; setTimeout( - function(){ - result(elm.value===elm.defaultValue); - }, - 50 - ); + function(){ + result(elm.value===elm.defaultValue); + }, + 50 + ); } @@ -30,11 +30,11 @@
diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html index f7401bef621bb1..6d5724d3fc6860 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - default action of event when there is no selection is noop - copy on document + ClipboardEvent - default action of event when there is no selection is noop - copy on document @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html index 09ba3c83d98f91..486dd8706d96aa 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - default action of event when there is no selection is noop - cut on document + ClipboardEvent - default action of event when there is no selection is noop - cut on document @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html index f44714df98d3e2..7101c85f88b316 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - event listener that modifies focus - copy on 'input_text' + ClipboardEvent - event listener that modifies focus - copy on 'input_text' @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "input 2" */ function clipboard_api_test(e){ - document.getElementById('second').focus(); + document.getElementById('second').focus(); } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html index 3ed7260e8bc000..aba7d4a2d52159 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - event listener that modifies focus - cut on 'input_text' + ClipboardEvent - event listener that modifies focus - cut on 'input_text' @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "input 2" */ function clipboard_api_test(e){ - document.getElementById('second').focus(); + document.getElementById('second').focus(); } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html index ea7cb147ba6b7f..675c8ad533d0f9 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - event listener that modifies focus - paste on 'input_text' + ClipboardEvent - event listener that modifies focus - paste on 'input_text' @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - document.getElementById('second').focus(); + document.getElementById('second').focus(); setTimeout( function(){ var passed = document.getElementById('second').value==='clipboard text'; result( passed ); @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html index d43c47610fafa3..4e6ef55a651bbf 100644 --- a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html +++ b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event listener that modifies selection - copy on document + ClipboardEvent - event listener that modifies selection - copy on document @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "This is demo text" */ function clipboard_api_test(e){ - var range=document.createRange(); + var range=document.createRange(); range.selectNodeContents(document.getElementsByTagName('div')[0]); window.getSelection().removeAllRanges(); window.getSelection().addRange(range); @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html index f1c0e830989d13..6cce087fac9c57 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event target property - selection in document text - copy on document + ClipboardEvent - event target property - selection in document text - copy on document @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html index a939ec4993b2c8..cd3e1b2d9d1acf 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event target property - selection in document text - cut on document + ClipboardEvent - event target property - selection in document text - cut on document @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html index 703026fc2c8562..ab103d3371a601 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event target property - selection in document text - paste on document + ClipboardEvent - event target property - selection in document text - paste on document @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html index 9227d02cb681bc..1488d46ba3e3ca 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event target when focused element has no text node inside - paste on document + ClipboardEvent - event target when focused element has no text node inside - paste on document @@ -14,8 +14,8 @@ function clipboard_api_test(e){ if(document.activeElement.id!='input_img')return 'Not testable, input.focus() has not focused the input type=image'; - var passed = e.target.id==='input_img'; - return passed; + var passed = e.target.id==='input_img'; + return passed; } @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html index 7cb1b520ea4103..b26bf23fd936ad 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html @@ -1,7 +1,7 @@ - Clipboard API - event target when focused element has no text node inside - paste on 'input_img' + ClipboardEvent - event target when focused element has no text node inside - paste on 'input_img' @@ -14,8 +14,8 @@ function clipboard_api_test(e){ if(document.activeElement.id!='input_img')return 'Not testable, input.focus() has not focused the input type=image'; - var passed = e.target.id==='input_img'; - return passed; + var passed = e.target.id==='input_img'; + return passed; } @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html index 54c0dfc51641d9..68af2fd8b06edd 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event target when no specific element has focus - copy on document + ClipboardEvent - event target when no specific element has focus - copy on document @@ -12,8 +12,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = e.target===document.body; - return passed; + var passed = e.target===document.body; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html index 6ba975c0652b2e..399ce36dc7d941 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event target when no specific element has focus - cut on document + ClipboardEvent - event target when no specific element has focus - cut on document @@ -12,8 +12,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = e.target===document.body; - return passed; + var passed = e.target===document.body; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html index 5a6371b33f26f4..246daab730b81a 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event target when no specific element has focus - paste on document + ClipboardEvent - event target when no specific element has focus - paste on document @@ -12,8 +12,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = e.target===document.body; - return passed; + var passed = e.target===document.body; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html index b0262f1cf76125..2253d69cd2247a 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - copy on 'a' + ClipboardEvent - event target when selection spans several elements - copy on 'a' @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html index 56caa15b09918f..d4b96fa4f7fcae 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - copy on 'b' + ClipboardEvent - event target when selection spans several elements - copy on 'b' @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html index 2f11e2eb0ff526..d97a0606d3a7e0 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - copy on document + ClipboardEvent - event target when selection spans several elements - copy on document @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html index e2659042f5b699..06871bb9b74369 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - cut on 'a' + ClipboardEvent - event target when selection spans several elements - cut on 'a' @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html index 6234e6f60ddf5e..4966d67276398f 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - cut on 'b' + ClipboardEvent - event target when selection spans several elements - cut on 'b' @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html index 55a0e18c9c5676..9fe5b30e25e587 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - cut on document + ClipboardEvent - event target when selection spans several elements - cut on document @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html index 63f983ba784a5d..cba070e4c58004 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html @@ -1,20 +1,20 @@ - Clipboard API - event target when selection spans several elements - paste on 'a' + ClipboardEvent - event target when selection spans several elements - paste on 'a' @@ -22,15 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html index 303de4996767e2..ce489467f6cf6a 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html @@ -1,20 +1,20 @@ - Clipboard API - event target when selection spans several elements - paste on 'b' + ClipboardEvent - event target when selection spans several elements - paste on 'b' @@ -22,15 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html index 8f5c36b09f2e51..ab105191f05002 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html @@ -1,20 +1,20 @@ - Clipboard API - event target when selection spans several elements - paste on document + ClipboardEvent - event target when selection spans several elements - paste on document @@ -22,15 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html index 75f50e296a1084..1931b65194aa9a 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - reversed selection - copy on 'a' + ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'a' @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html index 041d131cf266eb..ccf27de14df739 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - reversed selection - copy on 'b' + ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'b' @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html index 0e10a24ddf9683..14fc236ea09e2b 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - reversed selection - copy on document + ClipboardEvent - event target when selection spans several elements - reversed selection - copy on document @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html index 6833c49ae615fe..3952b5398b200b 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - reversed selection - cut on 'a' + ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'a' @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html index 5fb78810adafc8..7475a06ac8cb64 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - reversed selection - cut on 'b' + ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'b' @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html index 03f8331971e6c4..d9db452730a08d 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html @@ -1,19 +1,19 @@ - Clipboard API - event target when selection spans several elements - reversed selection - cut on document + ClipboardEvent - event target when selection spans several elements - reversed selection - cut on document @@ -21,15 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html index 4cbdddb89f0452..154fcec7024c11 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html @@ -1,20 +1,20 @@ - Clipboard API - event target when selection spans several elements - reversed selection - paste on 'a' + ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'a' @@ -22,15 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html index e01c1b02d825b7..0be698b0fffa33 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html @@ -1,20 +1,20 @@ - Clipboard API - event target when selection spans several elements - reversed selection - paste on 'b' + ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'b' @@ -22,15 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html index 5396fe36180bfc..e0425321594da2 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html @@ -1,20 +1,20 @@ - Clipboard API - event target when selection spans several elements - reversed selection - paste on document + ClipboardEvent - event target when selection spans several elements - reversed selection - paste on document @@ -22,15 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html index 9b907ddb4e7839..b963b211c667ef 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event.clipboardData exists and inherits from DataTransfer - copy on document + ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - copy on document @@ -11,8 +11,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; - return passed; + var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; + return passed; } @@ -20,17 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html index 93fc910579752a..566e27a0ed0dd0 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event.clipboardData exists and inherits from DataTransfer - cut on document + ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - cut on document @@ -11,8 +11,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; - return passed; + var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; + return passed; } @@ -20,17 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html index 083fec1f6aeea5..4369d1b0b3adfa 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - event.clipboardData exists and inherits from DataTransfer - paste on document + ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - paste on document @@ -11,8 +11,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; - return passed; + var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; + return passed; } @@ -20,17 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html index 9933a3d51eb1a5..f71b5aa879967e 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside editable SVG content - copy on document + ClipboardEvent - events fire inside editable SVG content - copy on document @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html index c770968fbd6402..26f18c0099b425 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside editable SVG content - copy on 'svg_text' + ClipboardEvent - events fire inside editable SVG content - copy on 'svg_text' @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html index f9301c2e1d1d6c..dce343b1096344 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside editable SVG content - cut on document + ClipboardEvent - events fire inside editable SVG content - cut on document @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html index e3aaa46a70c6af..017b035b0e6e1a 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside editable SVG content - cut on 'svg_text' + ClipboardEvent - events fire inside editable SVG content - cut on 'svg_text' @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html index 72c5a7f0e1896b..520becf00ef7db 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside editable SVG content - paste on document + ClipboardEvent - events fire inside editable SVG content - paste on document @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html index 50f77cac3c4dc0..841322a9a267da 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside editable SVG content - paste on 'svg_text' + ClipboardEvent - events fire inside editable SVG content - paste on 'svg_text' @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html index e0833f1e233b3d..097cc2991557ea 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content - copy on document + ClipboardEvent - events fire inside SVG content - copy on document @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html index 37bb8fce7ad40b..240bdabd528cf4 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content - copy on 'svg_text' + ClipboardEvent - events fire inside SVG content - copy on 'svg_text' @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html index 29d5a0be941c1f..da0db02e9dcad1 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content - cut on document + ClipboardEvent - events fire inside SVG content - cut on document @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html index e45a89bde74efd..3d92db0b274f97 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content - cut on 'svg_text' + ClipboardEvent - events fire inside SVG content - cut on 'svg_text' @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html index 60ad116cde88ff..4a53490afe6680 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content in contentEditable - copy on document + ClipboardEvent - events fire inside SVG content in contentEditable - copy on document @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html index 6380fe3c9af6da..1c03337fa5bf26 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content in contentEditable - copy on 'svg_text' + ClipboardEvent - events fire inside SVG content in contentEditable - copy on 'svg_text' @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html index 3cffd5dfbb625e..ae731b94aa1156 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content in contentEditable - cut on document + ClipboardEvent - events fire inside SVG content in contentEditable - cut on document @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html index 354ad941600e59..c34ca0c3afef04 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content in contentEditable - cut on 'svg_text' + ClipboardEvent - events fire inside SVG content in contentEditable - cut on 'svg_text' @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html index cb982fb8648e37..68fc98c14fcde9 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content in contentEditable - paste on document + ClipboardEvent - events fire inside SVG content in contentEditable - paste on document @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html index ba9702e066fa3a..fb16fd5469e46a 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content in contentEditable - paste on 'svg_text' + ClipboardEvent - events fire inside SVG content in contentEditable - paste on 'svg_text' @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html index 0b555b9c8c3705..dbb72cf1ee037e 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content - paste on document + ClipboardEvent - events fire inside SVG content - paste on document @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html index 9a8afd3b102c32..84d01d7245a0c1 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html @@ -1,18 +1,18 @@ - Clipboard API - events fire inside SVG content - paste on 'svg_text' + ClipboardEvent - events fire inside SVG content - paste on 'svg_text' @@ -20,15 +20,15 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_on_input_paste_on_document.html b/clipboard-apis/events_fire_on_input_paste_on_document.html index 308b1e2d08dd39..e24b256e32dc1f 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_document.html +++ b/clipboard-apis/events_fire_on_input_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - events fire on INPUT - paste on document + ClipboardEvent - events fire on INPUT - paste on document @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html index 73818c1cf67297..b0dd204ca2a273 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - events fire on INPUT - paste on 'input_text' + ClipboardEvent - events fire on INPUT - paste on 'input_text' @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_document.html b/clipboard-apis/events_fire_on_textarea_paste_on_document.html index 1e00cd401d337d..9e626d2a97714d 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_document.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - events fire on TEXTAREA - paste on document + ClipboardEvent - events fire on TEXTAREA - paste on document @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html index aacc26ec88933e..f39beeaefc944a 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - events fire on TEXTAREA - paste on 'input_text' + ClipboardEvent - events fire on TEXTAREA - paste on 'input_text' @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html index d23f1a31f48df8..38da96c3a4d01a 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getData() method in cut and copy events should return an empty string - copy on document + ClipboardEvent - getData() method in cut and copy events should return an empty string - copy on document @@ -9,11 +9,11 @@ /** getData() method in cut and copy events should return an empty string */ /* Events: cut copy */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/plain')==='')passed=true; + } + return passed; } @@ -21,17 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html index 536f27f3b51d35..49631d427d926d 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getData() method in cut and copy events should return an empty string - cut on document + ClipboardEvent - getData() method in cut and copy events should return an empty string - cut on document @@ -9,11 +9,11 @@ /** getData() method in cut and copy events should return an empty string */ /* Events: cut copy */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/plain')==='')passed=true; + } + return passed; } @@ -21,17 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html index 78d64c514517b4..5cdfd948706e15 100644 --- a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html +++ b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getData() method in paste event retrieving plain text - paste on document + ClipboardEvent - getData() method in paste event retrieving plain text - paste on document @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='pasted text')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/plain')==='pasted text')passed=true; + } + return passed; } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html index 32d40878b125db..d5974e782aa37e 100644 --- a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html +++ b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getData() method supports legacy 'text' argument - paste on document + ClipboardEvent - getData() method supports legacy 'text' argument - paste on document @@ -10,12 +10,12 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if( e.clipboardData.getData('text')==='pasted text' - && e.clipboardData.getData('tEXt')==='pasted text' )passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if( e.clipboardData.getData('text')==='pasted text' + && e.clipboardData.getData('tEXt')==='pasted text' )passed=true; + } + return passed; } @@ -23,17 +23,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html index ccd1bc6c272565..a63d706617cb6a 100644 --- a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getData() method when called outside event handler should return an empty string - paste on document + ClipboardEvent - getData() method when called outside event handler should return an empty string - paste on document @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - var passed = cbData.getData('text/plain')===''; - result(passed); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + var passed = cbData.getData('text/plain')===''; + result(passed); + }, 1 ); } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html index f49c9dfa960a5a..ce54b6e743367e 100644 --- a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getData() method when type is unsupported should return an empty string - paste on document + ClipboardEvent - getData() method when type is unsupported should return an empty string - paste on document @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/foobarbogustype')==='')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/foobarbogustype')==='')passed=true; + } + return passed; } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index b2c85211fb22a8..a63b7541a4cf63 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getData() method with wrong number of arguments - paste on document + ClipboardEvent - getData() method with wrong number of arguments - paste on document @@ -10,16 +10,16 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed=true; - try{ - e.clipboardData.getData(); - passed=false; - }catch(e){} - try{ - e.clipboardData.getData( 'text/plain', 'wrong number of arguments' ); - passed=false; - }catch(e){} - return passed; + var passed=true; + try{ + e.clipboardData.getData(); + passed=false; + }catch(e){} + try{ + e.clipboardData.getData( 'text/plain', 'wrong number of arguments' ); + passed=false; + }catch(e){} + return passed; } @@ -27,17 +27,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html index 1d2e31ead7f738..e882266f1a01fe 100644 --- a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html +++ b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getData() method's type argument not case sensitive - paste on document + ClipboardEvent - getData() method's type argument not case sensitive - paste on document @@ -10,15 +10,15 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if( e.clipboardData.getData('text/PLAIN')==='pasted text' && - e.clipboardData.getData('TEXT/PLAIN')==='pasted text' && - e.clipboardData.getData('Text/Plain')==='pasted text' && - e.clipboardData.getData('TeXt/PlAin')==='pasted text' - )passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if( e.clipboardData.getData('text/PLAIN')==='pasted text' && + e.clipboardData.getData('TEXT/PLAIN')==='pasted text' && + e.clipboardData.getData('Text/Plain')==='pasted text' && + e.clipboardData.getData('TeXt/PlAin')==='pasted text' + )passed=true; + } + return passed; } @@ -26,17 +26,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html index 15684daa587d38..4efdaf917c32ef 100644 --- a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html +++ b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getData() supports legacy 'url' argument - paste on document + ClipboardEvent - getData() supports legacy 'url' argument - paste on document @@ -25,17 +25,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index a8e318f6f1a3f4..8b92de5c6ce692 100644 --- a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - getting data from clipboardData.items when clipboard has one single text/plain entry - paste on document + ClipboardEvent - getting data from clipboardData.items when clipboard has one single text/plain entry - paste on document @@ -11,9 +11,9 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ - e.clipboardData.items[0].getAsString( function(s){ - result( s==='pasted text' ); - } ); + e.clipboardData.items[0].getAsString( function(s){ + result( s==='pasted text' ); + } ); } @@ -21,17 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index 7e27d9075a9b7f..bd2a3e0fe61416 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -1,7 +1,7 @@ - Clipboard API - integration with execCommand, can prevent default action - copy on 'ifr.contentWindow' + ClipboardEvent - integration with execCommand, can prevent default action - copy on 'ifr.contentWindow' @@ -14,25 +14,26 @@ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - doc.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().removeAllRanges(); - doc.defaultView.getSelection().addRange(range); - var returnValue = doc.execCommand(window.eventType, false, false); - /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ - assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); - /* This assertation is especially relevant for 'cut' */ - assert_equals(doc.getElementsByTagName('p')[0].firstChild.textContent, 'Frame contents'); + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + ifr.contentDocument.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + doc.body.innerHTML='

This is filler text

'; + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().addRange(range); + try{ + doc.execCommand(window.eventType, false, false); + // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } } @@ -44,11 +45,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index b1ec92f590076d..64e74baf36faaf 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -1,7 +1,7 @@ - Clipboard API - integration with execCommand, can prevent default action - cut on 'ifr.contentWindow' + ClipboardEvent - integration with execCommand, can prevent default action - cut on 'ifr.contentWindow' @@ -14,25 +14,26 @@ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - doc.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().removeAllRanges(); - doc.defaultView.getSelection().addRange(range); - var returnValue = doc.execCommand(window.eventType, false, false); - /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ - assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); - /* This assertation is especially relevant for 'cut' */ - assert_equals(doc.getElementsByTagName('p')[0].firstChild.textContent, 'Frame contents'); + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + ifr.contentDocument.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + doc.body.innerHTML='

This is filler text

'; + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().addRange(range); + try{ + doc.execCommand(window.eventType, false, false); + // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } } @@ -44,11 +45,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index f1ad4b2ed6ca69..52aaa6c54523e2 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -1,7 +1,7 @@ - Clipboard API - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' + ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' @@ -9,25 +9,25 @@ /** integration with execCommand, can prevent default action */ /* Events: paste */ /* paste data: "clipboard text" */ -/* Test HTML:

Note: this test is only relevant if scripted paste is allowed

*/ +/* Test HTML: */ /* Targets: 'ifr.contentWindow' */ function clipboard_api_test(e){ - window.eventFired=true; - e.preventDefault(); + window.eventFired=true; + e.preventDefault(); } function triggerTestManually(){ - var ifr=document.getElementById('ifr'); - ifr.contentDocument.designMode='on'; - ifr.contentWindow.focus(); - try{ - ifr.contentDocument.execCommand(window.eventType, false, false); - setTimeout(function(){ - var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; - result(passed); - }, 10); - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('ifr'); + ifr.contentDocument.designMode='on'; + ifr.contentWindow.focus(); + try{ + ifr.contentDocument.execCommand(window.eventType, false, false); + setTimeout(function(){ + var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; + result(passed); + }, 10); + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); + } } @@ -35,15 +35,15 @@

FAILED (This TC requires JavaScript enabled)

-

Note: this test is only relevant if scripted paste is allowed

+
diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index a2acc1eca1cebe..85893170860d42 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -1,44 +1,45 @@ - Clipboard API - integration with execCommand, events are syncronous - copy on 'iframe.contentWindow' + ClipboardEvent - integration with execCommand, events are syncronous - copy on 'iframe.contentWindow' @@ -50,11 +51,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index abf66225f12c2d..76cdf836ed8b95 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -1,44 +1,45 @@ - Clipboard API - integration with execCommand, events are syncronous - cut on 'iframe.contentWindow' + ClipboardEvent - integration with execCommand, events are syncronous - cut on 'iframe.contentWindow' @@ -50,11 +51,11 @@
diff --git a/clipboard-apis/121.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html similarity index 74% rename from clipboard-apis/121.html rename to clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index 212928def38f57..a1c07a582db602 100644 --- a/clipboard-apis/121.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -27,13 +27,19 @@ sel.removeAllRanges(); sel.addRange(rng); } +} +function triggerTestManually(eventType){ try{ + var ifr=document.getElementById('iframe'); window.afterExecCommand=false; - ifr.contentDocument.execCommand(window.eventType, false, false); + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); - } + if(!execSucceeded){ + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html index 3118c156f45cbc..effdc3c1ba6ae8 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - items.add() called outside event handler method - copy on document + ClipboardEvent - items.add() called outside event handler method - copy on document @@ -11,11 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.items.add( 'Test failed', 'text/plain'); - }, 1 ); - e.preventDefault(); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.items.add( 'Test failed', 'text/plain'); + }, 1 ); } @@ -23,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index 86a75ab999ed76..aa1dba387b3f76 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - items.add() called outside event handler method - cut on document + ClipboardEvent - items.add() called outside event handler method - cut on document @@ -11,11 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.items.add( 'Test failed', 'text/plain'); - }, 1 ); - e.preventDefault(); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.items.add( 'Test failed', 'text/plain'); + }, 1 ); } @@ -23,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index 9ccaeee0679a16..2ee39a3e67a07d 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - items.add() called outside event handler method - paste on document + ClipboardEvent - items.add() called outside event handler method - paste on document @@ -11,11 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.items.add( 'Test failed', 'text/plain'); - }, 1 ); - e.preventDefault(); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.items.add( 'Test failed', 'text/plain'); + }, 1 ); } @@ -23,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html index 53ba24a860632a..f9968d00d1fc63 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - modifying data for cut event in non-editable context with selection - copy on document + ClipboardEvent - modifying data for cut event in non-editable context with selection - copy on document @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "cut text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'cut text'); + e.clipboardData.setData('text/plain', 'cut text'); e.preventDefault(); /* this event's default action is a NOOP since the selection can not be removed. */ } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html index bd2e90e0dab030..0a97a656776c36 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - modifying data for cut event in non-editable context with selection - cut on document + ClipboardEvent - modifying data for cut event in non-editable context with selection - cut on document @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "cut text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'cut text'); + e.clipboardData.setData('text/plain', 'cut text'); e.preventDefault(); /* this event's default action is a NOOP since the selection can not be removed. */ } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html index 8482ad292fbdd5..6e6b98db6bebff 100644 --- a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html +++ b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - no default action for cut in non-editable context - cut on document + ClipboardEvent - no default action for cut in non-editable context - cut on document @@ -12,8 +12,8 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - /* the point of the test is to make sure that the event fires but the clipboard data is not altered */ - /* hence we don't need to to anything here (if the event doesn't fire the test will hang without giving further instructions) */ + /* the point of the test is to make sure that the event fires but the clipboard data is not altered */ + /* hence we don't need to to anything here (if the event doesn't fire the test will hang without giving further instructions) */ } @@ -21,17 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html index 065638684ca8a2..dbd3a18acacfb3 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - paste event fires before data is inserted - paste on document + ClipboardEvent - paste event fires before data is inserted - paste on document @@ -12,8 +12,8 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; - return passed; + var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html index 8a551a94dad555..4b8eda791f9ed5 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - paste event fires before data is inserted - paste on 'input_text' + ClipboardEvent - paste event fires before data is inserted - paste on 'input_text' @@ -12,8 +12,8 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; - return passed; + var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html index 7f4992a99b3587..d92ad63f671e1c 100644 --- a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - paste event fires even in non-editable context - paste on document + ClipboardEvent - paste event fires even in non-editable context - paste on document @@ -12,8 +12,8 @@ /* paste data: "pasted text" */ /* Test HTML:

 

*/ function clipboard_api_test(e){ - var passed = e.type === 'paste'; - return passed; + var passed = e.type === 'paste'; + return passed; } @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html index 00b40b4cf2f5bb..dab03ea2696749 100644 --- a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - pasting a file of unknown type - paste on document + ClipboardEvent - pasting a file of unknown type - paste on document @@ -10,13 +10,13 @@ /* Events: paste */ /* paste data: "the file 'support/test'" */ /* Targets: document */ -/* Clipboard data type: file reference: ./support/test */ +/* Clipboard data type: file reference: ./support/test */ /* Test HTML:

To complete this test, copy the "./support/test" file from the OS file manager and paste into this page

*/ function clipboard_api_test(e){ - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='file' && ( /application\/octet-stream/.test(e.clipboardData.items[0].type) ); - return passed; + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='file' && ( /application\/octet-stream/.test(e.clipboardData.items[0].type) ); + return passed; } // TODO: figure out how to automate this test (i.e. find a better cross-platform clipboard library for JRuby..) @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/pasting_a_file_paste_on_document.html b/clipboard-apis/pasting_a_file_paste_on_document.html index 4dd6ba7cee6ccf..83f009ee84e788 100644 --- a/clipboard-apis/pasting_a_file_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - pasting a file - paste on document + ClipboardEvent - pasting a file - paste on document @@ -14,9 +14,9 @@ /* Test HTML:

To complete this test, copy the './support/image.jpg' file from the OS file manager and paste into this page

 
diff --git a/clipboard-apis/preventing_default_action_paste_on_document.html b/clipboard-apis/preventing_default_action_paste_on_document.html index efd7d4b9438ec1..a2d40b20d1081f 100644 --- a/clipboard-apis/preventing_default_action_paste_on_document.html +++ b/clipboard-apis/preventing_default_action_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - preventing default action - paste on document + ClipboardEvent - preventing default action - paste on document @@ -13,8 +13,8 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/preventing_default_action_paste_on_inputtext.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html index 0cc6de4e897147..fa8c06472f34c4 100644 --- a/clipboard-apis/preventing_default_action_paste_on_inputtext.html +++ b/clipboard-apis/preventing_default_action_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - preventing default action - paste on 'input_text' + ClipboardEvent - preventing default action - paste on 'input_text' @@ -13,8 +13,8 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); } @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html index d0da6561874d76..e11356515007fa 100644 --- a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html +++ b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - reading clipboard data from looping script - paste on document + ClipboardEvent - reading clipboard data from looping script - paste on document @@ -12,21 +12,21 @@ /* Targets: document */ function clipboard_api_test(e){ - var last=new Date(),now=new Date(), interval=50, seconds=10; - var start=new Date(); - var text=e.clipboardData.getData( 'text/plain' ), readAgain=''; - document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('Please copy "pasted text 2" to clipboard while the test runs.')); - var logElm=document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('')); - while( now=new Date() ){ - if( now.getTime() - last.getTime() > interval ){ - readAgain=e.clipboardData.getData('text/plain'); - if( readAgain && readAgain !== text )return false; - now=new Date(); - logElm.data='Test will run for '+parseInt( seconds - ((now.getTime() - start.getTime())/1000) )+' more seconds'; - if( (now.getTime() - start.getTime()) > seconds * 1000 )break; - } - } - return true; + var last=new Date(),now=new Date(), interval=50, seconds=10; + var start=new Date(); + var text=e.clipboardData.getData( 'text/plain' ), readAgain=''; + document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('Please copy "pasted text 2" to clipboard while the test runs.')); + var logElm=document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('')); + while( now=new Date() ){ + if( now.getTime() - last.getTime() > interval ){ + readAgain=e.clipboardData.getData('text/plain'); + if( readAgain && readAgain !== text )return false; + now=new Date(); + logElm.data='Test will run for '+parseInt( seconds - ((now.getTime() - start.getTime())/1000) )+' more seconds'; + if( (now.getTime() - start.getTime()) > seconds * 1000 )break; + } + } + return true; } @@ -35,17 +35,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html index aceb9957363a3a..7f1b19386bbddf 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData and clipboardData.items - copy on document + ClipboardEvent - setData and clipboardData.items - copy on document @@ -10,11 +10,11 @@ /* Events: copy cut */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'modified text'); - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; - return passed; + e.clipboardData.setData('text/plain', 'modified text'); + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; + passed = passed && e.isTrusted; + return passed; } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html index 8e2c1efe38ec33..a581519ebadeea 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData and clipboardData.items - cut on document + ClipboardEvent - setData and clipboardData.items - cut on document @@ -10,11 +10,11 @@ /* Events: copy cut */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'modified text'); - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; - return passed; + e.clipboardData.setData('text/plain', 'modified text'); + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; + passed = passed && e.isTrusted; + return passed; } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index aaa38c41634cd8..f8da3409c743d9 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() called outside event handler method - copy on document + ClipboardEvent - setData() called outside event handler method - copy on document @@ -11,11 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.setData('text/plain', 'Test failed'); - }, 1 ); - e.preventDefault(); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.setData('text/plain', 'Test failed'); + }, 1 ); } @@ -23,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index 1e2c1d0de54673..b558e3c1a916cf 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() called outside event handler method - cut on document + ClipboardEvent - setData() called outside event handler method - cut on document @@ -11,11 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.setData('text/plain', 'Test failed'); - }, 1 ); - e.preventDefault(); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.setData('text/plain', 'Test failed'); + }, 1 ); } @@ -23,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index 0ec69aeeb31b80..b2730da403c6ef 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() called outside event handler method - paste on document + ClipboardEvent - setData() called outside event handler method - paste on document @@ -11,11 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.setData('text/plain', 'Test failed'); - }, 1 ); - e.preventDefault(); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.setData('text/plain', 'Test failed'); + }, 1 ); } @@ -23,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html index af1ff5f4a39885..4724707944884b 100644 --- a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html +++ b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() does not modify text that is about to be inserted in a paste event - paste on document + ClipboardEvent - setData() does not modify text that is about to be inserted in a paste event - paste on document @@ -11,12 +11,12 @@ /* paste data: "pasted text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - setTimeout(function(){ - var passed=false; + setTimeout(function(){ + var passed=false; passed=e.target.value==='pasted text'; - result(passed); - }, 10); - e.clipboardData.setData('text/plain', 'modified text'); + result(passed); + }, 10); + e.clipboardData.setData('text/plain', 'modified text'); } @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html index f3231c39081b0f..0dad407162d6a8 100644 --- a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html @@ -1,7 +1,7 @@ - Clipboard API - setData() doesn't modify text on the clipboard when called from a paste event - paste on 'input_text' + ClipboardEvent - setData() doesn't modify text on the clipboard when called from a paste event - paste on 'input_text' @@ -14,9 +14,9 @@ /* Targets: 'input_text' */ function clipboard_api_test(e){ - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'modified text'); - } + if(e.clipboardData && e.clipboardData.setData){ + e.clipboardData.setData('text/plain', 'modified text'); + } } @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html index 5bd94ec5bcb830..ce743660195beb 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() followed by clearData() in same event handler - copy on document + ClipboardEvent - setData() followed by clearData() in same event handler - copy on document @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.clipboardData.clearData( 'text/plain' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.clipboardData.clearData( 'text/plain' ); + e.preventDefault(); } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html index 6f0b410291ccfa..d4a0b9fb174037 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() followed by clearData() in same event handler - cut on document + ClipboardEvent - setData() followed by clearData() in same event handler - cut on document @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.clipboardData.clearData( 'text/plain' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.clipboardData.clearData( 'text/plain' ); + e.preventDefault(); } @@ -22,17 +22,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html index 2e3f7f58073c2c..d6f4f233589a30 100644 --- a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html +++ b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() in cut event without preventDefault() has no effect when default action is noop - cut on document + ClipboardEvent - setData() in cut event without preventDefault() has no effect when default action is noop - cut on document @@ -12,7 +12,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'cut text'); + e.clipboardData.setData('text/plain', 'cut text'); /* NO e.preventDefault() call here. This event's default action is to do nothing since there is no selection. The test verifies that nothing happens to clipboard content. */ } @@ -21,17 +21,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_method_copy_on_document.html b/clipboard-apis/setdata_method_copy_on_document.html index b73347b7041878..cf6a569caec314 100644 --- a/clipboard-apis/setdata_method_copy_on_document.html +++ b/clipboard-apis/setdata_method_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() method - copy on document + ClipboardEvent - setData() method - copy on document @@ -12,9 +12,9 @@ /* paste data: "pasted text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/plain', 'modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/plain', 'modified text'); + e.preventDefault(); } /* TODO: should this (and similar) tests only work if we have "preflight" events? */ /* @@ -27,17 +27,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_method_cut_on_document.html b/clipboard-apis/setdata_method_cut_on_document.html index f27c9aef5ae2a3..08b6f7c93fdf8e 100644 --- a/clipboard-apis/setdata_method_cut_on_document.html +++ b/clipboard-apis/setdata_method_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() method - cut on document + ClipboardEvent - setData() method - cut on document @@ -12,9 +12,9 @@ /* paste data: "pasted text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/plain', 'modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/plain', 'modified text'); + e.preventDefault(); } /* TODO: should this (and similar) tests only work if we have "preflight" events? */ /* @@ -27,17 +27,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html index f880dce30627f1..12a200f6f4bbab 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() method does not throw when implementation does not know the type - copy on document + ClipboardEvent - setData() method does not throw when implementation does not know the type - copy on document @@ -14,14 +14,14 @@ //TODO: this test asserts a NOOP. // how this SHOULD work is, however, underspecified.. function clipboard_api_test(e){ - var passed = false; - try{ - e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); - e.preventDefault(); - passed=true; - }catch(e){ - } - return passed; + var passed = false; + try{ + e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); + e.preventDefault(); + passed=true; + }catch(e){ + } + return passed; } @@ -33,11 +33,11 @@
diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html index 47ec292ef7077d..47521b563ec048 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() method does not throw when implementation does not know the type - cut on document + ClipboardEvent - setData() method does not throw when implementation does not know the type - cut on document @@ -14,14 +14,14 @@ //TODO: this test asserts a NOOP. // how this SHOULD work is, however, underspecified.. function clipboard_api_test(e){ - var passed = false; - try{ - e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); - e.preventDefault(); - passed=true; - }catch(e){ - } - return passed; + var passed = false; + try{ + e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); + e.preventDefault(); + passed=true; + }catch(e){ + } + return passed; } @@ -33,11 +33,11 @@
diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html index 6e18db80ddafb1..835ab41384b530 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() method with text/html (experimental) - copy on document + ClipboardEvent - setData() method with text/html (experimental) - copy on document @@ -24,10 +24,10 @@ Note: IE throws for this test. Presumably it would use just "html", not "text/html" for the format argument if it supported this. */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/html', '

copycut modified text

'); - e.clipboardData.setData('text/plain', 'copycut modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/html', '

copycut modified text

'); + e.clipboardData.setData('text/plain', 'copycut modified text'); + e.preventDefault(); } @@ -35,17 +35,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html index 2fcc4d0188fd2c..1c9f1914d9c136 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() method with text/html (experimental) - cut on document + ClipboardEvent - setData() method with text/html (experimental) - cut on document @@ -24,10 +24,10 @@ Note: IE throws for this test. Presumably it would use just "html", not "text/html" for the format argument if it supported this. */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/html', '

copycut modified text

'); - e.clipboardData.setData('text/plain', 'copycut modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/html', '

copycut modified text

'); + e.clipboardData.setData('text/plain', 'copycut modified text'); + e.preventDefault(); } @@ -35,17 +35,15 @@

FAILED (This TC requires JavaScript enabled)

-
- -
+
diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html index abc5c32a147530..24cc907eafd64c 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() method without preventing events's default action - copy on document + ClipboardEvent - setData() method without preventing events's default action - copy on document @@ -11,11 +11,11 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'copycutpaste modified text'); - } - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + if(e.clipboardData && e.clipboardData.setData){ + e.clipboardData.setData('text/plain', 'copycutpaste modified text'); + } + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html index cd757f7a852438..38a4f71b3735b3 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - setData() method without preventing events's default action - cut on document + ClipboardEvent - setData() method without preventing events's default action - cut on document @@ -11,11 +11,11 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'copycutpaste modified text'); - } - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + if(e.clipboardData && e.clipboardData.setData){ + e.clipboardData.setData('text/plain', 'copycutpaste modified text'); + } + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/171.html b/clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html similarity index 100% rename from clipboard-apis/171.html rename to clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html diff --git a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html index edada11eedea0f..bf2cb07721e230 100644 --- a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html +++ b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - Using beforecopy to enable 'copy' UI that would otherwise be disabled - copy on document + ClipboardEvent - Using beforecopy to enable 'copy' UI that would otherwise be disabled - copy on document @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html index 6d81ec1fd765df..f11a0f2f0d2911 100644 --- a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html +++ b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - Using beforecut to enable 'cut' UI that would otherwise be disabled - cut on document + ClipboardEvent - Using beforecut to enable 'cut' UI that would otherwise be disabled - cut on document @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html index e93520dedf34ed..c6153ee0db5e21 100644 --- a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html +++ b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html @@ -1,7 +1,7 @@ - Clipboard API - Using beforepaste to enable 'paste' UI that would otherwise be disabled - paste on document + ClipboardEvent - Using beforepaste to enable 'paste' UI that would otherwise be disabled - paste on document @@ -24,11 +24,11 @@
From 13794e6a889879195abc3ee6f1827385bb1b6f05 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Fri, 19 Dec 2014 11:11:03 +0100 Subject: [PATCH 21/42] changed test order in testlist.rb --- clipboard-apis/testlist.rb | 202 +++++++++++++++++++------------------ 1 file changed, 103 insertions(+), 99 deletions(-) diff --git a/clipboard-apis/testlist.rb b/clipboard-apis/testlist.rb index 93dcb7960d534d..91895a02c083dd 100644 --- a/clipboard-apis/testlist.rb +++ b/clipboard-apis/testlist.rb @@ -2,138 +2,138 @@ describe "Clipboard events testsuite" do before(:all) do @browser = OperaWatir::Browser.new - $base = 'file://localhost/d:/projects/spec-dev/copy-paste/W3C-repo/clipops/testsuite/' + $base = '/web-platform-tests/clipboard-apis/testsuite/' end - it "1 ClipboardEvent - events fire on INPUT " do + it "1 Using beforecopy to enable 'copy' UI that would otherwise be disabled " do doSingleTest 1 end - it "5 ClipboardEvent - events fire on TEXTAREA " do - doSingleTest 5 + it "2 Using beforecut to enable 'cut' UI that would otherwise be disabled " do + doSingleTest 2 end - it "9 setData() method " do - doSingleTest 9 + it "3 Using beforepaste to enable 'paste' UI that would otherwise be disabled " do + doSingleTest 3 end - it "11 copy event when there is no selection and script uses setData() " do - doSingleTest 11 + it "4 ClipboardEvent - events fire on INPUT " do + doSingleTest 4 end - it "13 cancelling default action, basic test " do - doSingleTest 13 + it "8 ClipboardEvent - events fire on TEXTAREA " do + doSingleTest 8 end - it "17 copy event does not modify selection " do - doSingleTest 17 + it "12 setData() method " do + doSingleTest 12 end - it "19 default action of event when there is no selection is noop " do - doSingleTest 19 + it "14 copy event when there is no selection and script uses setData() " do + doSingleTest 14 end - it "21 default action of cut event when there is no selection - no text change " do - doSingleTest 21 + it "16 cancelling default action, basic test " do + doSingleTest 16 end - it "22 getData() method in cut and copy events should return an empty string " do + it "20 copy event does not modify selection " do + doSingleTest 20 + end + + it "22 default action of event when there is no selection is noop " do doSingleTest 22 end - it "24 getData() method when type is unsupported should return an empty string " do + it "24 default action of cut event when there is no selection - no text change " do doSingleTest 24 end - it "25 cancelling default action of cut prevents removal of text from editable context " do + it "25 getData() method in cut and copy events should return an empty string " do doSingleTest 25 end - it "27 no default action for cut in non-editable context " do + it "27 getData() method when type is unsupported should return an empty string " do doSingleTest 27 end - it "28 setData() in cut event without preventDefault() has no effect when default action is noop " do + it "28 cancelling default action of cut prevents removal of text from editable context " do doSingleTest 28 end - it "29 cut fires before text is removed " do - doSingleTest 29 + it "30 cut fires before text is removed " do + doSingleTest 30 end - it "31 cut collapses selection " do - doSingleTest 31 + it "32 cut collapses selection " do + doSingleTest 32 end - it "32 modifying data for cut event in non-editable context with selection " do - doSingleTest 32 + it "33 no default action for cut in non-editable context " do + doSingleTest 33 end - it "34 setData() method without preventing events's default action " do + it "34 setData() in cut event without preventDefault() has no effect when default action is noop " do doSingleTest 34 end - it "36 events fire on INPUT " do - doSingleTest 36 + it "35 modifying data for cut event in non-editable context with selection " do + doSingleTest 35 end - it "38 events fire on TEXTAREA " do - doSingleTest 38 + it "37 setData() method without preventing events's default action " do + doSingleTest 37 end - it "40 paste event fires before data is inserted " do - doSingleTest 40 + it "39 events fire on INPUT " do + doSingleTest 39 end - it "42 preventing default action " do - doSingleTest 42 + it "41 events fire on TEXTAREA " do + doSingleTest 41 end - it "44 paste event fires even in non-editable context " do - doSingleTest 44 + it "43 paste event fires before data is inserted " do + doSingleTest 43 end - it "45 setData() does not modify text that is about to be inserted in a paste event " do + it "45 preventing default action " do doSingleTest 45 end - it "46 setData() doesn't modify text on the clipboard when called from a paste event " do - doSingleTest 46 - end - - it "47 getData() method in paste event retrieving plain text " do + it "47 paste event fires even in non-editable context " do doSingleTest 47 end - it "48 getData() method when called outside event handler should return an empty string " do + it "48 setData() does not modify text that is about to be inserted in a paste event " do doSingleTest 48 end - it "49 getData() method with wrong number of arguments " do + it "49 setData() doesn't modify text on the clipboard when called from a paste event " do doSingleTest 49 end - it "50 getData() method supports legacy 'text' argument " do + it "50 getData() method in paste event retrieving plain text " do doSingleTest 50 end - it "51 getData() supports legacy 'url' argument " do + it "51 getData() method when called outside event handler should return an empty string " do doSingleTest 51 end - it "52 getData() method's type argument not case sensitive " do + it "52 getData() method with wrong number of arguments " do doSingleTest 52 end - it "53 Using beforecopy to enable 'copy' UI that would otherwise be disabled " do + it "53 getData() method supports legacy 'text' argument " do doSingleTest 53 end - it "54 Using beforecut to enable 'cut' UI that would otherwise be disabled " do + it "54 getData() supports legacy 'url' argument " do doSingleTest 54 end - it "55 Using beforepaste to enable 'paste' UI that would otherwise be disabled " do + it "55 getData() method's type argument not case sensitive " do doSingleTest 55 end @@ -197,28 +197,28 @@ doSingleTest 96 end - it "97 setData() followed by clearData() in same event handler " do + it "97 clearData() method without arguments " do doSingleTest 97 end - it "99 clearData() followed by setData() in same event handler " do + it "99 clearData() method with text/html argument " do doSingleTest 99 end - it "101 clipboard modification when script uses both clearData() and setData() " do + it "101 setData() followed by clearData() in same event handler " do doSingleTest 101 end - it "103 reading clipboard data from looping script " do + it "103 clearData() followed by setData() in same event handler " do doSingleTest 103 end - it "104 clearData() method without arguments " do - doSingleTest 104 + it "105 clipboard modification when script uses both clearData() and setData() " do + doSingleTest 105 end - it "106 clearData() method with text/html argument " do - doSingleTest 106 + it "107 reading clipboard data from looping script " do + doSingleTest 107 end it "108 ClipboardEvent interface - synthetic events with new ClipboardEvent constructor " do @@ -257,39 +257,39 @@ doSingleTest 118 end - it "119 integration with execCommand, events are syncronous " do + it "119 integration with execCommand - returns false when not allowed to write to clipboard " do doSingleTest 119 end - it "122 integration with execCommand, can prevent default action " do - doSingleTest 122 + it "121 integration with execCommand, events are syncronous " do + doSingleTest 121 end it "124 integration with execCommand, can prevent default action " do doSingleTest 124 end - it "125 clipboard events relative to key events " do - doSingleTest 125 + it "126 integration with execCommand, can prevent default action " do + doSingleTest 126 end - it "128 clipboard events relative to key events - preventDefault prevents clipboard events " do - doSingleTest 128 + it "127 clipboard events relative to key events " do + doSingleTest 127 end - it "131 clipboard events relative to other input events " do - doSingleTest 131 + it "130 clipboard events relative to key events - preventDefault prevents clipboard events " do + doSingleTest 130 end - it "132 clipboard events relative to other input events " do - doSingleTest 132 + it "133 clipboard events relative to other input events " do + doSingleTest 133 end - it "133 copy operation does not dispatch other events " do - doSingleTest 133 + it "134 clipboard events relative to other input events " do + doSingleTest 134 end - it "135 event listener that modifies focus " do + it "135 copy operation does not dispatch other events " do doSingleTest 135 end @@ -297,64 +297,68 @@ doSingleTest 137 end - it "138 event listener that modifies selection " do - doSingleTest 138 + it "139 event listener that modifies focus " do + doSingleTest 139 end - it "139 setData() called outside event handler method " do - doSingleTest 139 + it "140 event listener that modifies selection " do + doSingleTest 140 end - it "142 items.add() called outside event handler method " do - doSingleTest 142 + it "141 setData() called outside event handler method " do + doSingleTest 141 end - it "145 clearData() called outside event handler method " do - doSingleTest 145 + it "144 items.add() called outside event handler method " do + doSingleTest 144 end - it "148 ClipboardEvent and non-ASCII data I - Japanese " do - doSingleTest 148 + it "147 clearData() called outside event handler method " do + doSingleTest 147 end it "150 ClipboardEvent and non-ASCII data I - Japanese " do doSingleTest 150 end - it "151 ClipboardEvent and non-ASCII data II - random Unicode symbols " do - doSingleTest 151 + it "152 ClipboardEvent and non-ASCII data I - Japanese " do + doSingleTest 152 end - it "153 events fire inside SVG content " do + it "153 ClipboardEvent and non-ASCII data II - random Unicode symbols " do doSingleTest 153 end - it "159 events fire inside editable SVG content " do - doSingleTest 159 + it "155 events fire inside SVG content " do + doSingleTest 155 end - it "165 events fire inside SVG content in contentEditable " do - doSingleTest 165 + it "161 events fire inside editable SVG content " do + doSingleTest 161 end - it "171 types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard " do - doSingleTest 171 + it "167 events fire inside SVG content in contentEditable " do + doSingleTest 167 end - it "172 setData() method does not throw when implementation does not know the type " do - doSingleTest 172 + it "173 types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard " do + doSingleTest 173 end - it "174 setData() method with text/html (experimental) " do + it "174 setData() method does not throw when implementation does not know the type " do doSingleTest 174 end - it "176 clearData() method is noop in paste event " do + it "176 setData() method with text/html (experimental) " do doSingleTest 176 end - it "177 clearData() method without preventing events's default action " do - doSingleTest 177 + it "178 clearData() method is noop in paste event " do + doSingleTest 178 + end + + it "179 clearData() method without preventing events's default action " do + doSingleTest 179 end end From afb1a787274a7f48d1875575b47c314b0d7c4d35 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Wed, 22 Jul 2015 19:26:18 +0200 Subject: [PATCH 22/42] renaming some test because file names were too long, adding some new --- ...d_can_prevent_default_action_copy_on_ifrcontentwindow.html | 2 +- ...nd_can_prevent_default_action_cut_on_ifrcontentwindow.html | 2 +- ...and_events_are_syncronous_copy_on_iframecontentwindow.html | 4 ++-- ...mand_events_are_syncronous_cut_on_iframecontentwindow.html | 4 ++-- ...nd_events_are_syncronous_paste_on_iframecontentwindow.html | 4 ++-- clipboard-apis/testlist.rb | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index bd2a3e0fe61416..23c151bfb1acad 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -32,7 +32,7 @@ doc.execCommand(window.eventType, false, false); // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 64e74baf36faaf..410f2d5575e803 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -32,7 +32,7 @@ doc.execCommand(window.eventType, false, false); // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index 85893170860d42..a76253278299b3 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -35,10 +35,10 @@ var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 76cdf836ed8b95..1afbb232c0c1d3 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -35,10 +35,10 @@ var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index a1c07a582db602..612c22be357ee5 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -35,10 +35,10 @@ var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); window.afterExecCommand=true; if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard accesss in preferences for '+location.hostname+' before running this test)'); + result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } } diff --git a/clipboard-apis/testlist.rb b/clipboard-apis/testlist.rb index 91895a02c083dd..c92b7db6392acf 100644 --- a/clipboard-apis/testlist.rb +++ b/clipboard-apis/testlist.rb @@ -233,7 +233,7 @@ doSingleTest 110 end - it "112 ClipboardEvent interface - events triggered from document.execCommand() inside trusted events do affect system clipboard " do + it "112 ClipboardEvent interface - execCommand() inside trusted event affects clipboard " do doSingleTest 112 end @@ -341,7 +341,7 @@ doSingleTest 167 end - it "173 types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard " do + it "173 types property - 'text/plain' in .types entries when there is plain text on the clipboard " do doSingleTest 173 end From 45f9ed2eb14fd33775c289b69616a020e28f94b3 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Wed, 22 Jul 2015 20:06:57 +0200 Subject: [PATCH 23/42] Whitespace fixes and other stuff to make Travis happy --- ...lt_action_basic_test_copy_on_document.html | 2 +- ...t_action_basic_test_copy_on_inputtext.html | 2 +- ...ult_action_basic_test_cut_on_document.html | 2 +- ...lt_action_basic_test_cut_on_inputtext.html | 2 +- ...from_editable_context_cut_on_document.html | 6 +-- ...rom_editable_context_cut_on_inputtext.html | 6 +-- ...event_handler_method_copy_on_document.html | 8 +-- ..._event_handler_method_cut_on_document.html | 8 +-- ...vent_handler_method_paste_on_document.html | 8 +-- ...n_same_event_handler_copy_on_document.html | 6 +-- ...in_same_event_handler_cut_on_document.html | 6 +-- ...noop_in_paste_event_paste_on_document.html | 4 +- ...entss_default_action_copy_on_document.html | 6 +-- ...ventss_default_action_cut_on_document.html | 6 +-- ...ts_clipboarddata_api_copy_on_document.html | 12 ++--- ...nts_clipboarddata_api_cut_on_document.html | 12 ++--- ...s_clipboarddata_api_paste_on_document.html | 12 ++--- ...ative_to_key_events_copy_on_inputtext.html | 2 +- ...lative_to_key_events_cut_on_inputtext.html | 2 +- ...tive_to_key_events_paste_on_inputtext.html | 2 +- ...ts_clipboard_events_copy_on_inputtext.html | 10 ++-- ...nts_clipboard_events_cut_on_inputtext.html | 10 ++-- ...s_clipboard_events_paste_on_inputtext.html | 10 ++-- ...o_other_input_events_cut_on_inputtext.html | 2 +- ...other_input_events_paste_on_inputtext.html | 2 +- ...leardata_and_setdata_copy_on_document.html | 2 +- ...cleardata_and_setdata_cut_on_document.html | 2 +- ...gle_textplain_entry_paste_on_document.html | 8 +-- ...cii_data_i_japanese_copy_on_inputtext.html | 4 +- ...scii_data_i_japanese_cut_on_inputtext.html | 4 +- ...ii_data_i_japanese_paste_on_inputtext.html | 4 +- ...dom_unicode_symbols_copy_on_inputtext.html | 8 +-- ...ndom_unicode_symbols_cut_on_inputtext.html | 8 +-- ...events_fire_on_input_copy_on_document.html | 6 +-- ...vents_fire_on_input_copy_on_inputtext.html | 6 +-- ..._events_fire_on_input_cut_on_document.html | 6 +-- ...events_fire_on_input_cut_on_inputtext.html | 6 +-- ...nts_fire_on_textarea_copy_on_document.html | 6 +-- ...ts_fire_on_textarea_copy_on_inputtext.html | 6 +-- ...ents_fire_on_textarea_cut_on_document.html | 6 +-- ...nts_fire_on_textarea_cut_on_inputtext.html | 6 +-- ...ect_system_clipboard_copy_on_document.html | 53 ------------------- ...fect_system_clipboard_cut_on_document.html | 53 ------------------- ...nt_affects_clipboard_copy_on_document.html | 29 +++++----- ...ent_affects_clipboard_cut_on_document.html | 29 +++++----- ...ect_system_clipboard_copy_on_document.html | 24 ++++----- ...fect_system_clipboard_cut_on_document.html | 24 ++++----- ...rdevent_constructor_paste_on_document.html | 16 +++--- ...nstandard_mime_type_paste_on_document.html | 16 +++--- ...enteditable_element_paste_on_document.html | 28 +++++----- ...oad_data_into_input_paste_on_document.html | 20 +++---- ..._data_into_textarea_paste_on_document.html | 20 +++---- ...enteditable_element_paste_on_document.html | 28 +++++----- ...oad_data_into_input_paste_on_document.html | 20 +++---- ...not_modify_selection_copy_on_document.html | 2 +- ...ot_modify_selection_copy_on_inputtext.html | 2 +- ..._script_uses_setdata_copy_on_document.html | 4 +- ...d_script_uses_setdata_cut_on_document.html | 4 +- ...ispatch_other_events_copy_on_document.html | 2 +- ...spatch_other_events_copy_on_inputtext.html | 2 +- ...ction_no_text_change_copy_on_document.html | 12 ++--- ...that_modifies_focus_copy_on_inputtext.html | 2 +- ..._that_modifies_focus_cut_on_inputtext.html | 2 +- ...hat_modifies_focus_paste_on_inputtext.html | 2 +- ...t_modifies_selection_copy_on_document.html | 2 +- ...no_text_node_inside_paste_on_document.html | 4 +- ...no_text_node_inside_paste_on_inputimg.html | 4 +- ...ic_element_has_focus_copy_on_document.html | 4 +- ...fic_element_has_focus_cut_on_document.html | 4 +- ...c_element_has_focus_paste_on_document.html | 4 +- ...tion_spans_several_elements_copy_on_a.html | 8 +-- ...tion_spans_several_elements_copy_on_b.html | 8 +-- ...ans_several_elements_copy_on_document.html | 8 +-- ...ction_spans_several_elements_cut_on_a.html | 8 +-- ...ction_spans_several_elements_cut_on_b.html | 8 +-- ...pans_several_elements_cut_on_document.html | 8 +-- ...ion_spans_several_elements_paste_on_a.html | 8 +-- ...ion_spans_several_elements_paste_on_b.html | 8 +-- ...ns_several_elements_paste_on_document.html | 8 +-- ...elements_reversed_selection_copy_on_a.html | 8 +-- ...elements_reversed_selection_copy_on_b.html | 8 +-- ...s_reversed_selection_copy_on_document.html | 8 +-- ..._elements_reversed_selection_cut_on_a.html | 8 +-- ..._elements_reversed_selection_cut_on_b.html | 8 +-- ...ts_reversed_selection_cut_on_document.html | 8 +-- ...lements_reversed_selection_paste_on_a.html | 8 +-- ...lements_reversed_selection_paste_on_b.html | 8 +-- ..._reversed_selection_paste_on_document.html | 8 +-- ...ts_from_datatransfer_copy_on_document.html | 4 +- ...its_from_datatransfer_cut_on_document.html | 4 +- ...s_from_datatransfer_paste_on_document.html | 4 +- ...editable_svg_content_copy_on_document.html | 8 +-- ..._editable_svg_content_copy_on_svgtext.html | 8 +-- ..._editable_svg_content_cut_on_document.html | 8 +-- ...e_editable_svg_content_cut_on_svgtext.html | 8 +-- ...ditable_svg_content_paste_on_document.html | 8 +-- ...editable_svg_content_paste_on_svgtext.html | 8 +-- ...e_inside_svg_content_copy_on_document.html | 8 +-- ...re_inside_svg_content_copy_on_svgtext.html | 8 +-- ...re_inside_svg_content_cut_on_document.html | 8 +-- ...ire_inside_svg_content_cut_on_svgtext.html | 8 +-- ...t_in_contenteditable_copy_on_document.html | 8 +-- ...nt_in_contenteditable_copy_on_svgtext.html | 8 +-- ...nt_in_contenteditable_cut_on_document.html | 8 +-- ...ent_in_contenteditable_cut_on_svgtext.html | 8 +-- ..._in_contenteditable_paste_on_document.html | 8 +-- ...t_in_contenteditable_paste_on_svgtext.html | 8 +-- ..._inside_svg_content_paste_on_document.html | 8 +-- ...e_inside_svg_content_paste_on_svgtext.html | 8 +-- ...vents_fire_on_input_paste_on_document.html | 6 +-- ...ents_fire_on_input_paste_on_inputtext.html | 6 +-- ...ts_fire_on_textarea_paste_on_document.html | 6 +-- ...s_fire_on_textarea_paste_on_inputtext.html | 6 +-- ...turn_an_empty_string_copy_on_document.html | 10 ++-- ...eturn_an_empty_string_cut_on_document.html | 10 ++-- ...trieving_plain_text_paste_on_document.html | 10 ++-- ...egacy_text_argument_paste_on_document.html | 12 ++--- ...urn_an_empty_string_paste_on_document.html | 10 ++-- ...urn_an_empty_string_paste_on_document.html | 10 ++-- ...number_of_arguments_paste_on_document.html | 20 +++---- ..._not_case_sensitive_paste_on_document.html | 18 +++---- ...gle_textplain_entry_paste_on_document.html | 6 +-- ...fault_action_copy_on_ifrcontentwindow.html | 30 +++++------ ...efault_action_cut_on_ifrcontentwindow.html | 30 +++++------ ...ault_action_paste_on_ifrcontentwindow.html | 28 +++++----- ...yncronous_copy_on_iframecontentwindow.html | 32 +++++------ ...syncronous_cut_on_iframecontentwindow.html | 32 +++++------ ...ncronous_paste_on_iframecontentwindow.html | 32 +++++------ ...event_handler_method_copy_on_document.html | 8 +-- ..._event_handler_method_cut_on_document.html | 8 +-- ...vent_handler_method_paste_on_document.html | 8 +-- ...ntext_with_selection_copy_on_document.html | 2 +- ...ontext_with_selection_cut_on_document.html | 2 +- ...n_noneditable_context_cut_on_document.html | 4 +- ...re_data_is_inserted_paste_on_document.html | 4 +- ...e_data_is_inserted_paste_on_inputtext.html | 4 +- ...noneditable_context_paste_on_document.html | 4 +- ...ile_of_unknown_type_paste_on_document.html | 8 +-- .../pasting_a_file_paste_on_document.html | 6 +-- ...ting_default_action_paste_on_document.html | 4 +- ...ing_default_action_paste_on_inputtext.html | 4 +- ...from_looping_script_paste_on_document.html | 30 +++++------ ...d_clipboarddataitems_copy_on_document.html | 10 ++-- ...nd_clipboarddataitems_cut_on_document.html | 10 ++-- ...event_handler_method_copy_on_document.html | 8 +-- ..._event_handler_method_cut_on_document.html | 8 +-- ...vent_handler_method_paste_on_document.html | 8 +-- ...ed_in_a_paste_event_paste_on_document.html | 10 ++-- ...from_a_paste_event_paste_on_inputtext.html | 6 +-- ...n_same_event_handler_copy_on_document.html | 6 +-- ...in_same_event_handler_cut_on_document.html | 6 +-- ...efault_action_is_noop_cut_on_document.html | 2 +- .../setdata_method_copy_on_document.html | 6 +-- .../setdata_method_cut_on_document.html | 6 +-- ...es_not_know_the_type_copy_on_document.html | 16 +++--- ...oes_not_know_the_type_cut_on_document.html | 16 +++--- ...exthtml_experimental_copy_on_document.html | 8 +-- ...texthtml_experimental_cut_on_document.html | 8 +-- ...entss_default_action_copy_on_document.html | 10 ++-- ...ventss_default_action_cut_on_document.html | 10 ++-- ...xt_on_the_clipboard_paste_on_document.html | 38 ------------- 161 files changed, 710 insertions(+), 844 deletions(-) delete mode 100644 clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html delete mode 100644 clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html delete mode 100644 clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html index 260cacb81e1053..f3ffa5c383066b 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html index 5480ffb0fc7e4b..ddaa259f110904 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html index 11ccfa24ea24da..d367b372008a00 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html index 905da9a833fe12..15573090f3af37 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html index d55560db47873d..1559c2d9eb5992 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); + e.preventDefault(); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); } diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html index 1fe9ba269296cf..079015abe721e1 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); + e.preventDefault(); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index 1adba34bdffb0f..b640d2640bd2df 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.clearData(); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.clearData(); + }, 1 ); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index c0b36cdf48c852..394fc511933a06 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.clearData(); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.clearData(); + }, 1 ); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index 916980c49c683d..d7158d68ce1867 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.clearData(); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.clearData(); + }, 1 ); } diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html index dd6d25f892de34..7d667849675d18 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData( 'text/plain' ); - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.preventDefault(); + e.clipboardData.clearData( 'text/plain' ); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html index e9953ba247836c..15a87450c6f50a 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData( 'text/plain' ); - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.preventDefault(); + e.clipboardData.clearData( 'text/plain' ); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html index 24960ca0205785..0beb419fe664e5 100644 --- a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html +++ b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html @@ -11,8 +11,8 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.clipboardData.clearData(); - e.preventDefault(); + e.clipboardData.clearData(); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html index 7b500abbef434a..6452d59949aaaf 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -11,9 +11,9 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.clearData(); - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + e.clipboardData.clearData(); + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html index 0b303a4d4f564b..95e9c0fc179d1e 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -11,9 +11,9 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.clearData(); - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + e.clipboardData.clearData(); + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html index f4057297d9c19d..6c726c5a52b003 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html @@ -9,12 +9,12 @@ /** Clipboard event's clipboardData API */ /* Events: cut copy paste */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object'; - passed = passed && typeof e.clipboardData.clearData === 'function'; - passed = passed && typeof e.clipboardData.setData === 'function'; - passed = passed && typeof e.clipboardData.getData === 'function'; - passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... - return passed; + var passed = typeof e.clipboardData === 'object'; + passed = passed && typeof e.clipboardData.clearData === 'function'; + passed = passed && typeof e.clipboardData.setData === 'function'; + passed = passed && typeof e.clipboardData.getData === 'function'; + passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... + return passed; } diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html index 7a7768b110c5f5..f8eea91ebe5523 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html @@ -9,12 +9,12 @@ /** Clipboard event's clipboardData API */ /* Events: cut copy paste */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object'; - passed = passed && typeof e.clipboardData.clearData === 'function'; - passed = passed && typeof e.clipboardData.setData === 'function'; - passed = passed && typeof e.clipboardData.getData === 'function'; - passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... - return passed; + var passed = typeof e.clipboardData === 'object'; + passed = passed && typeof e.clipboardData.clearData === 'function'; + passed = passed && typeof e.clipboardData.setData === 'function'; + passed = passed && typeof e.clipboardData.getData === 'function'; + passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... + return passed; } diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html index df2b8549de6239..b833a517e5715a 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html @@ -9,12 +9,12 @@ /** Clipboard event's clipboardData API */ /* Events: cut copy paste */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object'; - passed = passed && typeof e.clipboardData.clearData === 'function'; - passed = passed && typeof e.clipboardData.setData === 'function'; - passed = passed && typeof e.clipboardData.getData === 'function'; - passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... - return passed; + var passed = typeof e.clipboardData === 'object'; + passed = passed && typeof e.clipboardData.clearData === 'function'; + passed = passed && typeof e.clipboardData.setData === 'function'; + passed = passed && typeof e.clipboardData.getData === 'function'; + passed = passed && typeof e.clipboardData.types != 'undefined'; // TODO... + return passed; } diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html index 1b596d64cdc3d0..e82ca693cb1b19 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html @@ -21,7 +21,7 @@ function clipboard_api_test(e){ logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html index 324734a13eb4c7..241e4dc21a843f 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html @@ -21,7 +21,7 @@ function clipboard_api_test(e){ logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html index d3cb36bfe858b1..d76979912e9015 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html @@ -21,7 +21,7 @@ function clipboard_api_test(e){ logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html index 8e055472461ee9..36b9db06c6d9e7 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html @@ -13,8 +13,8 @@ var eventsFired=[], timeout; function logEvent(e){ - eventsFired.push(e.type); - if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here + eventsFired.push(e.type); + if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here }; document.addEventListener('DOMContentLoaded', function(){ document.getElementById('input_text').addEventListener( 'keydown', logEvent, false ); @@ -25,12 +25,12 @@ document.getElementById('input_text').addEventListener( 'paste', logEvent, false ); },false); document.onkeyup = function(){ - if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + if(timeout)clearTimeout(timeout); + setTimeout(test, 500); } function clipboard_api_test(e){ if(e)logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html index 00190161afd972..a2a5b220b73f2b 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html @@ -13,8 +13,8 @@ var eventsFired=[], timeout; function logEvent(e){ - eventsFired.push(e.type); - if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here + eventsFired.push(e.type); + if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here }; document.addEventListener('DOMContentLoaded', function(){ document.getElementById('input_text').addEventListener( 'keydown', logEvent, false ); @@ -25,12 +25,12 @@ document.getElementById('input_text').addEventListener( 'paste', logEvent, false ); },false); document.onkeyup = function(){ - if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + if(timeout)clearTimeout(timeout); + setTimeout(test, 500); } function clipboard_api_test(e){ if(e)logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html index 428fd342301e7e..c57d0c24443f2e 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html @@ -13,8 +13,8 @@ var eventsFired=[], timeout; function logEvent(e){ - eventsFired.push(e.type); - if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here + eventsFired.push(e.type); + if(e.type==='keydown')e.preventDefault(); // no clipboard events should fire if preventDefault() is called here }; document.addEventListener('DOMContentLoaded', function(){ document.getElementById('input_text').addEventListener( 'keydown', logEvent, false ); @@ -25,12 +25,12 @@ document.getElementById('input_text').addEventListener( 'paste', logEvent, false ); },false); document.onkeyup = function(){ - if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + if(timeout)clearTimeout(timeout); + setTimeout(test, 500); } function clipboard_api_test(e){ if(e)logEvent(e); - setTimeout(function(){ + setTimeout(function(){ var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html index c95ae2ff1d7ba7..f3549d7ab50276 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html @@ -26,7 +26,7 @@ e.target.blur(); // causes change event e.target.form.checkValidity(); // causes invalid event }, 10); - setTimeout(function(){ + setTimeout(function(){ var evString = eventsFired.join(',') var passed = evString === 'cut,cut handler done,input,change,invalid'; // Issue: should textInput fire? Chrome doesn't but I don't know if it's on purpose result( passed, 'Got: '+evString ); diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html index a324ac0c91c0f9..ad9eee5d4f47f9 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html @@ -27,7 +27,7 @@ e.target.blur(); // causes change event e.target.form.checkValidity(); // causes invalid event }, 10); - setTimeout(function(){ + setTimeout(function(){ var evString = eventsFired.join(',') var passed = evString ==='paste,paste handler done,textInput,input,change' || evString ==='paste,paste handler done,input,change' ; result( passed, 'Got: '+evString ); diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html index 31e4e1f033dde5..997aec914c4e6f 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html @@ -12,7 +12,7 @@ /* Targets: document */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData(); + e.clipboardData.clearData(); e.clipboardData.setData('text/plain', 'modified text'); e.preventDefault(); } diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html index e9854c6cc79c26..1a2755046dbd2b 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html @@ -12,7 +12,7 @@ /* Targets: document */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - e.clipboardData.clearData(); + e.clipboardData.clearData(); e.clipboardData.setData('text/plain', 'modified text'); e.preventDefault(); } diff --git a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index daf71cad1d5548..5fa50169a293de 100644 --- a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -11,10 +11,10 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; - return passed; + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; + passed = passed && e.isTrusted; + return passed; } diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html index 0b269ded724039..d6417e77a40abc 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html @@ -13,8 +13,8 @@ /* External pass condition - clipboard data: "テスト" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'テスト' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'テスト' ); + e.preventDefault(); } diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html index a4cf9617b60682..2a306c875c0878 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html @@ -13,8 +13,8 @@ /* External pass condition - clipboard data: "テスト" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'テスト' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'テスト' ); + e.preventDefault(); } diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html index 59d408c873e06a..62bbd49b0bc4e6 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html @@ -13,8 +13,8 @@ /* paste data: "テスト" */ function clipboard_api_test(e){ - var passed = e.clipboardData.getData( 'text/plain') === 'テスト' ; - return passed; + var passed = e.clipboardData.getData( 'text/plain') === 'テスト' ; + return passed; } diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html index eea9ff7cfa7801..27cd3f11e22d96 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html @@ -8,13 +8,13 @@ @@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-
+
@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-
+
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html index a20663330d6dd5..6a82fdc4d2b02c 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html index bddcfdec0bef70..6d3fb2f7327018 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html index 45abcf8a096ff3..4cc5ab3c7d9908 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html index eecab6d807b46b..ccb37d80004e32 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html index 238a9c2ebf86d6..47df39c13582e1 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html index 428f2cb93465e5..7de608b3c5c5a5 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html index 29d7b2b8ce2a2b..e2aab188c56f91 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html @@ -11,9 +11,9 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html deleted file mode 100644 index 6a70618c9bc362..00000000000000 --- a/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_copy_on_document.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - events triggered from document.execCommand() inside trusted events do affect system clipboard - copy on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html deleted file mode 100644 index 37cf3ef93c4573..00000000000000 --- a/clipboard-apis/clipboardevent_interface_events_triggered_from_documentexeccommand_inside_trusted_events_do_affect_system_clipboard_cut_on_document.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - ClipboardEvent - ClipboardEvent interface - events triggered from document.execCommand() inside trusted events do affect system clipboard - cut on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html index dbf315bec551db..0717ed3bc592e5 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html @@ -15,18 +15,23 @@ e.preventDefault(); } function triggerTestManually(type){ - if(window.eventType === 'cut'){ - document.body.contentEditable = 'true'; - } - /* make a selection to check if selected text is copied */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.execCommand(type); - window.getSelection().removeAllRanges(); - if(window.eventType ==='cut'){ - document.body.contentEditable='false'; - } + try{ + if(window.eventType === 'cut'){ + document.body.contentEditable = 'true'; + } + /* make a selection to check if selected text is copied */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.execCommand(type); + window.getSelection().removeAllRanges(); + if(window.eventType ==='cut'){ + document.body.contentEditable='false'; + } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html index 9c8f9443d05631..5ab57fe4cd3fcf 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html @@ -15,18 +15,23 @@ e.preventDefault(); } function triggerTestManually(type){ - if(window.eventType === 'cut'){ - document.body.contentEditable = 'true'; - } - /* make a selection to check if selected text is copied */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.execCommand(type); - window.getSelection().removeAllRanges(); - if(window.eventType ==='cut'){ - document.body.contentEditable='false'; - } + try{ + if(window.eventType === 'cut'){ + document.body.contentEditable = 'true'; + } + /* make a selection to check if selected text is copied */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.execCommand(type); + window.getSelection().removeAllRanges(); + if(window.eventType ==='cut'){ + document.body.contentEditable='false'; + } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 09b35db15e2b0d..5f3b73ee42f107 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -14,24 +14,24 @@ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + try{ + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); if(type === 'cut'){ document.body.contentEditable='true'; } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); if(type === 'cut'){ document.body.contentEditable = 'false'; } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index a732cf3c8f556c..92ca13e371e339 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -14,24 +14,24 @@ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + try{ + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); if(type === 'cut'){ document.body.contentEditable='true'; } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); if(type === 'cut'){ document.body.contentEditable = 'false'; } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index 164425a2acc84d..0226885ebc8a19 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -10,16 +10,16 @@ /* Events: paste */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - return e.clipboardData.getData('text/plain')=='synthetic event text'; + return e.clipboardData.getData('text/plain')=='synthetic event text'; } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.dispatchEvent(evt); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.dispatchEvent(evt); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index f1f7cd26bbde7a..5383b8d7c33bc0 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -10,17 +10,17 @@ /* Events: paste */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - return e.clipboardData.getData('text/foobarbogustype')=='synthetic event text'; + return e.clipboardData.getData('text/foobarbogustype')=='synthetic event text'; } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', {bubbles:true, cancelable:true, dataType: 'text/foobarbogustype', data:'synthetic event text'} ); - document.dispatchEvent(evt); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', {bubbles:true, cancelable:true, dataType: 'text/foobarbogustype', data:'synthetic event text'} ); + document.dispatchEvent(evt); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index f9bde96d709026..bbb8484a9f57e2 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -13,20 +13,20 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' } ); - document.getElementById('editable').dispatchEvent(evt); - setTimeout( function(){ - try{ - result(document.getElementById('editable').getElementsByTagName('em').length == 0); - }catch(e){ - result('Unexpected exception when looking for inserted HTML data: '+e); - } - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' } ); + document.getElementById('editable').dispatchEvent(evt); + setTimeout( function(){ + try{ + result(document.getElementById('editable').getElementsByTagName('em').length == 0); + }catch(e){ + result('Unexpected exception when looking for inserted HTML data: '+e); + } + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html index d158ba1c879a50..b97fe21f2c55fa 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html @@ -13,16 +13,16 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html index 0c7ef49ce743e7..20fb67cc68300e 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html @@ -13,16 +13,16 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - try{ - var evt=new ClipboardEvent( type, { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementsByTagName('textarea')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( type, { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('textarea')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html index 3c3528b9e099d2..9597aa28509302 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html @@ -13,20 +13,20 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementById('editable').dispatchEvent(evt); - setTimeout( function(){ - try{ - result(document.getElementById('editable').textContent.indexOf( 'synthetic event text' )===-1); - }catch(e){ - result('Unexpected exception when looking for inserted HTML data: '+e); - } - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementById('editable').dispatchEvent(evt); + setTimeout( function(){ + try{ + result(document.getElementById('editable').textContent.indexOf( 'synthetic event text' )===-1); + }catch(e){ + result('Unexpected exception when looking for inserted HTML data: '+e); + } + }, 50 ); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html index 343b032179ae0e..60d64581ec4d1f 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html @@ -13,16 +13,16 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(type, { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' }); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout(function(){ - result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); - }, 50); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + try{ + var evt = new ClipboardEvent(type, { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' }); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout(function(){ + result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); + }, 50); + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html index 907cc2dbe03982..e7f7dfc365c102 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html @@ -11,7 +11,7 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - setTimeout(function(){ + setTimeout(function(){ /* what is the "most standardised" way to test this? */ var passed = document.activeElement == document.getElementById('input_text') ; passed = passed && document.activeElement.selectionStart == 0 && document.activeElement.selectionEnd == document.activeElement.value.length; diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html index 42152842251a4a..56c2cb581883d0 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html @@ -11,7 +11,7 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ function clipboard_api_test(e){ - setTimeout(function(){ + setTimeout(function(){ /* what is the "most standardised" way to test this? */ var passed = document.activeElement == document.getElementById('input_text') ; passed = passed && document.activeElement.selectionStart == 0 && document.activeElement.selectionEnd == document.activeElement.value.length; diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html index 6deba44d03789a..824789288ed569 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html @@ -15,8 +15,8 @@ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ e.clipboardData.setData('text/plain', 'modified text'); - /* The default action is to do nothing (because there is no selection). - * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ + /* The default action is to do nothing (because there is no selection). + * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ e.preventDefault(); } diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html index ca3bea64a4f858..04215bfe826048 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html @@ -15,8 +15,8 @@ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ e.clipboardData.setData('text/plain', 'modified text'); - /* The default action is to do nothing (because there is no selection). - * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ + /* The default action is to do nothing (because there is no selection). + * We thus need to prevent the default 'NOOP' action to make the implementation update the clipboard */ e.preventDefault(); } diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html index 9567bc36608320..a8219bb2f92ebd 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html @@ -14,7 +14,7 @@ var otherEventsFired=[]; var events=[ 'input', 'textInput', 'change' ]; for( var i=0,ev; ev=events[i];i++ )e.currentTarget.addEventListener(ev, function(e){ otherEventsFired.push(e.type); }, false); - setTimeout(function(){ + setTimeout(function(){ var passed = otherEventsFired.length===0; result(passed); }, 50); diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html index 691bccbd1abb87..e67fc3a5c1e599 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html @@ -14,7 +14,7 @@ var otherEventsFired=[]; var events=[ 'input', 'textInput', 'change' ]; for( var i=0,ev; ev=events[i];i++ )e.currentTarget.addEventListener(ev, function(e){ otherEventsFired.push(e.type); }, false); - setTimeout(function(){ + setTimeout(function(){ var passed = otherEventsFired.length===0; result(passed); }, 50); diff --git a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html index 3220340481de09..c67a46ed2e3827 100644 --- a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html +++ b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html @@ -12,13 +12,13 @@ /* Targets: document */ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - var elm=e.target; + var elm=e.target; setTimeout( - function(){ - result(elm.value===elm.defaultValue); - }, - 50 - ); + function(){ + result(elm.value===elm.defaultValue); + }, + 50 + ); } diff --git a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html index 7101c85f88b316..06d85360ca48b0 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "input 2" */ function clipboard_api_test(e){ - document.getElementById('second').focus(); + document.getElementById('second').focus(); } diff --git a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html index aba7d4a2d52159..c531c639efee9d 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "input 2" */ function clipboard_api_test(e){ - document.getElementById('second').focus(); + document.getElementById('second').focus(); } diff --git a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html index 675c8ad533d0f9..3a8fbd919c7dac 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ function clipboard_api_test(e){ - document.getElementById('second').focus(); + document.getElementById('second').focus(); setTimeout( function(){ var passed = document.getElementById('second').value==='clipboard text'; result( passed ); diff --git a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html index 4e6ef55a651bbf..e4e07d8603143f 100644 --- a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html +++ b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "This is demo text" */ function clipboard_api_test(e){ - var range=document.createRange(); + var range=document.createRange(); range.selectNodeContents(document.getElementsByTagName('div')[0]); window.getSelection().removeAllRanges(); window.getSelection().addRange(range); diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html index 1488d46ba3e3ca..7dc84ad62ab187 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html @@ -14,8 +14,8 @@ function clipboard_api_test(e){ if(document.activeElement.id!='input_img')return 'Not testable, input.focus() has not focused the input type=image'; - var passed = e.target.id==='input_img'; - return passed; + var passed = e.target.id==='input_img'; + return passed; } diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html index b26bf23fd936ad..bcf041851e00e6 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html @@ -14,8 +14,8 @@ function clipboard_api_test(e){ if(document.activeElement.id!='input_img')return 'Not testable, input.focus() has not focused the input type=image'; - var passed = e.target.id==='input_img'; - return passed; + var passed = e.target.id==='input_img'; + return passed; } diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html index 68af2fd8b06edd..d8c7ad65324ffc 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html @@ -12,8 +12,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = e.target===document.body; - return passed; + var passed = e.target===document.body; + return passed; } diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html index 399ce36dc7d941..a7c77df6329d77 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html @@ -12,8 +12,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = e.target===document.body; - return passed; + var passed = e.target===document.body; + return passed; } diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html index 246daab730b81a..6e3a8cb4652a57 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html @@ -12,8 +12,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = e.target===document.body; - return passed; + var passed = e.target===document.body; + return passed; } diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html index 2253d69cd2247a..7b78c44fc76aba 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html @@ -8,12 +8,12 @@ @@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -21,7 +21,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

@@ -22,7 +22,7 @@

FAILED (This TC requires JavaScript enabled)

-

This is filler text

+

This is filler text

diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html index 566e27a0ed0dd0..de5211e1bf2d8e 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html @@ -11,8 +11,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; - return passed; + var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; + return passed; } diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html index 4369d1b0b3adfa..cdaa7cc09c37a5 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html @@ -11,8 +11,8 @@ /* Targets: document */ function clipboard_api_test(e){ - var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; - return passed; + var passed = typeof e.clipboardData === 'object' && e.clipboardData instanceof DataTransfer; + return passed; } diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html index f71b5aa879967e..0129e8986b0a15 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html @@ -8,11 +8,11 @@ @@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

-
SVG text
+
SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
@@ -20,7 +20,7 @@

FAILED (This TC requires JavaScript enabled)

- SVG text + SVG text
diff --git a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html index b0dd204ca2a273..d9693c447beec4 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_document.html b/clipboard-apis/events_fire_on_textarea_paste_on_document.html index 9e626d2a97714d..988fd701b58a5e 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_document.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_document.html @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html index f39beeaefc944a..a9afd8e65139a8 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html @@ -12,9 +12,9 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type === window.eventType; - passed = passed && e.target.id==='input_text'; - return passed; + var passed = e.type === window.eventType; + passed = passed && e.target.id==='input_text'; + return passed; } diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html index 38da96c3a4d01a..309162339ebe10 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html @@ -9,11 +9,11 @@ /** getData() method in cut and copy events should return an empty string */ /* Events: cut copy */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/plain')==='')passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html index 49631d427d926d..0d715f98c4c683 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html @@ -9,11 +9,11 @@ /** getData() method in cut and copy events should return an empty string */ /* Events: cut copy */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/plain')==='')passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html index 5cdfd948706e15..35044ddd2f5b19 100644 --- a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html +++ b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='pasted text')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/plain')==='pasted text')passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html index d5974e782aa37e..e12682e044fcea 100644 --- a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html +++ b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html @@ -10,12 +10,12 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if( e.clipboardData.getData('text')==='pasted text' - && e.clipboardData.getData('tEXt')==='pasted text' )passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if( e.clipboardData.getData('text')==='pasted text' + && e.clipboardData.getData('tEXt')==='pasted text' )passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html index a63d706617cb6a..d7de5faa50c6fc 100644 --- a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - var passed = cbData.getData('text/plain')===''; - result(passed); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + var passed = cbData.getData('text/plain')===''; + result(passed); + }, 1 ); } diff --git a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html index ce54b6e743367e..0f90a5ee51595e 100644 --- a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/foobarbogustype')==='')passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if(e.clipboardData.getData('text/foobarbogustype')==='')passed=true; + } + return passed; } diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index a63b7541a4cf63..d67880e9a9e567 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -10,16 +10,16 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed=true; - try{ - e.clipboardData.getData(); - passed=false; - }catch(e){} - try{ - e.clipboardData.getData( 'text/plain', 'wrong number of arguments' ); - passed=false; - }catch(e){} - return passed; + var passed=true; + try{ + e.clipboardData.getData(); + passed=false; + }catch(e){} + try{ + e.clipboardData.getData( 'text/plain', 'wrong number of arguments' ); + passed=false; + }catch(e){} + return passed; } diff --git a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html index e882266f1a01fe..9c040dba818b20 100644 --- a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html +++ b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html @@ -10,15 +10,15 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if( e.clipboardData.getData('text/PLAIN')==='pasted text' && - e.clipboardData.getData('TEXT/PLAIN')==='pasted text' && - e.clipboardData.getData('Text/Plain')==='pasted text' && - e.clipboardData.getData('TeXt/PlAin')==='pasted text' - )passed=true; - } - return passed; + var passed = false; + if(e.clipboardData && e.clipboardData.getData){ + if( e.clipboardData.getData('text/PLAIN')==='pasted text' && + e.clipboardData.getData('TEXT/PLAIN')==='pasted text' && + e.clipboardData.getData('Text/Plain')==='pasted text' && + e.clipboardData.getData('TeXt/PlAin')==='pasted text' + )passed=true; + } + return passed; } diff --git a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index 8b92de5c6ce692..34b6b6c0ec73d7 100644 --- a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -11,9 +11,9 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ - e.clipboardData.items[0].getAsString( function(s){ - result( s==='pasted text' ); - } ); + e.clipboardData.items[0].getAsString( function(s){ + result( s==='pasted text' ); + } ); } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index 23c151bfb1acad..e678919ec72574 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -14,26 +14,26 @@ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - ifr.contentDocument.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - doc.body.innerHTML='

This is filler text

'; - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().addRange(range); - try{ - doc.execCommand(window.eventType, false, false); + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + ifr.contentDocument.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + doc.body.innerHTML='

This is filler text

'; + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().addRange(range); + try{ + doc.execCommand(window.eventType, false, false); // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 410f2d5575e803..8a59de64cfc0bf 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -14,26 +14,26 @@ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.preventDefault(); + e.preventDefault(); } function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - ifr.contentDocument.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - doc.body.innerHTML='

This is filler text

'; - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().addRange(range); - try{ - doc.execCommand(window.eventType, false, false); + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + ifr.contentDocument.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + doc.body.innerHTML='

This is filler text

'; + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().addRange(range); + try{ + doc.execCommand(window.eventType, false, false); // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index 52aaa6c54523e2..40facc93fdf809 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -12,22 +12,22 @@ /* Test HTML: */ /* Targets: 'ifr.contentWindow' */ function clipboard_api_test(e){ - window.eventFired=true; - e.preventDefault(); + window.eventFired=true; + e.preventDefault(); } function triggerTestManually(){ - var ifr=document.getElementById('ifr'); - ifr.contentDocument.designMode='on'; - ifr.contentWindow.focus(); - try{ - ifr.contentDocument.execCommand(window.eventType, false, false); - setTimeout(function(){ - var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; - result(passed); - }, 10); - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('ifr'); + ifr.contentDocument.designMode='on'; + ifr.contentWindow.focus(); + try{ + ifr.contentDocument.execCommand(window.eventType, false, false); + setTimeout(function(){ + var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; + result(passed); + }, 10); + }catch(e){ + result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); + } } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index a76253278299b3..160ac5bafdf3ec 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -12,28 +12,28 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('iframe'), doc; - (doc=ifr.contentDocument).designMode='on'; - doc.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - if(eventType in { copy:1, cut:1 }){ // create a selection - var rng=doc.createRange(); - rng.selectNodeContents(doc.getElementsByTagName('p')[0]); - var sel=ifr.contentWindow.getSelection(); - sel.removeAllRanges(); - sel.addRange(rng); - } + var ifr=document.getElementById('iframe'), doc; + (doc=ifr.contentDocument).designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + if(eventType in { copy:1, cut:1 }){ // create a selection + var rng=doc.createRange(); + rng.selectNodeContents(doc.getElementsByTagName('p')[0]); + var sel=ifr.contentWindow.getSelection(); + sel.removeAllRanges(); + sel.addRange(rng); + } } function triggerTestManually(eventType){ - try{ + try{ var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; + window.afterExecCommand=false; + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; if(!execSucceeded){ result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 1afbb232c0c1d3..257b96c35bcdad 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -12,28 +12,28 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('iframe'), doc; - (doc=ifr.contentDocument).designMode='on'; - doc.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - if(eventType in { copy:1, cut:1 }){ // create a selection - var rng=doc.createRange(); - rng.selectNodeContents(doc.getElementsByTagName('p')[0]); - var sel=ifr.contentWindow.getSelection(); - sel.removeAllRanges(); - sel.addRange(rng); - } + var ifr=document.getElementById('iframe'), doc; + (doc=ifr.contentDocument).designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + if(eventType in { copy:1, cut:1 }){ // create a selection + var rng=doc.createRange(); + rng.selectNodeContents(doc.getElementsByTagName('p')[0]); + var sel=ifr.contentWindow.getSelection(); + sel.removeAllRanges(); + sel.addRange(rng); + } } function triggerTestManually(eventType){ - try{ + try{ var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; + window.afterExecCommand=false; + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; if(!execSucceeded){ result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index 612c22be357ee5..3030bb7c19b144 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -12,28 +12,28 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('iframe'), doc; - (doc=ifr.contentDocument).designMode='on'; - doc.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - if(eventType in { copy:1, cut:1 }){ // create a selection - var rng=doc.createRange(); - rng.selectNodeContents(doc.getElementsByTagName('p')[0]); - var sel=ifr.contentWindow.getSelection(); - sel.removeAllRanges(); - sel.addRange(rng); - } + var ifr=document.getElementById('iframe'), doc; + (doc=ifr.contentDocument).designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + if(eventType in { copy:1, cut:1 }){ // create a selection + var rng=doc.createRange(); + rng.selectNodeContents(doc.getElementsByTagName('p')[0]); + var sel=ifr.contentWindow.getSelection(); + sel.removeAllRanges(); + sel.addRange(rng); + } } function triggerTestManually(eventType){ - try{ + try{ var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; + window.afterExecCommand=false; + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; if(!execSucceeded){ result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html index effdc3c1ba6ae8..572857c858a5e4 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.items.add( 'Test failed', 'text/plain'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.items.add( 'Test failed', 'text/plain'); + }, 1 ); } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index aa1dba387b3f76..92596565cf706b 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.items.add( 'Test failed', 'text/plain'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.items.add( 'Test failed', 'text/plain'); + }, 1 ); } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index 2ee39a3e67a07d..9785cf4d98d487 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.items.add( 'Test failed', 'text/plain'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.items.add( 'Test failed', 'text/plain'); + }, 1 ); } diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html index f9968d00d1fc63..61221d4ba9592f 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "cut text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'cut text'); + e.clipboardData.setData('text/plain', 'cut text'); e.preventDefault(); /* this event's default action is a NOOP since the selection can not be removed. */ } diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html index 0a97a656776c36..169c67b774ce65 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html @@ -13,7 +13,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "cut text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'cut text'); + e.clipboardData.setData('text/plain', 'cut text'); e.preventDefault(); /* this event's default action is a NOOP since the selection can not be removed. */ } diff --git a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html index 6e6b98db6bebff..0d6f1e0625e482 100644 --- a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html +++ b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html @@ -12,8 +12,8 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - /* the point of the test is to make sure that the event fires but the clipboard data is not altered */ - /* hence we don't need to to anything here (if the event doesn't fire the test will hang without giving further instructions) */ + /* the point of the test is to make sure that the event fires but the clipboard data is not altered */ + /* hence we don't need to to anything here (if the event doesn't fire the test will hang without giving further instructions) */ } diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html index dbd3a18acacfb3..ec7a20690a9f44 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html @@ -12,8 +12,8 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; - return passed; + var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; + return passed; } diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html index 4b8eda791f9ed5..713f0ca3a18117 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html @@ -12,8 +12,8 @@ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; - return passed; + var passed = e.type == 'paste' && document.getElementById('input_text').value=='original text'; + return passed; } diff --git a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html index d92ad63f671e1c..bc79fa5cd4cd8d 100644 --- a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html @@ -12,8 +12,8 @@ /* paste data: "pasted text" */ /* Test HTML:

 

*/ function clipboard_api_test(e){ - var passed = e.type === 'paste'; - return passed; + var passed = e.type === 'paste'; + return passed; } diff --git a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html index dab03ea2696749..2363bd2c67a09e 100644 --- a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html @@ -10,13 +10,13 @@ /* Events: paste */ /* paste data: "the file 'support/test'" */ /* Targets: document */ -/* Clipboard data type: file reference: ./support/test */ +/* Clipboard data type: file reference: ./support/test */ /* Test HTML:

To complete this test, copy the "./support/test" file from the OS file manager and paste into this page

*/ function clipboard_api_test(e){ - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='file' && ( /application\/octet-stream/.test(e.clipboardData.items[0].type) ); - return passed; + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='file' && ( /application\/octet-stream/.test(e.clipboardData.items[0].type) ); + return passed; } // TODO: figure out how to automate this test (i.e. find a better cross-platform clipboard library for JRuby..) diff --git a/clipboard-apis/pasting_a_file_paste_on_document.html b/clipboard-apis/pasting_a_file_paste_on_document.html index 83f009ee84e788..d2f8755856492b 100644 --- a/clipboard-apis/pasting_a_file_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_paste_on_document.html @@ -14,9 +14,9 @@ /* Test HTML:

To complete this test, copy the './support/image.jpg' file from the OS file manager and paste into this page

 
diff --git a/clipboard-apis/preventing_default_action_paste_on_inputtext.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html index fa8c06472f34c4..5fd29e1d12c7d6 100644 --- a/clipboard-apis/preventing_default_action_paste_on_inputtext.html +++ b/clipboard-apis/preventing_default_action_paste_on_inputtext.html @@ -13,8 +13,8 @@ /* paste data: "pasted text" */ function clipboard_api_test(e){ e.preventDefault(); - var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); + var theTarget=e.target; + setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); } diff --git a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html index e11356515007fa..8e724958215b97 100644 --- a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html +++ b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html @@ -12,21 +12,21 @@ /* Targets: document */ function clipboard_api_test(e){ - var last=new Date(),now=new Date(), interval=50, seconds=10; - var start=new Date(); - var text=e.clipboardData.getData( 'text/plain' ), readAgain=''; - document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('Please copy "pasted text 2" to clipboard while the test runs.')); - var logElm=document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('')); - while( now=new Date() ){ - if( now.getTime() - last.getTime() > interval ){ - readAgain=e.clipboardData.getData('text/plain'); - if( readAgain && readAgain !== text )return false; - now=new Date(); - logElm.data='Test will run for '+parseInt( seconds - ((now.getTime() - start.getTime())/1000) )+' more seconds'; - if( (now.getTime() - start.getTime()) > seconds * 1000 )break; - } - } - return true; + var last=new Date(),now=new Date(), interval=50, seconds=10; + var start=new Date(); + var text=e.clipboardData.getData( 'text/plain' ), readAgain=''; + document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('Please copy "pasted text 2" to clipboard while the test runs.')); + var logElm=document.body.appendChild( document.createElement('p') ).appendChild(document.createTextNode('')); + while( now=new Date() ){ + if( now.getTime() - last.getTime() > interval ){ + readAgain=e.clipboardData.getData('text/plain'); + if( readAgain && readAgain !== text )return false; + now=new Date(); + logElm.data='Test will run for '+parseInt( seconds - ((now.getTime() - start.getTime())/1000) )+' more seconds'; + if( (now.getTime() - start.getTime()) > seconds * 1000 )break; + } + } + return true; } diff --git a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html index 7f1b19386bbddf..d4adef84484e89 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html @@ -10,11 +10,11 @@ /* Events: copy cut */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'modified text'); - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; - return passed; + e.clipboardData.setData('text/plain', 'modified text'); + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; + passed = passed && e.isTrusted; + return passed; } diff --git a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html index a581519ebadeea..bace47be22d7c6 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html @@ -10,11 +10,11 @@ /* Events: copy cut */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'modified text'); - var passed = e.clipboardData.items && e.clipboardData.items.length === 1; - passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; - return passed; + e.clipboardData.setData('text/plain', 'modified text'); + var passed = e.clipboardData.items && e.clipboardData.items.length === 1; + passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; + passed = passed && e.isTrusted; + return passed; } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index f8da3409c743d9..d8614f1e317e73 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.setData('text/plain', 'Test failed'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.setData('text/plain', 'Test failed'); + }, 1 ); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index b558e3c1a916cf..ebf7018a2cc62f 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.setData('text/plain', 'Test failed'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.setData('text/plain', 'Test failed'); + }, 1 ); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index b2730da403c6ef..4ecec4840a75ea 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -11,10 +11,10 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - var cbData=e.clipboardData; - setTimeout( function(){ - cbData.setData('text/plain', 'Test failed'); - }, 1 ); + var cbData=e.clipboardData; + setTimeout( function(){ + cbData.setData('text/plain', 'Test failed'); + }, 1 ); } diff --git a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html index 4724707944884b..ed65736f359b1e 100644 --- a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html +++ b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html @@ -11,12 +11,12 @@ /* paste data: "pasted text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - setTimeout(function(){ - var passed=false; + setTimeout(function(){ + var passed=false; passed=e.target.value==='pasted text'; - result(passed); - }, 10); - e.clipboardData.setData('text/plain', 'modified text'); + result(passed); + }, 10); + e.clipboardData.setData('text/plain', 'modified text'); } diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html index 0dad407162d6a8..87f2c0019e6278 100644 --- a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html @@ -14,9 +14,9 @@ /* Targets: 'input_text' */ function clipboard_api_test(e){ - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'modified text'); - } + if(e.clipboardData && e.clipboardData.setData){ + e.clipboardData.setData('text/plain', 'modified text'); + } } diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html index ce743660195beb..c97ad917f1cd79 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.clipboardData.clearData( 'text/plain' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.clipboardData.clearData( 'text/plain' ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html index d4a0b9fb174037..1b94f1261f7b4b 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html @@ -12,9 +12,9 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "" */ function clipboard_api_test(e){ - e.clipboardData.setData( 'text/plain', 'modified text' ); - e.clipboardData.clearData( 'text/plain' ); - e.preventDefault(); + e.clipboardData.setData( 'text/plain', 'modified text' ); + e.clipboardData.clearData( 'text/plain' ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html index d6f4f233589a30..b36572b46faffd 100644 --- a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html +++ b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html @@ -12,7 +12,7 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - e.clipboardData.setData('text/plain', 'cut text'); + e.clipboardData.setData('text/plain', 'cut text'); /* NO e.preventDefault() call here. This event's default action is to do nothing since there is no selection. The test verifies that nothing happens to clipboard content. */ } diff --git a/clipboard-apis/setdata_method_copy_on_document.html b/clipboard-apis/setdata_method_copy_on_document.html index cf6a569caec314..171daa9865305f 100644 --- a/clipboard-apis/setdata_method_copy_on_document.html +++ b/clipboard-apis/setdata_method_copy_on_document.html @@ -12,9 +12,9 @@ /* paste data: "pasted text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/plain', 'modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/plain', 'modified text'); + e.preventDefault(); } /* TODO: should this (and similar) tests only work if we have "preflight" events? */ /* diff --git a/clipboard-apis/setdata_method_cut_on_document.html b/clipboard-apis/setdata_method_cut_on_document.html index 08b6f7c93fdf8e..dc05cae115bde6 100644 --- a/clipboard-apis/setdata_method_cut_on_document.html +++ b/clipboard-apis/setdata_method_cut_on_document.html @@ -12,9 +12,9 @@ /* paste data: "pasted text" */ /* External pass condition - clipboard data: "modified text" */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/plain', 'modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/plain', 'modified text'); + e.preventDefault(); } /* TODO: should this (and similar) tests only work if we have "preflight" events? */ /* diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html index 12a200f6f4bbab..c49f1e2567a842 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html @@ -14,14 +14,14 @@ //TODO: this test asserts a NOOP. // how this SHOULD work is, however, underspecified.. function clipboard_api_test(e){ - var passed = false; - try{ - e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); - e.preventDefault(); - passed=true; - }catch(e){ - } - return passed; + var passed = false; + try{ + e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); + e.preventDefault(); + passed=true; + }catch(e){ + } + return passed; } diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html index 47521b563ec048..0fb8c1a20570fb 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html @@ -14,14 +14,14 @@ //TODO: this test asserts a NOOP. // how this SHOULD work is, however, underspecified.. function clipboard_api_test(e){ - var passed = false; - try{ - e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); - e.preventDefault(); - passed=true; - }catch(e){ - } - return passed; + var passed = false; + try{ + e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); + e.preventDefault(); + passed=true; + }catch(e){ + } + return passed; } diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html index 835ab41384b530..9d16f0adce41ce 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html @@ -24,10 +24,10 @@ Note: IE throws for this test. Presumably it would use just "html", not "text/html" for the format argument if it supported this. */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/html', '

copycut modified text

'); - e.clipboardData.setData('text/plain', 'copycut modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/html', '

copycut modified text

'); + e.clipboardData.setData('text/plain', 'copycut modified text'); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html index 1c9f1914d9c136..971218088643b4 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html @@ -24,10 +24,10 @@ Note: IE throws for this test. Presumably it would use just "html", not "text/html" for the format argument if it supported this. */ function clipboard_api_test(e){ - var passed = false; - e.clipboardData.setData('text/html', '

copycut modified text

'); - e.clipboardData.setData('text/plain', 'copycut modified text'); - e.preventDefault(); + var passed = false; + e.clipboardData.setData('text/html', '

copycut modified text

'); + e.clipboardData.setData('text/plain', 'copycut modified text'); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html index 24cc907eafd64c..6e8500cca4ac1f 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -11,11 +11,11 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'copycutpaste modified text'); - } - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + if(e.clipboardData && e.clipboardData.setData){ + e.clipboardData.setData('text/plain', 'copycutpaste modified text'); + } + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html index 38a4f71b3735b3..e78f781135c6d7 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -11,11 +11,11 @@ /* External pass condition - clipboard data: "unmodified text" */ /* Test HTML:
*/ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'copycutpaste modified text'); - } - //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. + var passed = false; + if(e.clipboardData && e.clipboardData.setData){ + e.clipboardData.setData('text/plain', 'copycutpaste modified text'); + } + //e.preventDefault(); // The point of this test is that we do NOT call preventDefault() here. } diff --git a/clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html b/clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html deleted file mode 100644 index 67109bb43bde3e..00000000000000 --- a/clipboard-apis/types_property_all_implementations_must_return_textplain_as_one_of_the_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - ClipboardEvent - types property - all implementations must return 'text/plain' as one of the .types entries when there is plain text on the clipboard - paste on document - - - - - - - -

FAILED (This TC requires JavaScript enabled)

-
-
- - From 95a9e02fff5b34e31b8c50f8a4a514f38d317ff2 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Wed, 22 Jul 2015 20:23:57 +0200 Subject: [PATCH 24/42] and a few more whitespace fixes in helper files --- clipboard-apis/support/TC-generator/tc-gen.py | 109 +++++++++--------- clipboard-apis/support/_lib.js | 96 ++++++++------- 2 files changed, 98 insertions(+), 107 deletions(-) diff --git a/clipboard-apis/support/TC-generator/tc-gen.py b/clipboard-apis/support/TC-generator/tc-gen.py index f780935a301427..cc6078794dd098 100644 --- a/clipboard-apis/support/TC-generator/tc-gen.py +++ b/clipboard-apis/support/TC-generator/tc-gen.py @@ -2,13 +2,11 @@ # This script extracts all tests from the spec text and # builds the test suite -import os -import re -import codecs +import os, re, codecs, sys -script_path = os.path.abspath(os.path.dirname(__file__)) -spec_path = os.path.join(script_path, '..', 'index.html') -tc_path = os.path.join(script_path, '..', 'testsuite') + os.sep +if len(sys.argv<3): + print 'Two arguments are required: path to spec (clipops-source.html) and \nthe path to a folder where generated tests should be stored.' + sys.exit() tc_path = "C:\\mozilla\\web-platform-tests\\clipboard-apis\\" @@ -51,56 +49,53 @@ f.close() r = re.compile('', re.I | re.S) testcounter = 1 - +rubytemplate = """ +describe "Clipboard events testsuite" do + before(:all) do + @browser = OperaWatir::Browser.new + $base = 'file://localhost/d:/projects/spec-dev/copy-paste/W3C-repo/clipops/testsuite/' + end +%s +end +""" +rubycode="" +rbatom = """ + it "%i %s" do + doSingleTest %i + end +""" for match in re.finditer(r, spec_text): - test_info = { - "title": match.groupdict()["title"], - "test_js_code": match.groupdict()["script"], - "data_to_paste": "''", - "targets": default_event_target, - "external_pass_condition": "null", - "test_html": default_test_html - } - # add title comment back, it's useful for code review - test_info["test_js_code"] = "/** %s */\n%s" % ( - test_info["title"], - test_info["test_js_code"] - ) - test_data_map = { - "Test HTML": "test_html", - "Events": "events", - "Targets": "targets", - "paste data": "data_to_paste", - "External pass condition - clipboard data": "external_pass_condition" - } - for name in test_data_map: - value = test_data_map[name] - rx = re.compile(r"\/\*\s*"+name+": (.+?)\*\/", re.S) - try: - test_info[value] = re.search(rx, test_info['test_js_code']).group(1) - if name is 'Test HTML' and '<\\/script' in test_info[value]: - test_info[value] = test_info[value].replace( - '<\\/script', - '-1){ - logNode.parentNode.appendChild(document.createElement('br')); - logNode.parentNode.appendChild(document.createTextNode('Note: copy all body text from ')); - var tmp=logNode.parentNode.appendChild(document.createElement('a')); - tmp.href='support/html_file.htm'; - tmp.appendChild(document.createTextNode('this support file')); - logNode.parentNode.appendChild(document.createTextNode(' for this test.')); - } - } - } - if(typeof triggerTestManually==='function'){ - /* Tests that require user interaction define a "triggerTestManually()" function. - These are for example tests that rely on trusted events. */ - logNode.parentNode.appendChild(document.createTextNode(' ')); - var btn = logNode.parentNode.appendChild(document.createElement('button')) - btn.type = 'button'; - btn.onclick = t.func_step(function(){ - triggerTestManually(event); - btn.parentNode.removeChild(btn); - }); - btn.appendChild(document.createTextNode(' Click here to run test: ')); - }else{ - logNode.data+='Test in progress, waiting for '+event+' event'; - } - if(typeof onTestSetupReady==='function'){ - onTestSetupReady(event); - } + if(dataToPaste.indexOf('{')==0){ // sorry about the content sniffing, this is likely a JSON string with alternate clipboard formats + if(dataToPaste.indexOf('text/html')>-1){ + logNode.parentNode.appendChild(document.createElement('br')); + logNode.parentNode.appendChild(document.createTextNode('Note: copy all body text from ')); + var tmp=logNode.parentNode.appendChild(document.createElement('a')); + tmp.href='support/html_file.htm'; + tmp.appendChild(document.createTextNode('this support file')); + logNode.parentNode.appendChild(document.createTextNode(' for this test.')); + } + } + } + if(typeof triggerTestManually==='function'){ + /* Tests that require user interaction define a "triggerTestManually()" function. + These are for example tests that rely on trusted events. */ + logNode.parentNode.appendChild(document.createTextNode(' ')); + var btn=logNode.parentNode.appendChild(document.createElement('button')) + btn.type='button'; + btn.onclick=function(){ + triggerTestManually(event); + btn.parentNode.removeChild(btn); + } + btn.appendChild(document.createTextNode(' Click here to run test: ')); + }else{ + logNode.data+='Test in progress, waiting for '+event+' event'; + } + if(typeof onTestSetupReady==='function'){ + onTestSetupReady(event); + } function intermediateListener(e){ e=e||window.event; @@ -68,28 +68,24 @@ function setupTest( target, event, dataToPaste, externalPassCondition ){ } function result(testResult, msg){ - var logNode=document.getElementsByTagName('p')[0].firstChild; - if( testResult === true || testResult === false ){ - t.step(function(){assert_true(testResult)}); - t.done(); - logNode.data= ''; - }else if( typeof testResult === 'function' ){ - t.step(testResult); - t.done(); - logNode.data= ''; - }else if( typeof testResult ==='string' ){ - logNode.data=testResult; - }else if( typeof externalPassCondition==='string' ){ - logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; - var btn = document.getElementById('log').appendChild(document.createElement('button')); - btn.onclick = function(){result(true)}; - btn.textContent = 'Passed!'; - btn.type='button'; - btn = document.getElementById('log').appendChild(document.createElement('button')); - btn.onclick = function(){result(false)}; - btn.textContent = 'Failed!'; - btn.type='button'; - } + var logNode=document.getElementsByTagName('p')[0].firstChild; + if( testResult === true || testResult === false ){ + t.step(function(){assert_true(testResult)}); + t.done(); + logNode.data= ''; // testResult ? 'PASSED' : 'FAILED'; + }else if( typeof testResult ==='string' ){ + logNode.data=testResult; + }else if( typeof externalPassCondition==='string' ){ + logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; + var btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(true)}; + btn.textContent = 'Passed!'; + btn.type='button'; + btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(false)}; + btn.textContent = 'Failed!'; + btn.type='button'; + } if( msg )logNode.data+='\n'+msg; /* another return value - or no return - from test() indicates that it is asyncronous and will call testResult() from a timeout or something */ From 7167eb1d797e628ee327f8bdad80720e6bc6dea4 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 17:16:01 +0200 Subject: [PATCH 25/42] dropping Ruby file listing test cases and code to generate it - legacy stuff --- clipboard-apis/support/TC-generator/tc-gen.py | 109 +++--- clipboard-apis/testlist.rb | 364 ------------------ 2 files changed, 57 insertions(+), 416 deletions(-) delete mode 100644 clipboard-apis/testlist.rb diff --git a/clipboard-apis/support/TC-generator/tc-gen.py b/clipboard-apis/support/TC-generator/tc-gen.py index cc6078794dd098..f780935a301427 100644 --- a/clipboard-apis/support/TC-generator/tc-gen.py +++ b/clipboard-apis/support/TC-generator/tc-gen.py @@ -2,11 +2,13 @@ # This script extracts all tests from the spec text and # builds the test suite -import os, re, codecs, sys +import os +import re +import codecs -if len(sys.argv<3): - print 'Two arguments are required: path to spec (clipops-source.html) and \nthe path to a folder where generated tests should be stored.' - sys.exit() +script_path = os.path.abspath(os.path.dirname(__file__)) +spec_path = os.path.join(script_path, '..', 'index.html') +tc_path = os.path.join(script_path, '..', 'testsuite') + os.sep tc_path = "C:\\mozilla\\web-platform-tests\\clipboard-apis\\" @@ -49,53 +51,56 @@ f.close() r = re.compile('', re.I | re.S) testcounter = 1 -rubytemplate = """ -describe "Clipboard events testsuite" do - before(:all) do - @browser = OperaWatir::Browser.new - $base = 'file://localhost/d:/projects/spec-dev/copy-paste/W3C-repo/clipops/testsuite/' - end -%s -end -""" -rubycode="" -rbatom = """ - it "%i %s" do - doSingleTest %i - end -""" + for match in re.finditer(r, spec_text): - test_info = {"title":match.groupdict()["title"], "test_javascript_code":match.groupdict()["script"], "data_to_paste":"''", "targets":default_event_target, "external_pass_condition":"null", "test_html":default_test_html} - test_info["test_javascript_code"] = "/** %s */\n%s" % (test_info["title"], test_info["test_javascript_code"]) # add title comment back.. - test_data_map = { "Test HTML":"test_html", "Events":"events", "Targets":"targets", "paste data":"data_to_paste", "External pass condition - clipboard data":"external_pass_condition" } - for name in test_data_map: - value = test_data_map[name] - rx = re.compile(r"\/\*\s*"+name+": (.+?)\*\/", re.S) - try: - test_info[value] = re.search(rx, test_info['test_javascript_code']).group(1) - if name is 'Test HTML' and '<\\/script' in test_info[value]: - test_info[value] = test_info[value].replace('<\\/script', ' Date: Sun, 26 Jul 2015 17:57:23 +0200 Subject: [PATCH 26/42] integrating test setup with testharness.js, addresses https://critic.hoppipolla.co.uk/showcomment?chain=12228 --- ...lt_action_basic_test_copy_on_document.html | 8 +- ...t_action_basic_test_copy_on_inputtext.html | 8 +- ...ult_action_basic_test_cut_on_document.html | 8 +- ...lt_action_basic_test_cut_on_inputtext.html | 8 +- ...from_editable_context_cut_on_document.html | 8 +- ...rom_editable_context_cut_on_inputtext.html | 8 +- ...event_handler_method_copy_on_document.html | 12 ++- ..._event_handler_method_cut_on_document.html | 12 ++- ...vent_handler_method_paste_on_document.html | 12 ++- ...n_same_event_handler_copy_on_document.html | 12 ++- ...in_same_event_handler_cut_on_document.html | 12 ++- ...noop_in_paste_event_paste_on_document.html | 12 ++- ...th_texthtml_argument_copy_on_document.html | 12 ++- ...ith_texthtml_argument_cut_on_document.html | 12 ++- ...od_without_arguments_copy_on_document.html | 12 ++- ...hod_without_arguments_cut_on_document.html | 12 ++- ...entss_default_action_copy_on_document.html | 8 +- ...ventss_default_action_cut_on_document.html | 8 +- ...ts_clipboarddata_api_copy_on_document.html | 12 ++- ...nts_clipboarddata_api_cut_on_document.html | 12 ++- ...s_clipboarddata_api_paste_on_document.html | 12 ++- ...ative_to_key_events_copy_on_inputtext.html | 8 +- ...lative_to_key_events_cut_on_inputtext.html | 8 +- ...tive_to_key_events_paste_on_inputtext.html | 8 +- ...ts_clipboard_events_copy_on_inputtext.html | 8 +- ...nts_clipboard_events_cut_on_inputtext.html | 8 +- ...s_clipboard_events_paste_on_inputtext.html | 8 +- ...o_other_input_events_cut_on_inputtext.html | 8 +- ...other_input_events_paste_on_inputtext.html | 8 +- ...leardata_and_setdata_copy_on_document.html | 8 +- ...cleardata_and_setdata_cut_on_document.html | 8 +- ...gle_textplain_entry_paste_on_document.html | 12 ++- ...cii_data_i_japanese_copy_on_inputtext.html | 8 +- ...scii_data_i_japanese_cut_on_inputtext.html | 8 +- ...ii_data_i_japanese_paste_on_inputtext.html | 8 +- ...dom_unicode_symbols_copy_on_inputtext.html | 8 +- ...ndom_unicode_symbols_cut_on_inputtext.html | 8 +- ...events_fire_on_input_copy_on_document.html | 8 +- ...vents_fire_on_input_copy_on_inputtext.html | 8 +- ..._events_fire_on_input_cut_on_document.html | 8 +- ...events_fire_on_input_cut_on_inputtext.html | 8 +- ...nts_fire_on_textarea_copy_on_document.html | 8 +- ...ts_fire_on_textarea_copy_on_inputtext.html | 8 +- ...ents_fire_on_textarea_cut_on_document.html | 8 +- ...nts_fire_on_textarea_cut_on_inputtext.html | 8 +- ...nt_affects_clipboard_copy_on_document.html | 22 ++--- ...ent_affects_clipboard_cut_on_document.html | 29 +++--- ...ect_system_clipboard_copy_on_document.html | 41 ++++---- ...fect_system_clipboard_cut_on_document.html | 41 ++++---- ...rdevent_constructor_paste_on_document.html | 12 ++- ...nstandard_mime_type_paste_on_document.html | 12 ++- ...enteditable_element_paste_on_document.html | 31 +++--- ...oad_data_into_input_paste_on_document.html | 23 ++--- ..._data_into_textarea_paste_on_document.html | 23 ++--- ...enteditable_element_paste_on_document.html | 31 +++--- ...oad_data_into_input_paste_on_document.html | 23 ++--- ...not_modify_selection_copy_on_document.html | 8 +- ...ot_modify_selection_copy_on_inputtext.html | 8 +- ...y_selection_in_input_copy_on_document.html | 8 +- ...ty_selection_in_input_cut_on_document.html | 8 +- ..._selection_in_input_paste_on_document.html | 8 +- ..._script_uses_setdata_copy_on_document.html | 8 +- ...d_script_uses_setdata_cut_on_document.html | 8 +- ...ispatch_other_events_copy_on_document.html | 8 +- ...spatch_other_events_copy_on_inputtext.html | 8 +- ..._collapses_selection_cut_on_inputtext.html | 8 +- ...efore_text_is_removed_cut_on_document.html | 8 +- ...fore_text_is_removed_cut_on_inputtext.html | 8 +- ...ction_no_text_change_copy_on_document.html | 8 +- ...no_selection_is_noop_copy_on_document.html | 8 +- ..._no_selection_is_noop_cut_on_document.html | 8 +- ...that_modifies_focus_copy_on_inputtext.html | 8 +- ..._that_modifies_focus_cut_on_inputtext.html | 8 +- ...hat_modifies_focus_paste_on_inputtext.html | 8 +- ...t_modifies_selection_copy_on_document.html | 8 +- ...ion_in_document_text_copy_on_document.html | 8 +- ...tion_in_document_text_cut_on_document.html | 8 +- ...on_in_document_text_paste_on_document.html | 8 +- ...no_text_node_inside_paste_on_document.html | 8 +- ...no_text_node_inside_paste_on_inputimg.html | 8 +- ...ic_element_has_focus_copy_on_document.html | 8 +- ...fic_element_has_focus_cut_on_document.html | 8 +- ...c_element_has_focus_paste_on_document.html | 8 +- ...tion_spans_several_elements_copy_on_a.html | 8 +- ...tion_spans_several_elements_copy_on_b.html | 8 +- ...ans_several_elements_copy_on_document.html | 8 +- ...ction_spans_several_elements_cut_on_a.html | 8 +- ...ction_spans_several_elements_cut_on_b.html | 8 +- ...pans_several_elements_cut_on_document.html | 8 +- ...ion_spans_several_elements_paste_on_a.html | 8 +- ...ion_spans_several_elements_paste_on_b.html | 8 +- ...ns_several_elements_paste_on_document.html | 8 +- ...elements_reversed_selection_copy_on_a.html | 8 +- ...elements_reversed_selection_copy_on_b.html | 8 +- ...s_reversed_selection_copy_on_document.html | 8 +- ..._elements_reversed_selection_cut_on_a.html | 8 +- ..._elements_reversed_selection_cut_on_b.html | 8 +- ...ts_reversed_selection_cut_on_document.html | 8 +- ...lements_reversed_selection_paste_on_a.html | 8 +- ...lements_reversed_selection_paste_on_b.html | 8 +- ..._reversed_selection_paste_on_document.html | 8 +- ...ts_from_datatransfer_copy_on_document.html | 12 ++- ...its_from_datatransfer_cut_on_document.html | 12 ++- ...s_from_datatransfer_paste_on_document.html | 12 ++- ...editable_svg_content_copy_on_document.html | 8 +- ..._editable_svg_content_copy_on_svgtext.html | 8 +- ..._editable_svg_content_cut_on_document.html | 8 +- ...e_editable_svg_content_cut_on_svgtext.html | 8 +- ...ditable_svg_content_paste_on_document.html | 8 +- ...editable_svg_content_paste_on_svgtext.html | 8 +- ...e_inside_svg_content_copy_on_document.html | 8 +- ...re_inside_svg_content_copy_on_svgtext.html | 8 +- ...re_inside_svg_content_cut_on_document.html | 8 +- ...ire_inside_svg_content_cut_on_svgtext.html | 8 +- ...t_in_contenteditable_copy_on_document.html | 8 +- ...nt_in_contenteditable_copy_on_svgtext.html | 8 +- ...nt_in_contenteditable_cut_on_document.html | 8 +- ...ent_in_contenteditable_cut_on_svgtext.html | 8 +- ..._in_contenteditable_paste_on_document.html | 8 +- ...t_in_contenteditable_paste_on_svgtext.html | 8 +- ..._inside_svg_content_paste_on_document.html | 8 +- ...e_inside_svg_content_paste_on_svgtext.html | 8 +- ...vents_fire_on_input_paste_on_document.html | 8 +- ...ents_fire_on_input_paste_on_inputtext.html | 8 +- ...ts_fire_on_textarea_paste_on_document.html | 8 +- ...s_fire_on_textarea_paste_on_inputtext.html | 8 +- ...turn_an_empty_string_copy_on_document.html | 12 ++- ...eturn_an_empty_string_cut_on_document.html | 12 ++- ...trieving_plain_text_paste_on_document.html | 12 ++- ...egacy_text_argument_paste_on_document.html | 12 ++- ...urn_an_empty_string_paste_on_document.html | 12 ++- ...urn_an_empty_string_paste_on_document.html | 12 ++- ...number_of_arguments_paste_on_document.html | 12 ++- ..._not_case_sensitive_paste_on_document.html | 12 ++- ...legacy_url_argument_paste_on_document.html | 12 ++- ...gle_textplain_entry_paste_on_document.html | 12 ++- ...fault_action_copy_on_ifrcontentwindow.html | 8 +- ...efault_action_cut_on_ifrcontentwindow.html | 8 +- ...ault_action_paste_on_ifrcontentwindow.html | 8 +- ...yncronous_copy_on_iframecontentwindow.html | 8 +- ...syncronous_cut_on_iframecontentwindow.html | 8 +- ...ncronous_paste_on_iframecontentwindow.html | 8 +- ...event_handler_method_copy_on_document.html | 12 ++- ..._event_handler_method_cut_on_document.html | 12 ++- ...vent_handler_method_paste_on_document.html | 12 ++- ...ntext_with_selection_copy_on_document.html | 8 +- ...ontext_with_selection_cut_on_document.html | 8 +- ...n_noneditable_context_cut_on_document.html | 12 ++- ...re_data_is_inserted_paste_on_document.html | 8 +- ...e_data_is_inserted_paste_on_inputtext.html | 8 +- ...noneditable_context_paste_on_document.html | 8 +- ...ile_of_unknown_type_paste_on_document.html | 8 +- .../pasting_a_file_paste_on_document.html | 8 +- ...ting_default_action_paste_on_document.html | 8 +- ...ing_default_action_paste_on_inputtext.html | 8 +- ...from_looping_script_paste_on_document.html | 12 ++- ...d_clipboarddataitems_copy_on_document.html | 12 ++- ...nd_clipboarddataitems_cut_on_document.html | 12 ++- ...event_handler_method_copy_on_document.html | 12 ++- ..._event_handler_method_cut_on_document.html | 12 ++- ...vent_handler_method_paste_on_document.html | 12 ++- ...ed_in_a_paste_event_paste_on_document.html | 8 +- ...from_a_paste_event_paste_on_inputtext.html | 8 +- ...n_same_event_handler_copy_on_document.html | 12 ++- ...in_same_event_handler_cut_on_document.html | 12 ++- ...efault_action_is_noop_cut_on_document.html | 12 ++- .../setdata_method_copy_on_document.html | 12 ++- .../setdata_method_cut_on_document.html | 12 ++- ...es_not_know_the_type_copy_on_document.html | 8 +- ...oes_not_know_the_type_cut_on_document.html | 8 +- ...exthtml_experimental_copy_on_document.html | 12 ++- ...texthtml_experimental_cut_on_document.html | 12 ++- ...entss_default_action_copy_on_document.html | 8 +- ...ventss_default_action_cut_on_document.html | 8 +- clipboard-apis/support/_lib.js | 96 ++++++++++--------- ...therwise_be_disabled_copy_on_document.html | 8 +- ...otherwise_be_disabled_cut_on_document.html | 8 +- ...herwise_be_disabled_paste_on_document.html | 8 +- 178 files changed, 974 insertions(+), 914 deletions(-) diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html index f3ffa5c383066b..24d29d9936982a 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html index ddaa259f110904..e9fb5569fde84b 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html index d367b372008a00..ade39a8a77cb14 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html index 15573090f3af37..117305d5f5a674 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html index 1559c2d9eb5992..e27e975f62ccfd 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html index 079015abe721e1..69b2075bd68f57 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index b640d2640bd2df..79b9a908fddafa 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index 394fc511933a06..2d7dcaa967617d 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index d7158d68ce1867..1c9e9e456520ba 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html index 7d667849675d18..d9acf800d839e2 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html index 15a87450c6f50a..630e6e57aa4883 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html index 0beb419fe664e5..d06e980dae7dbf 100644 --- a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html +++ b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html index 47a9b8c9878edf..2a146b057ea0ff 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html index ac564ade511ac7..00e00f8d73e2e4 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html index e85846fcd7dde6..2415b5224ff7a0 100644 --- a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html index fb11c0a14aec85..370b20a0b17a6e 100644 --- a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html index 6452d59949aaaf..554b9fb85e15c9 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html index 95e9c0fc179d1e..8721664ba4b752 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html index 6c726c5a52b003..26a90c166969b3 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html index f8eea91ebe5523..5c14f289d23905 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html index b833a517e5715a..6e8675d957d8f1 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html index e82ca693cb1b19..f6f76ae5dc1b62 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html @@ -36,11 +36,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html index 241e4dc21a843f..6bc60943426bcd 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html @@ -36,11 +36,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html index d76979912e9015..4e559e23b267ee 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html @@ -36,11 +36,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html index 36b9db06c6d9e7..ead5b50675e5ba 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html index a2a5b220b73f2b..4a401535145c35 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html index c57d0c24443f2e..ef3874fbbb226f 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html index f3549d7ab50276..9fff3123e504dd 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html @@ -43,11 +43,11 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html index ad9eee5d4f47f9..58219c3b8def05 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html @@ -44,11 +44,11 @@
diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html index 997aec914c4e6f..e9fe04b98e23e5 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html index 1a2755046dbd2b..3df8a46844efab 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index 5fa50169a293de..6f3394e9621a07 100644 --- a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html index d6417e77a40abc..3306de622210c0 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html index 2a306c875c0878..4b34080734f08e 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html index 62bbd49b0bc4e6..6e54175d3c3bf6 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html index 27cd3f11e22d96..7f5d103a963545 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html index 24d7afd20e2007..694285ab595092 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html index a86180afcdd4fb..d5e6a2b9819404 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html index 6a82fdc4d2b02c..8112be7e0f9ca7 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html index 6d3fb2f7327018..fdbd5cd999cb2e 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html index 4cc5ab3c7d9908..303b29d488ea7f 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html index ccb37d80004e32..05dff395a688b6 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html index 47df39c13582e1..4ae2d1a1110350 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html index 7de608b3c5c5a5..1877b0fc239857 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html index e2aab188c56f91..0efbf6228d0e2d 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html index 0717ed3bc592e5..f239f72779e183 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html @@ -15,23 +15,23 @@ e.preventDefault(); } function triggerTestManually(type){ - try{ + try{ if(window.eventType === 'cut'){ document.body.contentEditable = 'true'; } - /* make a selection to check if selected text is copied */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.execCommand(type); - window.getSelection().removeAllRanges(); + /* make a selection to check if selected text is copied */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.execCommand(type); + window.getSelection().removeAllRanges(); if(window.eventType ==='cut'){ document.body.contentEditable='false'; } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + }catch(e){ + result('Unexpected Exception when initiating ClipboardEvent: '+e); + return; + } } diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html index 5ab57fe4cd3fcf..9c8f9443d05631 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html @@ -15,23 +15,18 @@ e.preventDefault(); } function triggerTestManually(type){ - try{ - if(window.eventType === 'cut'){ - document.body.contentEditable = 'true'; - } - /* make a selection to check if selected text is copied */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.execCommand(type); - window.getSelection().removeAllRanges(); - if(window.eventType ==='cut'){ - document.body.contentEditable='false'; - } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + if(window.eventType === 'cut'){ + document.body.contentEditable = 'true'; + } + /* make a selection to check if selected text is copied */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.execCommand(type); + window.getSelection().removeAllRanges(); + if(window.eventType ==='cut'){ + document.body.contentEditable='false'; + } } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 5f3b73ee42f107..3b2e2f91ac446e 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -14,23 +14,18 @@ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); - if(type === 'cut'){ - document.body.contentEditable='true'; - } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); - if(type === 'cut'){ - document.body.contentEditable = 'false'; - } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); + if(type === 'cut'){ + document.body.contentEditable = 'false'; } } @@ -39,15 +34,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index 92ca13e371e339..7ca77ed8bd3a33 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -14,23 +14,18 @@ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); - if(type === 'cut'){ - document.body.contentEditable='true'; - } - /* make a selection to check if selected text is copied by the synthetic event.. */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.dispatchEvent(evt); - window.getSelection().removeAllRanges(); - if(type === 'cut'){ - document.body.contentEditable = 'false'; - } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; + var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + if(type === 'cut'){ + document.body.contentEditable='true'; + } + /* make a selection to check if selected text is copied by the synthetic event.. */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.dispatchEvent(evt); + window.getSelection().removeAllRanges(); + if(type === 'cut'){ + document.body.contentEditable = 'false'; } } @@ -39,15 +34,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index 0226885ebc8a19..4afe9ac0c452a4 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -27,15 +27,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index 5383b8d7c33bc0..fba4845cef09d2 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -28,15 +28,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index bbb8484a9f57e2..ea1d060470de73 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -13,20 +13,15 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' } ); - document.getElementById('editable').dispatchEvent(evt); - setTimeout( function(){ - try{ - result(document.getElementById('editable').getElementsByTagName('em').length == 0); - }catch(e){ - result('Unexpected exception when looking for inserted HTML data: '+e); - } - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' } ); + document.getElementById('editable').dispatchEvent(evt); + setTimeout( function(){ + try{ + result(document.getElementById('editable').getElementsByTagName('em').length == 0); + }catch(e){ + result('Unexpected exception when looking for inserted HTML data: '+e); + } + }, 50 ); } @@ -38,11 +33,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html index b97fe21f2c55fa..1f1a5e956ee684 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html @@ -13,16 +13,11 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('input')[0].value.indexOf( 'synthetic event text' )===-1); + }, 50 ); } @@ -34,11 +29,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html index 20fb67cc68300e..b0e34ce7cf5279 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html @@ -13,16 +13,11 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - try{ - var evt=new ClipboardEvent( type, { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementsByTagName('textarea')[0].dispatchEvent(evt); - setTimeout( function(){ - result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt=new ClipboardEvent( type, { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementsByTagName('textarea')[0].dispatchEvent(evt); + setTimeout( function(){ + result(document.getElementsByTagName('textarea')[0].value.indexOf( 'synthetic event text' ) === -1); + }, 50 ); } @@ -34,11 +29,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html index 9597aa28509302..a10cd22760b49f 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html @@ -13,20 +13,15 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(){ - try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); - document.getElementById('editable').dispatchEvent(evt); - setTimeout( function(){ - try{ - result(document.getElementById('editable').textContent.indexOf( 'synthetic event text' )===-1); - }catch(e){ - result('Unexpected exception when looking for inserted HTML data: '+e); - } - }, 50 ); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + document.getElementById('editable').dispatchEvent(evt); + setTimeout( function(){ + try{ + result(document.getElementById('editable').textContent.indexOf( 'synthetic event text' )===-1); + }catch(e){ + result('Unexpected exception when looking for inserted HTML data: '+e); + } + }, 50 ); } @@ -38,11 +33,11 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html index 60d64581ec4d1f..35ac439688f0ab 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html @@ -13,16 +13,11 @@ /* Targets: document */ function clipboard_api_test(e){ } function onTestSetupReady(type){ - try{ - var evt = new ClipboardEvent(type, { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' }); - document.getElementsByTagName('input')[0].dispatchEvent(evt); - setTimeout(function(){ - result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); - }, 50); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt = new ClipboardEvent(type, { bubbles:true, cancellable: true, dataType: 'text/html', data:'synthetic event text' }); + document.getElementsByTagName('input')[0].dispatchEvent(evt); + setTimeout(function(){ + result(document.getElementsByTagName('input')[0].value.indexOf('synthetic event text') === -1); + }, 50); } @@ -34,11 +29,11 @@
diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html index e7f7dfc365c102..1f10a1a5b5fd86 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html index 56c2cb581883d0..1478618abf156a 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html index 951a57d79e94f7..e3c6063915b97e 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html index abddc5b3bbeda1..c2c095d218e172 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html index c9b945fdcb0ddb..68b0e2969ebc74 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html index 824789288ed569..9519c3f15aba9e 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html index 04215bfe826048..a8570e9f5cc1cb 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html index a8219bb2f92ebd..738ac8dfa4a4a3 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html @@ -30,11 +30,11 @@
diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html index e67fc3a5c1e599..4fac2b47eeda0e 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html @@ -30,11 +30,11 @@
diff --git a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html index 8a23a0573d3514..5e4696084c6a7e 100644 --- a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html +++ b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html index b6887a9cde6ecb..8c8744b2d3ce5a 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html @@ -23,11 +23,11 @@
diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html index 046b99066eb66d..8e501642550414 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html @@ -23,11 +23,11 @@
diff --git a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html index c67a46ed2e3827..1193a269e63524 100644 --- a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html +++ b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html @@ -30,11 +30,11 @@
diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html index 6d5724d3fc6860..9e2ba1ffe83e64 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html index 486dd8706d96aa..fb76e7db9c692f 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html index 06d85360ca48b0..3587234493b1f0 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html index c531c639efee9d..235dea078f9781 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html index 3a8fbd919c7dac..d45077eadc4820 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html index e4e07d8603143f..ae80603ea5de57 100644 --- a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html +++ b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html index 6cce087fac9c57..22bc4f728face9 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html index cd3e1b2d9d1acf..11adbc5ac01b8f 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html index ab103d3371a601..29d0f76e0344be 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html index 7dc84ad62ab187..25e8bf804edc73 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html index bcf041851e00e6..079c1b5e846163 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html index d8c7ad65324ffc..63312b0513e1f6 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html index a7c77df6329d77..a68130429b21c8 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html index 6e3a8cb4652a57..4dda157e3ca20b 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html index 7b78c44fc76aba..e3724dec146b35 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html index 26d0594704e326..79da1d2ee7c700 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html index f438ad3fa64462..549165f9867ad7 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html index ece4f3a5ba003b..476cad481071cf 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html index 59e7467f758e96..29574777f88fad 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html index c116c06baf45a3..83f7b2ecec0d55 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html index d93e3ce7fe855a..fad25658d02000 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html index bf32c2b79a93ce..f33496616cfa2f 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html index 4c7a877359abeb..7067db162925a3 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html index 2fc6852780b876..f70856095e65bb 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html index 33edf0669e5347..bf78c094a16c81 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html index e1bd48e903a83d..c4d0bce3158a21 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html index 292e119b78e804..30da84e0265976 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html index 927b1a5f3dfdcd..7566ffc32a9621 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html index e31cdf222d17bc..9abe0a5ca1b813 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html index 393f7f1b1c0f96..e9e8cf72df80f3 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html index 2d189977af2105..b7b4f4512e0c19 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html index 957d1f52a64b7e..0fdef45e7f71f7 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html index 4101690c51fd84..9baaf053cee73f 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html index de5211e1bf2d8e..5fd7799f04b984 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html index cdaa7cc09c37a5..9a43abc9485b31 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html @@ -20,15 +20,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html index 0129e8986b0a15..f5c576daca62f1 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html index 6d1b5733973873..167828557efcc3 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html index 4d76b13ac6b950..3bb3229ad8221f 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html index 311471a41a1c9a..7045c8f6fda986 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html index 3cd90b6d2fea9d..d48437ea789876 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html index b557ad30e1bff8..5bbba9341da34a 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html index 5f41b5772de94b..9c5aa3515e0e85 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html index 0bf077ca48c9ce..709a0319b09995 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html index 1c4d7bd148350e..a16dcf0da9b65d 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html index 96252ea1677b94..a35b9ba2617291 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html index ab8d72c048404a..ab45dc9d672306 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html index 763edabc9f6872..c724796f54d2f6 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html index 9872b0b1627a61..ced843c08578d2 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html index da09217b9139e7..30836f2d6c28e6 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html index 90cee70d275c69..67f9c8ad5559d1 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html index be853ef0c37033..1e1c8c79b31ead 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html index 33abd139f05a58..95fc1882e2afce 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html index e2fa1d9de52c98..d659e9c7c650bf 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/events_fire_on_input_paste_on_document.html b/clipboard-apis/events_fire_on_input_paste_on_document.html index 182bdb53aac6e0..db25122e6ae01a 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_document.html +++ b/clipboard-apis/events_fire_on_input_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html index d9693c447beec4..395a300943b475 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_document.html b/clipboard-apis/events_fire_on_textarea_paste_on_document.html index 988fd701b58a5e..ebb46bbec57036 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_document.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html index a9afd8e65139a8..cd115d669a4282 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html index 309162339ebe10..888b84d887e83b 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html index 0d715f98c4c683..07572f8ac254c8 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html index 35044ddd2f5b19..ace3eb2fbb78f1 100644 --- a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html +++ b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html index e12682e044fcea..8bfc5ea8de6063 100644 --- a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html +++ b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html @@ -23,15 +23,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html index d7de5faa50c6fc..fee5d34c6aff90 100644 --- a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html index 0f90a5ee51595e..b975dd068de419 100644 --- a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index d67880e9a9e567..64a8e0fca8b4ab 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -27,15 +27,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html index 9c040dba818b20..e0b5375562dd0c 100644 --- a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html +++ b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html @@ -26,15 +26,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html index 4efdaf917c32ef..00c2a1a4e1b145 100644 --- a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html +++ b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html @@ -25,15 +25,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index 34b6b6c0ec73d7..c6be5961669446 100644 --- a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index e678919ec72574..93e4d36d0b6e84 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 8a59de64cfc0bf..1fe2b8d48f356a 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -45,11 +45,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index 40facc93fdf809..d0db86fc0ae624 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -39,11 +39,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index 160ac5bafdf3ec..a08675d3f233d0 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -51,11 +51,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 257b96c35bcdad..615585903a8650 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -51,11 +51,11 @@
diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index 3030bb7c19b144..23d3ab93588e3b 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -51,11 +51,11 @@
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html index 572857c858a5e4..3ba9ea027e45e2 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index 92596565cf706b..44f0bea3b223f8 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index 9785cf4d98d487..12d6e69697921d 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html index 61221d4ba9592f..052dd9f2b811ad 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html index 169c67b774ce65..266e7ecf10202a 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html index 0d6f1e0625e482..5f7b32dc5df44f 100644 --- a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html +++ b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html index ec7a20690a9f44..0d280838b595ae 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html index 713f0ca3a18117..6105a390ae45a9 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html index bc79fa5cd4cd8d..b289a82256aeb0 100644 --- a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html @@ -25,11 +25,11 @@
diff --git a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html index 2363bd2c67a09e..9bfdf2dcd59a22 100644 --- a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/pasting_a_file_paste_on_document.html b/clipboard-apis/pasting_a_file_paste_on_document.html index d2f8755856492b..ca1af777c2b060 100644 --- a/clipboard-apis/pasting_a_file_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_paste_on_document.html @@ -29,11 +29,11 @@
diff --git a/clipboard-apis/preventing_default_action_paste_on_document.html b/clipboard-apis/preventing_default_action_paste_on_document.html index 1addff2ade00ce..c8e63a794a49ba 100644 --- a/clipboard-apis/preventing_default_action_paste_on_document.html +++ b/clipboard-apis/preventing_default_action_paste_on_document.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/preventing_default_action_paste_on_inputtext.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html index 5fd29e1d12c7d6..a0bbb746713f59 100644 --- a/clipboard-apis/preventing_default_action_paste_on_inputtext.html +++ b/clipboard-apis/preventing_default_action_paste_on_inputtext.html @@ -26,11 +26,11 @@
diff --git a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html index 8e724958215b97..f56f3083b62bff 100644 --- a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html +++ b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html @@ -35,15 +35,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html index d4adef84484e89..c25756c3566126 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html index bace47be22d7c6..60733a00ab6e3f 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index d8614f1e317e73..7df57eb7cddbaa 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index ebf7018a2cc62f..86f790e5143e69 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index 4ecec4840a75ea..ba28e297c7cf3d 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html index ed65736f359b1e..db5c80b062d5b2 100644 --- a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html +++ b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html index 87f2c0019e6278..1ad04175dd066d 100644 --- a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html @@ -28,11 +28,11 @@
diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html index c97ad917f1cd79..b0230c7f1496b9 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html index 1b94f1261f7b4b..b56a241c09d9b4 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html @@ -22,15 +22,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html index b36572b46faffd..ef668af820393c 100644 --- a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html +++ b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html @@ -21,15 +21,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_copy_on_document.html b/clipboard-apis/setdata_method_copy_on_document.html index 171daa9865305f..161bdf669ea20b 100644 --- a/clipboard-apis/setdata_method_copy_on_document.html +++ b/clipboard-apis/setdata_method_copy_on_document.html @@ -27,15 +27,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_cut_on_document.html b/clipboard-apis/setdata_method_cut_on_document.html index dc05cae115bde6..baa40b28925322 100644 --- a/clipboard-apis/setdata_method_cut_on_document.html +++ b/clipboard-apis/setdata_method_cut_on_document.html @@ -27,15 +27,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html index c49f1e2567a842..457386f489f1e6 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html @@ -33,11 +33,11 @@
diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html index 0fb8c1a20570fb..b8dfd394e1efa2 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html @@ -33,11 +33,11 @@
diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html index 9d16f0adce41ce..feb15adb88362e 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html @@ -35,15 +35,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html index 971218088643b4..46f83916ad23ba 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html @@ -35,15 +35,17 @@

FAILED (This TC requires JavaScript enabled)

-
+
+ +
diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html index 6e8500cca4ac1f..4cd929e488ecee 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html index e78f781135c6d7..50667c10cc26a4 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -27,11 +27,11 @@
diff --git a/clipboard-apis/support/_lib.js b/clipboard-apis/support/_lib.js index 7a4c24f3c7cc7c..c9dec269645aae 100644 --- a/clipboard-apis/support/_lib.js +++ b/clipboard-apis/support/_lib.js @@ -19,34 +19,34 @@ function setupTest( target, event, dataToPaste, externalPassCondition ){ if( dataToPaste || event==='paste' ){ logNode.data+='Please place this on the clipboard before continuing the test: "'+(dataToPaste || 'clipboard text' )+'"\n'; logNode.parentNode.style.whiteSpace='pre'; - if(dataToPaste.indexOf('{')==0){ // sorry about the content sniffing, this is likely a JSON string with alternate clipboard formats - if(dataToPaste.indexOf('text/html')>-1){ - logNode.parentNode.appendChild(document.createElement('br')); - logNode.parentNode.appendChild(document.createTextNode('Note: copy all body text from ')); - var tmp=logNode.parentNode.appendChild(document.createElement('a')); - tmp.href='support/html_file.htm'; - tmp.appendChild(document.createTextNode('this support file')); - logNode.parentNode.appendChild(document.createTextNode(' for this test.')); - } - } - } - if(typeof triggerTestManually==='function'){ - /* Tests that require user interaction define a "triggerTestManually()" function. - These are for example tests that rely on trusted events. */ - logNode.parentNode.appendChild(document.createTextNode(' ')); - var btn=logNode.parentNode.appendChild(document.createElement('button')) - btn.type='button'; - btn.onclick=function(){ - triggerTestManually(event); - btn.parentNode.removeChild(btn); - } - btn.appendChild(document.createTextNode(' Click here to run test: ')); - }else{ - logNode.data+='Test in progress, waiting for '+event+' event'; - } - if(typeof onTestSetupReady==='function'){ - onTestSetupReady(event); - } + if(dataToPaste.indexOf('{')==0){ // sorry about the content sniffing, this is likely a JSON string with alternate clipboard formats + if(dataToPaste.indexOf('text/html')>-1){ + logNode.parentNode.appendChild(document.createElement('br')); + logNode.parentNode.appendChild(document.createTextNode('Note: copy all body text from ')); + var tmp=logNode.parentNode.appendChild(document.createElement('a')); + tmp.href='support/html_file.htm'; + tmp.appendChild(document.createTextNode('this support file')); + logNode.parentNode.appendChild(document.createTextNode(' for this test.')); + } + } + } + if(typeof triggerTestManually==='function'){ + /* Tests that require user interaction define a "triggerTestManually()" function. + These are for example tests that rely on trusted events. */ + logNode.parentNode.appendChild(document.createTextNode(' ')); + var btn = logNode.parentNode.appendChild(document.createElement('button')) + btn.type = 'button'; + btn.onclick = t.func_step(function(){ + triggerTestManually(event); + btn.parentNode.removeChild(btn); + }); + btn.appendChild(document.createTextNode(' Click here to run test: ')); + }else{ + logNode.data+='Test in progress, waiting for '+event+' event'; + } + if(typeof onTestSetupReady==='function'){ + onTestSetupReady(event); + } function intermediateListener(e){ e=e||window.event; @@ -68,24 +68,28 @@ function setupTest( target, event, dataToPaste, externalPassCondition ){ } function result(testResult, msg){ - var logNode=document.getElementsByTagName('p')[0].firstChild; - if( testResult === true || testResult === false ){ - t.step(function(){assert_true(testResult)}); - t.done(); - logNode.data= ''; // testResult ? 'PASSED' : 'FAILED'; - }else if( typeof testResult ==='string' ){ - logNode.data=testResult; - }else if( typeof externalPassCondition==='string' ){ - logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; - var btn = document.getElementById('log').appendChild(document.createElement('button')); - btn.onclick = function(){result(true)}; - btn.textContent = 'Passed!'; - btn.type='button'; - btn = document.getElementById('log').appendChild(document.createElement('button')); - btn.onclick = function(){result(false)}; - btn.textContent = 'Failed!'; - btn.type='button'; - } + var logNode=document.getElementsByTagName('p')[0].firstChild; + if( testResult === true || testResult === false ){ + t.step(function(){assert_true(testResult)}); + t.done(); + logNode.data= ''; + }else if( typeof testResult === 'function' ){ + t.step(testResult); + t.done(); + logNode.data= ''; + }else if( typeof testResult ==='string' ){ + logNode.data=testResult; + }else if( typeof externalPassCondition==='string' ){ + logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; + var btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(true)}; + btn.textContent = 'Passed!'; + btn.type='button'; + btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(false)}; + btn.textContent = 'Failed!'; + btn.type='button'; + } if( msg )logNode.data+='\n'+msg; /* another return value - or no return - from test() indicates that it is asyncronous and will call testResult() from a timeout or something */ diff --git a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html index bf2cb07721e230..298868763e0523 100644 --- a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html +++ b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html index f11a0f2f0d2911..dcadc83346c924 100644 --- a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html +++ b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html @@ -24,11 +24,11 @@
diff --git a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html index c6153ee0db5e21..8291cf245b1ccd 100644 --- a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html +++ b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html @@ -24,11 +24,11 @@
From f4c152187a60280f02a5baf21628c3cd757702f1 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 17:58:59 +0200 Subject: [PATCH 27/42] small fixes for better testharness.js integration --- ...yncronous_copy_on_iframecontentwindow.html | 22 +++++++++---------- ...syncronous_cut_on_iframecontentwindow.html | 22 +++++++++---------- ...ncronous_paste_on_iframecontentwindow.html | 22 +++++++++---------- 3 files changed, 30 insertions(+), 36 deletions(-) diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index a08675d3f233d0..bef26244fad1d1 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -12,7 +12,8 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + /* the event is syncronous, must not run after the execCommand call is finished */ + assert_false(window.afterExecCommand); } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. @@ -29,17 +30,14 @@ } } function triggerTestManually(eventType){ - try{ - var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; - if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('iframe'); + window.afterExecCommand=false; + /* This triggers the event listener, which asserts false */ + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; + result(function(){ + assert_true(execSucceeded, 'document.execCommand() should succeed and return true'); + }); } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 615585903a8650..99c2a199bd18cc 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -12,7 +12,8 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + /* the event is syncronous, must not run after the execCommand call is finished */ + assert_false(window.afterExecCommand); } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. @@ -29,17 +30,14 @@ } } function triggerTestManually(eventType){ - try{ - var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; - if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('iframe'); + window.afterExecCommand=false; + /* This triggers the event listener, which asserts false */ + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; + result(function(){ + assert_true(execSucceeded, 'document.execCommand() should succeed and return true'); + }); } diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html index 23d3ab93588e3b..9cf53d8f2074c0 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html @@ -12,7 +12,8 @@ /* Targets: 'iframe.contentWindow' */ /* This assertation is based on Gecko's implementation. */ function clipboard_api_test(e){ - return window.afterExecCommand===false; /* the event is syncronous, must not run after the execCommand call is finished */ + /* the event is syncronous, must not run after the execCommand call is finished */ + assert_false(window.afterExecCommand); } function onTestSetupReady( eventType ){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. @@ -29,17 +30,14 @@ } } function triggerTestManually(eventType){ - try{ - var ifr=document.getElementById('iframe'); - window.afterExecCommand=false; - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); - window.afterExecCommand=true; - if(!execSucceeded){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: tester may have to enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('iframe'); + window.afterExecCommand=false; + /* This triggers the event listener, which asserts false */ + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + window.afterExecCommand=true; + result(function(){ + assert_true(execSucceeded, 'document.execCommand() should succeed and return true'); + }); } From 2586cc754d91c9c4e16fa907e477c1eb91e0f8d6 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 18:00:48 +0200 Subject: [PATCH 28/42] removed two tests expecting execCommand(paste) to work --- ...ault_action_paste_on_ifrcontentwindow.html | 49 --------------- ...ncronous_paste_on_iframecontentwindow.html | 59 ------------------- 2 files changed, 108 deletions(-) delete mode 100644 clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html delete mode 100644 clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html deleted file mode 100644 index d0db86fc0ae624..00000000000000 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html deleted file mode 100644 index 9cf53d8f2074c0..00000000000000 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_paste_on_iframecontentwindow.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - ClipboardEvent - integration with execCommand, events are syncronous - paste on 'iframe.contentWindow' - - - - - - - -

FAILED (This TC requires JavaScript enabled)

- -
- - From fb90652ee3c705a283a349201772ff95406fa167 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 18:13:34 +0200 Subject: [PATCH 29/42] various testharness.js integration fixes and test errata --- ...event_handler_method_copy_on_document.html | 1 + ..._event_handler_method_cut_on_document.html | 1 + ...vent_handler_method_paste_on_document.html | 1 + ...fault_action_copy_on_ifrcontentwindow.html | 29 ++++++----- ...efault_action_cut_on_ifrcontentwindow.html | 29 ++++++----- ...ault_action_paste_on_ifrcontentwindow.html | 49 +++++++++++++++++++ ...yncronous_copy_on_iframecontentwindow.html | 17 ++++--- ...syncronous_cut_on_iframecontentwindow.html | 17 ++++--- ...event_handler_method_copy_on_document.html | 1 + ..._event_handler_method_cut_on_document.html | 1 + ...vent_handler_method_paste_on_document.html | 1 + ...event_handler_method_copy_on_document.html | 1 + ..._event_handler_method_cut_on_document.html | 1 + ...vent_handler_method_paste_on_document.html | 1 + 14 files changed, 104 insertions(+), 46 deletions(-) create mode 100644 clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index 79b9a908fddafa..751894b7f736ad 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.clearData(); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index 2d7dcaa967617d..30685ff6bb439a 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.clearData(); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index 1c9e9e456520ba..4eed6a9bf747c8 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.clearData(); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index 93e4d36d0b6e84..074cc757d1de34 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -19,21 +19,20 @@ function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - ifr.contentDocument.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - doc.body.innerHTML='

This is filler text

'; - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().addRange(range); - try{ - doc.execCommand(window.eventType, false, false); - // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().removeAllRanges(); + doc.defaultView.getSelection().addRange(range); + var returnValue = doc.execCommand(window.eventType, false, false); + /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ + assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); + /* This assertation is especially relevant for 'cut' */ + assert_equals(doc.getElementsByTagName('p')[0].firstChild.textContent, 'Frame contents'); } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 1fe2b8d48f356a..76cacc490816e2 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -19,21 +19,20 @@ function triggerTestManually(){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. - var ifr=document.getElementById('ifr'); - var doc=ifr.contentDocument; - doc.designMode='on'; - ifr.contentDocument.body.innerHTML='

Frame contents

'; - ifr.contentWindow.focus(); - doc.body.innerHTML='

This is filler text

'; - var range=doc.createRange(); - range.selectNodeContents(doc.getElementsByTagName('p')[0]); - doc.defaultView.getSelection().addRange(range); - try{ - doc.execCommand(window.eventType, false, false); - // result(doc.body.innerHTML=='

This is filler text

'); // sorry, pass condition here is external - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + var ifr=document.getElementById('ifr'); + var doc=ifr.contentDocument; + doc.designMode='on'; + doc.body.innerHTML='

Frame contents

'; + ifr.contentWindow.focus(); + var range=doc.createRange(); + range.selectNodeContents(doc.getElementsByTagName('p')[0]); + doc.defaultView.getSelection().removeAllRanges(); + doc.defaultView.getSelection().addRange(range); + var returnValue = doc.execCommand(window.eventType, false, false); + /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ + assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); + /* This assertation is especially relevant for 'cut' */ + assert_equals(doc.getElementsByTagName('p')[0].firstChild.textContent, 'Frame contents'); } diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html new file mode 100644 index 00000000000000..2dbef560005f09 --- /dev/null +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -0,0 +1,49 @@ + + + + ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+

Note: this test is only relevant if scripted paste is allowed

+
+ + diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index bef26244fad1d1..507ba373aaac24 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -7,13 +7,15 @@ diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index 44f0bea3b223f8..2d859b518c96c7 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.items.add( 'Test failed', 'text/plain'); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index 12d6e69697921d..f56b26f1c7e37b 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.items.add( 'Test failed', 'text/plain'); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index 7df57eb7cddbaa..7edb2b9098f565 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.setData('text/plain', 'Test failed'); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index 86f790e5143e69..e2a6f5f11ca311 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.setData('text/plain', 'Test failed'); }, 1 ); + e.preventDefault(); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index ba28e297c7cf3d..3f75581bdfc4fa 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -15,6 +15,7 @@ setTimeout( function(){ cbData.setData('text/plain', 'Test failed'); }, 1 ); + e.preventDefault(); } From b2bb1bf754f6756df82009da66a57362fa463e3e Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 18:17:32 +0200 Subject: [PATCH 30/42] Remove pointless whitespace in front of test titles --- .../cancelling_default_action_basic_test_copy_on_document.html | 2 +- .../cancelling_default_action_basic_test_copy_on_inputtext.html | 2 +- .../cancelling_default_action_basic_test_cut_on_document.html | 2 +- .../cancelling_default_action_basic_test_cut_on_inputtext.html | 2 +- ...s_removal_of_text_from_editable_context_cut_on_document.html | 2 +- ..._removal_of_text_from_editable_context_cut_on_inputtext.html | 2 +- ...ta_called_outside_event_handler_method_copy_on_document.html | 2 +- ...ata_called_outside_event_handler_method_cut_on_document.html | 2 +- ...a_called_outside_event_handler_method_paste_on_document.html | 2 +- ...lowed_by_setdata_in_same_event_handler_copy_on_document.html | 2 +- ...llowed_by_setdata_in_same_event_handler_cut_on_document.html | 2 +- ...eardata_method_is_noop_in_paste_event_paste_on_document.html | 2 +- ...leardata_method_with_texthtml_argument_copy_on_document.html | 2 +- ...cleardata_method_with_texthtml_argument_cut_on_document.html | 2 +- .../cleardata_method_without_arguments_copy_on_document.html | 2 +- .../cleardata_method_without_arguments_cut_on_document.html | 2 +- ...hout_preventing_eventss_default_action_copy_on_document.html | 2 +- ...thout_preventing_eventss_default_action_cut_on_document.html | 2 +- .../clipboard_events_clipboarddata_api_copy_on_document.html | 2 +- .../clipboard_events_clipboarddata_api_cut_on_document.html | 2 +- .../clipboard_events_clipboarddata_api_paste_on_document.html | 2 +- ...ipboard_events_relative_to_key_events_copy_on_inputtext.html | 2 +- ...lipboard_events_relative_to_key_events_cut_on_inputtext.html | 2 +- ...pboard_events_relative_to_key_events_paste_on_inputtext.html | 2 +- ...ventdefault_prevents_clipboard_events_copy_on_inputtext.html | 2 +- ...eventdefault_prevents_clipboard_events_cut_on_inputtext.html | 2 +- ...entdefault_prevents_clipboard_events_paste_on_inputtext.html | 2 +- ..._events_relative_to_other_input_events_cut_on_inputtext.html | 2 +- ...vents_relative_to_other_input_events_paste_on_inputtext.html | 2 +- ...script_uses_both_cleardata_and_setdata_copy_on_document.html | 2 +- ..._script_uses_both_cleardata_and_setdata_cut_on_document.html | 2 +- ...pboard_has_one_single_textplain_entry_paste_on_document.html | 2 +- ...ardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html | 2 +- ...oardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html | 2 +- ...rdevent_and_nonascii_data_i_japanese_paste_on_inputtext.html | 2 +- ...nascii_data_ii_random_unicode_symbols_copy_on_inputtext.html | 2 +- ...onascii_data_ii_random_unicode_symbols_cut_on_inputtext.html | 2 +- .../clipboardevent_events_fire_on_input_copy_on_document.html | 2 +- .../clipboardevent_events_fire_on_input_copy_on_inputtext.html | 2 +- .../clipboardevent_events_fire_on_input_cut_on_document.html | 2 +- .../clipboardevent_events_fire_on_input_cut_on_inputtext.html | 2 +- ...clipboardevent_events_fire_on_textarea_copy_on_document.html | 2 +- ...lipboardevent_events_fire_on_textarea_copy_on_inputtext.html | 2 +- .../clipboardevent_events_fire_on_textarea_cut_on_document.html | 2 +- ...clipboardevent_events_fire_on_textarea_cut_on_inputtext.html | 2 +- ...vents_must_not_affect_system_clipboard_copy_on_document.html | 2 +- ...events_must_not_affect_system_clipboard_cut_on_document.html | 2 +- ...s_with_new_clipboardevent_constructor_paste_on_document.html | 2 +- ...tic_events_with_nonstandard_mime_type_paste_on_document.html | 2 +- ...tml_data_into_contenteditable_element_paste_on_document.html | 2 +- ...es_not_insert_payload_data_into_input_paste_on_document.html | 2 +- ...not_insert_payload_data_into_textarea_paste_on_document.html | 2 +- ...ext_data_into_contenteditable_element_paste_on_document.html | 2 +- ...sert_texthtml_payload_data_into_input_paste_on_document.html | 2 +- .../copy_event_does_not_modify_selection_copy_on_document.html | 2 +- .../copy_event_does_not_modify_selection_copy_on_inputtext.html | 2 +- ...ent_target_property_selection_in_input_copy_on_document.html | 2 +- ...vent_target_property_selection_in_input_cut_on_document.html | 2 +- ...nt_target_property_selection_in_input_paste_on_document.html | 2 +- ...s_no_selection_and_script_uses_setdata_copy_on_document.html | 2 +- ...is_no_selection_and_script_uses_setdata_cut_on_document.html | 2 +- ...eration_does_not_dispatch_other_events_copy_on_document.html | 2 +- ...ration_does_not_dispatch_other_events_copy_on_inputtext.html | 2 +- clipboard-apis/cut_collapses_selection_cut_on_inputtext.html | 2 +- .../cut_fires_before_text_is_removed_cut_on_document.html | 2 +- .../cut_fires_before_text_is_removed_cut_on_inputtext.html | 2 +- ...n_there_is_no_selection_no_text_change_copy_on_document.html | 2 +- ...ent_when_there_is_no_selection_is_noop_copy_on_document.html | 2 +- ...vent_when_there_is_no_selection_is_noop_cut_on_document.html | 2 +- .../event_listener_that_modifies_focus_copy_on_inputtext.html | 2 +- .../event_listener_that_modifies_focus_cut_on_inputtext.html | 2 +- .../event_listener_that_modifies_focus_paste_on_inputtext.html | 2 +- ...event_listener_that_modifies_selection_copy_on_document.html | 2 +- ...et_property_selection_in_document_text_copy_on_document.html | 2 +- ...get_property_selection_in_document_text_cut_on_document.html | 2 +- ...t_property_selection_in_document_text_paste_on_document.html | 2 +- ...cused_element_has_no_text_node_inside_paste_on_document.html | 2 +- ...cused_element_has_no_text_node_inside_paste_on_inputimg.html | 2 +- ...get_when_no_specific_element_has_focus_copy_on_document.html | 2 +- ...rget_when_no_specific_element_has_focus_cut_on_document.html | 2 +- ...et_when_no_specific_element_has_focus_paste_on_document.html | 2 +- ..._target_when_selection_spans_several_elements_copy_on_a.html | 2 +- ..._target_when_selection_spans_several_elements_copy_on_b.html | 2 +- ..._when_selection_spans_several_elements_copy_on_document.html | 2 +- ...t_target_when_selection_spans_several_elements_cut_on_a.html | 2 +- ...t_target_when_selection_spans_several_elements_cut_on_b.html | 2 +- ...t_when_selection_spans_several_elements_cut_on_document.html | 2 +- ...target_when_selection_spans_several_elements_paste_on_a.html | 2 +- ...target_when_selection_spans_several_elements_paste_on_b.html | 2 +- ...when_selection_spans_several_elements_paste_on_document.html | 2 +- ...ion_spans_several_elements_reversed_selection_copy_on_a.html | 2 +- ...ion_spans_several_elements_reversed_selection_copy_on_b.html | 2 +- ...ns_several_elements_reversed_selection_copy_on_document.html | 2 +- ...tion_spans_several_elements_reversed_selection_cut_on_a.html | 2 +- ...tion_spans_several_elements_reversed_selection_cut_on_b.html | 2 +- ...ans_several_elements_reversed_selection_cut_on_document.html | 2 +- ...on_spans_several_elements_reversed_selection_paste_on_a.html | 2 +- ...on_spans_several_elements_reversed_selection_paste_on_b.html | 2 +- ...s_several_elements_reversed_selection_paste_on_document.html | 2 +- ..._exists_and_inherits_from_datatransfer_copy_on_document.html | 2 +- ...a_exists_and_inherits_from_datatransfer_cut_on_document.html | 2 +- ...exists_and_inherits_from_datatransfer_paste_on_document.html | 2 +- ...vents_fire_inside_editable_svg_content_copy_on_document.html | 2 +- ...events_fire_inside_editable_svg_content_copy_on_svgtext.html | 2 +- ...events_fire_inside_editable_svg_content_cut_on_document.html | 2 +- .../events_fire_inside_editable_svg_content_cut_on_svgtext.html | 2 +- ...ents_fire_inside_editable_svg_content_paste_on_document.html | 2 +- ...vents_fire_inside_editable_svg_content_paste_on_svgtext.html | 2 +- .../events_fire_inside_svg_content_copy_on_document.html | 2 +- .../events_fire_inside_svg_content_copy_on_svgtext.html | 2 +- .../events_fire_inside_svg_content_cut_on_document.html | 2 +- .../events_fire_inside_svg_content_cut_on_svgtext.html | 2 +- ..._inside_svg_content_in_contenteditable_copy_on_document.html | 2 +- ...e_inside_svg_content_in_contenteditable_copy_on_svgtext.html | 2 +- ...e_inside_svg_content_in_contenteditable_cut_on_document.html | 2 +- ...re_inside_svg_content_in_contenteditable_cut_on_svgtext.html | 2 +- ...inside_svg_content_in_contenteditable_paste_on_document.html | 2 +- ..._inside_svg_content_in_contenteditable_paste_on_svgtext.html | 2 +- .../events_fire_inside_svg_content_paste_on_document.html | 2 +- .../events_fire_inside_svg_content_paste_on_svgtext.html | 2 +- clipboard-apis/events_fire_on_input_paste_on_document.html | 2 +- clipboard-apis/events_fire_on_input_paste_on_inputtext.html | 2 +- clipboard-apis/events_fire_on_textarea_paste_on_document.html | 2 +- clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html | 2 +- ...y_events_should_return_an_empty_string_copy_on_document.html | 2 +- ...py_events_should_return_an_empty_string_cut_on_document.html | 2 +- ..._in_paste_event_retrieving_plain_text_paste_on_document.html | 2 +- ..._method_supports_legacy_text_argument_paste_on_document.html | 2 +- ...handler_should_return_an_empty_string_paste_on_document.html | 2 +- ...pported_should_return_an_empty_string_paste_on_document.html | 2 +- ...method_with_wrong_number_of_arguments_paste_on_document.html | 2 +- ...hods_type_argument_not_case_sensitive_paste_on_document.html | 2 +- .../getdata_supports_legacy_url_argument_paste_on_document.html | 2 +- ...pboard_has_one_single_textplain_entry_paste_on_document.html | 2 +- ...and_can_prevent_default_action_copy_on_ifrcontentwindow.html | 2 +- ...mand_can_prevent_default_action_cut_on_ifrcontentwindow.html | 2 +- ...nd_can_prevent_default_action_paste_on_ifrcontentwindow.html | 2 +- ...mmand_events_are_syncronous_copy_on_iframecontentwindow.html | 2 +- ...ommand_events_are_syncronous_cut_on_iframecontentwindow.html | 2 +- ...dd_called_outside_event_handler_method_copy_on_document.html | 2 +- ...add_called_outside_event_handler_method_cut_on_document.html | 2 +- ...d_called_outside_event_handler_method_paste_on_document.html | 2 +- ..._in_noneditable_context_with_selection_copy_on_document.html | 2 +- ...t_in_noneditable_context_with_selection_cut_on_document.html | 2 +- ...t_action_for_cut_in_noneditable_context_cut_on_document.html | 2 +- ...e_event_fires_before_data_is_inserted_paste_on_document.html | 2 +- ..._event_fires_before_data_is_inserted_paste_on_inputtext.html | 2 +- ...ent_fires_even_in_noneditable_context_paste_on_document.html | 2 +- .../pasting_a_file_of_unknown_type_paste_on_document.html | 2 +- clipboard-apis/pasting_a_file_paste_on_document.html | 2 +- clipboard-apis/preventing_default_action_paste_on_document.html | 2 +- .../preventing_default_action_paste_on_inputtext.html | 2 +- ...ng_clipboard_data_from_looping_script_paste_on_document.html | 2 +- .../setdata_and_clipboarddataitems_copy_on_document.html | 2 +- .../setdata_and_clipboarddataitems_cut_on_document.html | 2 +- ...ta_called_outside_event_handler_method_copy_on_document.html | 2 +- ...ata_called_outside_event_handler_method_cut_on_document.html | 2 +- ...a_called_outside_event_handler_method_paste_on_document.html | 2 +- ...about_to_be_inserted_in_a_paste_event_paste_on_document.html | 2 +- ...board_when_called_from_a_paste_event_paste_on_inputtext.html | 2 +- ...wed_by_cleardata_in_same_event_handler_copy_on_document.html | 2 +- ...owed_by_cleardata_in_same_event_handler_cut_on_document.html | 2 +- ...s_no_effect_when_default_action_is_noop_cut_on_document.html | 2 +- clipboard-apis/setdata_method_copy_on_document.html | 2 +- clipboard-apis/setdata_method_cut_on_document.html | 2 +- ..._implementation_does_not_know_the_type_copy_on_document.html | 2 +- ...n_implementation_does_not_know_the_type_cut_on_document.html | 2 +- ...data_method_with_texthtml_experimental_copy_on_document.html | 2 +- ...tdata_method_with_texthtml_experimental_cut_on_document.html | 2 +- ...hout_preventing_eventss_default_action_copy_on_document.html | 2 +- ...thout_preventing_eventss_default_action_cut_on_document.html | 2 +- ...py_ui_that_would_otherwise_be_disabled_copy_on_document.html | 2 +- ...cut_ui_that_would_otherwise_be_disabled_cut_on_document.html | 2 +- ...e_ui_that_would_otherwise_be_disabled_paste_on_document.html | 2 +- 174 files changed, 174 insertions(+), 174 deletions(-) diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html index 24d29d9936982a..61d3b78e7090f7 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action, basic test - copy on document + Clipboard API - cancelling default action, basic test - copy on document diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html index e9fb5569fde84b..6de3dd0fcbfeae 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action, basic test - copy on 'input_text' + Clipboard API - cancelling default action, basic test - copy on 'input_text' diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html index ade39a8a77cb14..7aa369a2e15fbd 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action, basic test - cut on document + Clipboard API - cancelling default action, basic test - cut on document diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html index 117305d5f5a674..9c681427879131 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action, basic test - cut on 'input_text' + Clipboard API - cancelling default action, basic test - cut on 'input_text' diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html index e27e975f62ccfd..3154b13336f25c 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on document + Clipboard API - cancelling default action of cut prevents removal of text from editable context - cut on document diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html index 69b2075bd68f57..77fe3997d172db 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cancelling default action of cut prevents removal of text from editable context - cut on 'input_text' + Clipboard API - cancelling default action of cut prevents removal of text from editable context - cut on 'input_text' diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index 751894b7f736ad..b29dfaeb3118c7 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() called outside event handler method - copy on document + Clipboard API - clearData() called outside event handler method - copy on document diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index 30685ff6bb439a..4f7f4d6b6fa39e 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() called outside event handler method - cut on document + Clipboard API - clearData() called outside event handler method - cut on document diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index 4eed6a9bf747c8..473feeb1beb0c7 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() called outside event handler method - paste on document + Clipboard API - clearData() called outside event handler method - paste on document diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html index d9acf800d839e2..1aed2d2341f240 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() followed by setData() in same event handler - copy on document + Clipboard API - clearData() followed by setData() in same event handler - copy on document diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html index 630e6e57aa4883..c72377ec501748 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() followed by setData() in same event handler - cut on document + Clipboard API - clearData() followed by setData() in same event handler - cut on document diff --git a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html index d06e980dae7dbf..d0d81deb8da519 100644 --- a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html +++ b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method is noop in paste event - paste on document + Clipboard API - clearData() method is noop in paste event - paste on document diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html index 2a146b057ea0ff..fb40c9f94da324 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method with text/html argument - copy on document + Clipboard API - clearData() method with text/html argument - copy on document diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html index 00e00f8d73e2e4..183eb8d82b77d5 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method with text/html argument - cut on document + Clipboard API - clearData() method with text/html argument - cut on document diff --git a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html index 2415b5224ff7a0..b6e9b47d0b3924 100644 --- a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method without arguments - copy on document + Clipboard API - clearData() method without arguments - copy on document diff --git a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html index 370b20a0b17a6e..7a45b0e31f6b8e 100644 --- a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method without arguments - cut on document + Clipboard API - clearData() method without arguments - cut on document diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html index 554b9fb85e15c9..341d977c5e669c 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method without preventing events's default action - copy on document + Clipboard API - clearData() method without preventing events's default action - copy on document diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html index 8721664ba4b752..94f0c793f907ee 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clearData() method without preventing events's default action - cut on document + Clipboard API - clearData() method without preventing events's default action - cut on document diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html index 26a90c166969b3..a877d6e62024df 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Clipboard event's clipboardData API - copy on document + Clipboard API - Clipboard event's clipboardData API - copy on document diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html index 5c14f289d23905..8258db363c0016 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Clipboard event's clipboardData API - cut on document + Clipboard API - Clipboard event's clipboardData API - cut on document diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html index 6e8675d957d8f1..48a80d34c1c5ac 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Clipboard event's clipboardData API - paste on document + Clipboard API - Clipboard event's clipboardData API - paste on document diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html index f6f76ae5dc1b62..65289d1ea5c830 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - copy on 'input_text' + Clipboard API - clipboard events relative to key events - copy on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html index 6bc60943426bcd..9de6fbcc464c1a 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - cut on 'input_text' + Clipboard API - clipboard events relative to key events - cut on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html index 4e559e23b267ee..16ad2da3402acb 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - paste on 'input_text' + Clipboard API - clipboard events relative to key events - paste on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html index ead5b50675e5ba..aef238bedbb90c 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - copy on 'input_text' + Clipboard API - clipboard events relative to key events - preventDefault prevents clipboard events - copy on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html index 4a401535145c35..9fbdd9fc1f9404 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - cut on 'input_text' + Clipboard API - clipboard events relative to key events - preventDefault prevents clipboard events - cut on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html index ef3874fbbb226f..579fd8b7ddbf84 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to key events - preventDefault prevents clipboard events - paste on 'input_text' + Clipboard API - clipboard events relative to key events - preventDefault prevents clipboard events - paste on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html index 9fff3123e504dd..4ca64149f8a519 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to other input events - cut on 'input_text' + Clipboard API - clipboard events relative to other input events - cut on 'input_text' diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html index 58219c3b8def05..f96781d2d187de 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard events relative to other input events - paste on 'input_text' + Clipboard API - clipboard events relative to other input events - paste on 'input_text' diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html index e9fe04b98e23e5..4c1e977de466ad 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard modification when script uses both clearData() and setData() - copy on document + Clipboard API - clipboard modification when script uses both clearData() and setData() - copy on document diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html index 3df8a46844efab..b943cbea70ab4b 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboard modification when script uses both clearData() and setData() - cut on document + Clipboard API - clipboard modification when script uses both clearData() and setData() - cut on document diff --git a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index 6f3394e9621a07..e345c0e542a74c 100644 --- a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - clipboardData.items when clipboard has one single text/plain entry - paste on document + Clipboard API - clipboardData.items when clipboard has one single text/plain entry - paste on document diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html index 3306de622210c0..d14011472443b6 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - copy on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data I - Japanese - copy on 'input_text' diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html index 4b34080734f08e..cae778f3c3383e 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - cut on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data I - Japanese - cut on 'input_text' diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html index 6e54175d3c3bf6..f99ebefee7feb4 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data I - Japanese - paste on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data I - Japanese - paste on 'input_text' diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html index 7f5d103a963545..01b6035dbf811c 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - copy on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data II - random Unicode symbols - copy on 'input_text' diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html index 694285ab595092..c2700dbd9115c2 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent and non-ASCII data II - random Unicode symbols - cut on 'input_text' + Clipboard API - ClipboardEvent and non-ASCII data II - random Unicode symbols - cut on 'input_text' diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html index d5e6a2b9819404..9289126fa4313e 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on document + Clipboard API - ClipboardEvent - events fire on INPUT - copy on document diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html index 8112be7e0f9ca7..f091a44c6e7715 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on INPUT - copy on 'input_text' + Clipboard API - ClipboardEvent - events fire on INPUT - copy on 'input_text' diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html index fdbd5cd999cb2e..43bb7168d36dec 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on document + Clipboard API - ClipboardEvent - events fire on INPUT - cut on document diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html index 303b29d488ea7f..58420c3fc2f0e4 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on INPUT - cut on 'input_text' + Clipboard API - ClipboardEvent - events fire on INPUT - cut on 'input_text' diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html index 05dff395a688b6..82b6396d117f3a 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on document + Clipboard API - ClipboardEvent - events fire on TEXTAREA - copy on document diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html index 4ae2d1a1110350..0a602a88fd7624 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - copy on 'input_text' + Clipboard API - ClipboardEvent - events fire on TEXTAREA - copy on 'input_text' diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html index 1877b0fc239857..f48552e6466a00 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on document + Clipboard API - ClipboardEvent - events fire on TEXTAREA - cut on document diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html index 0efbf6228d0e2d..6aabc5f90c435b 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent - events fire on TEXTAREA - cut on 'input_text' + Clipboard API - ClipboardEvent - events fire on TEXTAREA - cut on 'input_text' diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 3b2e2f91ac446e..12193ffd352230 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - copy on document + Clipboard API - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - copy on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index 7ca77ed8bd3a33..ae117a18a1513d 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - cut on document + Clipboard API - ClipboardEvent interface - synthetic copy/cut events must not affect system clipboard - cut on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index 4afe9ac0c452a4..8f065e70cd14db 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic events with new ClipboardEvent constructor - paste on document + Clipboard API - ClipboardEvent interface - synthetic events with new ClipboardEvent constructor - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index fba4845cef09d2..64aac0d03a5efd 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic events with non-standard MIME type - paste on document + Clipboard API - ClipboardEvent interface - synthetic events with non-standard MIME type - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index ea1d060470de73..ac24ffe87d6005 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert HTML data into contentEditable element - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert HTML data into contentEditable element - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html index 1f1a5e956ee684..0e234fd18181c6 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert payload data into INPUT - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert payload data into INPUT - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html index b0e34ce7cf5279..93ae2fbf181cc5 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert payload data into TEXTAREA - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert payload data into TEXTAREA - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html index a10cd22760b49f..87716c2f0b9346 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert plain text data into contentEditable element - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert plain text data into contentEditable element - paste on document diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html index 35ac439688f0ab..da7154c09ff3b3 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT - paste on document + Clipboard API - ClipboardEvent interface - synthetic paste event does not insert text/html payload data into INPUT - paste on document diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html index 1f10a1a5b5fd86..65166cd3001c3e 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event does not modify selection - copy on document + Clipboard API - copy event does not modify selection - copy on document diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html index 1478618abf156a..da1465f15396bf 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event does not modify selection - copy on 'input_text' + Clipboard API - copy event does not modify selection - copy on 'input_text' diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html index e3c6063915b97e..1180fe31cbd556 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event target property - selection in input - copy on document + Clipboard API - copy event target property - selection in input - copy on document diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html index c2c095d218e172..86fa7f627830c3 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event target property - selection in input - cut on document + Clipboard API - copy event target property - selection in input - cut on document diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html index 68b0e2969ebc74..804189c77e1c48 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event target property - selection in input - paste on document + Clipboard API - copy event target property - selection in input - paste on document diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html index 9519c3f15aba9e..0986151cecee94 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event when there is no selection and script uses setData() - copy on document + Clipboard API - copy event when there is no selection and script uses setData() - copy on document diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html index a8570e9f5cc1cb..1fb858ec348442 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy event when there is no selection and script uses setData() - cut on document + Clipboard API - copy event when there is no selection and script uses setData() - cut on document diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html index 738ac8dfa4a4a3..48a7173e27a8ee 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy operation does not dispatch other events - copy on document + Clipboard API - copy operation does not dispatch other events - copy on document diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html index 4fac2b47eeda0e..b54dd5798506f0 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - copy operation does not dispatch other events - copy on 'input_text' + Clipboard API - copy operation does not dispatch other events - copy on 'input_text' diff --git a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html index 5e4696084c6a7e..34f95e47408f97 100644 --- a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html +++ b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cut collapses selection - cut on 'input_text' + Clipboard API - cut collapses selection - cut on 'input_text' diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html index 8c8744b2d3ce5a..c68c47dae43f9f 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - cut fires before text is removed - cut on document + Clipboard API - cut fires before text is removed - cut on document diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html index 8e501642550414..f7774b896c00f6 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - cut fires before text is removed - cut on 'input_text' + Clipboard API - cut fires before text is removed - cut on 'input_text' diff --git a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html index 1193a269e63524..eccb4745598c05 100644 --- a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html +++ b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - default action of cut event when there is no selection - no text change - copy on document + Clipboard API - default action of cut event when there is no selection - no text change - copy on document diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html index 9e2ba1ffe83e64..f7401bef621bb1 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - default action of event when there is no selection is noop - copy on document + Clipboard API - default action of event when there is no selection is noop - copy on document diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html index fb76e7db9c692f..09ba3c83d98f91 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - default action of event when there is no selection is noop - cut on document + Clipboard API - default action of event when there is no selection is noop - cut on document diff --git a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html index 3587234493b1f0..f44714df98d3e2 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - event listener that modifies focus - copy on 'input_text' + Clipboard API - event listener that modifies focus - copy on 'input_text' diff --git a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html index 235dea078f9781..3ed7260e8bc000 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - event listener that modifies focus - cut on 'input_text' + Clipboard API - event listener that modifies focus - cut on 'input_text' diff --git a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html index d45077eadc4820..ea7cb147ba6b7f 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - event listener that modifies focus - paste on 'input_text' + Clipboard API - event listener that modifies focus - paste on 'input_text' diff --git a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html index ae80603ea5de57..d43c47610fafa3 100644 --- a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html +++ b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event listener that modifies selection - copy on document + Clipboard API - event listener that modifies selection - copy on document diff --git a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html index 22bc4f728face9..f1c0e830989d13 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target property - selection in document text - copy on document + Clipboard API - event target property - selection in document text - copy on document diff --git a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html index 11adbc5ac01b8f..a939ec4993b2c8 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target property - selection in document text - cut on document + Clipboard API - event target property - selection in document text - cut on document diff --git a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html index 29d0f76e0344be..703026fc2c8562 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target property - selection in document text - paste on document + Clipboard API - event target property - selection in document text - paste on document diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html index 25e8bf804edc73..9227d02cb681bc 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when focused element has no text node inside - paste on document + Clipboard API - event target when focused element has no text node inside - paste on document diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html index 079c1b5e846163..7cb1b520ea4103 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when focused element has no text node inside - paste on 'input_img' + Clipboard API - event target when focused element has no text node inside - paste on 'input_img' diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html index 63312b0513e1f6..54c0dfc51641d9 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when no specific element has focus - copy on document + Clipboard API - event target when no specific element has focus - copy on document diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html index a68130429b21c8..6ba975c0652b2e 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when no specific element has focus - cut on document + Clipboard API - event target when no specific element has focus - cut on document diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html index 4dda157e3ca20b..5a6371b33f26f4 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when no specific element has focus - paste on document + Clipboard API - event target when no specific element has focus - paste on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html index e3724dec146b35..b0262f1cf76125 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - copy on 'a' + Clipboard API - event target when selection spans several elements - copy on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html index 79da1d2ee7c700..56caa15b09918f 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - copy on 'b' + Clipboard API - event target when selection spans several elements - copy on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html index 549165f9867ad7..2f11e2eb0ff526 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - copy on document + Clipboard API - event target when selection spans several elements - copy on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html index 476cad481071cf..e2659042f5b699 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - cut on 'a' + Clipboard API - event target when selection spans several elements - cut on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html index 29574777f88fad..6234e6f60ddf5e 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - cut on 'b' + Clipboard API - event target when selection spans several elements - cut on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html index 83f7b2ecec0d55..55a0e18c9c5676 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - cut on document + Clipboard API - event target when selection spans several elements - cut on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html index fad25658d02000..63f983ba784a5d 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - paste on 'a' + Clipboard API - event target when selection spans several elements - paste on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html index f33496616cfa2f..303de4996767e2 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - paste on 'b' + Clipboard API - event target when selection spans several elements - paste on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html index 7067db162925a3..8f5c36b09f2e51 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - paste on document + Clipboard API - event target when selection spans several elements - paste on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html index f70856095e65bb..75f50e296a1084 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'a' + Clipboard API - event target when selection spans several elements - reversed selection - copy on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html index bf78c094a16c81..041d131cf266eb 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - copy on 'b' + Clipboard API - event target when selection spans several elements - reversed selection - copy on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html index c4d0bce3158a21..0e10a24ddf9683 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - copy on document + Clipboard API - event target when selection spans several elements - reversed selection - copy on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html index 30da84e0265976..6833c49ae615fe 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'a' + Clipboard API - event target when selection spans several elements - reversed selection - cut on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html index 7566ffc32a9621..5fb78810adafc8 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - cut on 'b' + Clipboard API - event target when selection spans several elements - reversed selection - cut on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html index 9abe0a5ca1b813..03f8331971e6c4 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - cut on document + Clipboard API - event target when selection spans several elements - reversed selection - cut on document diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html index e9e8cf72df80f3..4cbdddb89f0452 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'a' + Clipboard API - event target when selection spans several elements - reversed selection - paste on 'a' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html index b7b4f4512e0c19..e01c1b02d825b7 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - paste on 'b' + Clipboard API - event target when selection spans several elements - reversed selection - paste on 'b' diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html index 0fdef45e7f71f7..5396fe36180bfc 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event target when selection spans several elements - reversed selection - paste on document + Clipboard API - event target when selection spans several elements - reversed selection - paste on document diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html index 9baaf053cee73f..9b907ddb4e7839 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - copy on document + Clipboard API - event.clipboardData exists and inherits from DataTransfer - copy on document diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html index 5fd7799f04b984..93fc910579752a 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - cut on document + Clipboard API - event.clipboardData exists and inherits from DataTransfer - cut on document diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html index 9a43abc9485b31..083fec1f6aeea5 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - event.clipboardData exists and inherits from DataTransfer - paste on document + Clipboard API - event.clipboardData exists and inherits from DataTransfer - paste on document diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html index f5c576daca62f1..9933a3d51eb1a5 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - copy on document + Clipboard API - events fire inside editable SVG content - copy on document diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html index 167828557efcc3..c770968fbd6402 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - copy on 'svg_text' + Clipboard API - events fire inside editable SVG content - copy on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html index 3bb3229ad8221f..f9301c2e1d1d6c 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - cut on document + Clipboard API - events fire inside editable SVG content - cut on document diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html index 7045c8f6fda986..e3aaa46a70c6af 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - cut on 'svg_text' + Clipboard API - events fire inside editable SVG content - cut on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html index d48437ea789876..72c5a7f0e1896b 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - paste on document + Clipboard API - events fire inside editable SVG content - paste on document diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html index 5bbba9341da34a..50f77cac3c4dc0 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside editable SVG content - paste on 'svg_text' + Clipboard API - events fire inside editable SVG content - paste on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html index 9c5aa3515e0e85..e0833f1e233b3d 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - copy on document + Clipboard API - events fire inside SVG content - copy on document diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html index 709a0319b09995..37bb8fce7ad40b 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - copy on 'svg_text' + Clipboard API - events fire inside SVG content - copy on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html index a16dcf0da9b65d..29d5a0be941c1f 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - cut on document + Clipboard API - events fire inside SVG content - cut on document diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html index a35b9ba2617291..e45a89bde74efd 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - cut on 'svg_text' + Clipboard API - events fire inside SVG content - cut on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html index ab45dc9d672306..60ad116cde88ff 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - copy on document + Clipboard API - events fire inside SVG content in contentEditable - copy on document diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html index c724796f54d2f6..6380fe3c9af6da 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - copy on 'svg_text' + Clipboard API - events fire inside SVG content in contentEditable - copy on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html index ced843c08578d2..3cffd5dfbb625e 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - cut on document + Clipboard API - events fire inside SVG content in contentEditable - cut on document diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html index 30836f2d6c28e6..354ad941600e59 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - cut on 'svg_text' + Clipboard API - events fire inside SVG content in contentEditable - cut on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html index 67f9c8ad5559d1..cb982fb8648e37 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - paste on document + Clipboard API - events fire inside SVG content in contentEditable - paste on document diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html index 1e1c8c79b31ead..ba9702e066fa3a 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content in contentEditable - paste on 'svg_text' + Clipboard API - events fire inside SVG content in contentEditable - paste on 'svg_text' diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html index 95fc1882e2afce..0b555b9c8c3705 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - paste on document + Clipboard API - events fire inside SVG content - paste on document diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html index d659e9c7c650bf..9a8afd3b102c32 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire inside SVG content - paste on 'svg_text' + Clipboard API - events fire inside SVG content - paste on 'svg_text' diff --git a/clipboard-apis/events_fire_on_input_paste_on_document.html b/clipboard-apis/events_fire_on_input_paste_on_document.html index db25122e6ae01a..308b1e2d08dd39 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_document.html +++ b/clipboard-apis/events_fire_on_input_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire on INPUT - paste on document + Clipboard API - events fire on INPUT - paste on document diff --git a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html index 395a300943b475..73818c1cf67297 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire on INPUT - paste on 'input_text' + Clipboard API - events fire on INPUT - paste on 'input_text' diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_document.html b/clipboard-apis/events_fire_on_textarea_paste_on_document.html index ebb46bbec57036..1e00cd401d337d 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_document.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire on TEXTAREA - paste on document + Clipboard API - events fire on TEXTAREA - paste on document diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html index cd115d669a4282..aacc26ec88933e 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - events fire on TEXTAREA - paste on 'input_text' + Clipboard API - events fire on TEXTAREA - paste on 'input_text' diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html index 888b84d887e83b..d23f1a31f48df8 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method in cut and copy events should return an empty string - copy on document + Clipboard API - getData() method in cut and copy events should return an empty string - copy on document diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html index 07572f8ac254c8..536f27f3b51d35 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method in cut and copy events should return an empty string - cut on document + Clipboard API - getData() method in cut and copy events should return an empty string - cut on document diff --git a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html index ace3eb2fbb78f1..78d64c514517b4 100644 --- a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html +++ b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method in paste event retrieving plain text - paste on document + Clipboard API - getData() method in paste event retrieving plain text - paste on document diff --git a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html index 8bfc5ea8de6063..32d40878b125db 100644 --- a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html +++ b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method supports legacy 'text' argument - paste on document + Clipboard API - getData() method supports legacy 'text' argument - paste on document diff --git a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html index fee5d34c6aff90..ccd1bc6c272565 100644 --- a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method when called outside event handler should return an empty string - paste on document + Clipboard API - getData() method when called outside event handler should return an empty string - paste on document diff --git a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html index b975dd068de419..f49c9dfa960a5a 100644 --- a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method when type is unsupported should return an empty string - paste on document + Clipboard API - getData() method when type is unsupported should return an empty string - paste on document diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index 64a8e0fca8b4ab..b2c85211fb22a8 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method with wrong number of arguments - paste on document + Clipboard API - getData() method with wrong number of arguments - paste on document diff --git a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html index e0b5375562dd0c..1d2e31ead7f738 100644 --- a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html +++ b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() method's type argument not case sensitive - paste on document + Clipboard API - getData() method's type argument not case sensitive - paste on document diff --git a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html index 00c2a1a4e1b145..15684daa587d38 100644 --- a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html +++ b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getData() supports legacy 'url' argument - paste on document + Clipboard API - getData() supports legacy 'url' argument - paste on document diff --git a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index c6be5961669446..a8e318f6f1a3f4 100644 --- a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - getting data from clipboardData.items when clipboard has one single text/plain entry - paste on document + Clipboard API - getting data from clipboardData.items when clipboard has one single text/plain entry - paste on document diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index 074cc757d1de34..7e27d9075a9b7f 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, can prevent default action - copy on 'ifr.contentWindow' + Clipboard API - integration with execCommand, can prevent default action - copy on 'ifr.contentWindow' diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 76cacc490816e2..b1ec92f590076d 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, can prevent default action - cut on 'ifr.contentWindow' + Clipboard API - integration with execCommand, can prevent default action - cut on 'ifr.contentWindow' diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index 2dbef560005f09..f1ad4b2ed6ca69 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' + Clipboard API - integration with execCommand, can prevent default action - paste on 'ifr.contentWindow' diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index 507ba373aaac24..a2acc1eca1cebe 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, events are syncronous - copy on 'iframe.contentWindow' + Clipboard API - integration with execCommand, events are syncronous - copy on 'iframe.contentWindow' diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 66033bcab4d5de..abf66225f12c2d 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -1,7 +1,7 @@ - ClipboardEvent - integration with execCommand, events are syncronous - cut on 'iframe.contentWindow' + Clipboard API - integration with execCommand, events are syncronous - cut on 'iframe.contentWindow' diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html index 8dd38773b47cf6..3118c156f45cbc 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - items.add() called outside event handler method - copy on document + Clipboard API - items.add() called outside event handler method - copy on document diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index 2d859b518c96c7..86a75ab999ed76 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - items.add() called outside event handler method - cut on document + Clipboard API - items.add() called outside event handler method - cut on document diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index f56b26f1c7e37b..9ccaeee0679a16 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - items.add() called outside event handler method - paste on document + Clipboard API - items.add() called outside event handler method - paste on document diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html index 052dd9f2b811ad..53ba24a860632a 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - modifying data for cut event in non-editable context with selection - copy on document + Clipboard API - modifying data for cut event in non-editable context with selection - copy on document diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html index 266e7ecf10202a..bd2e90e0dab030 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - modifying data for cut event in non-editable context with selection - cut on document + Clipboard API - modifying data for cut event in non-editable context with selection - cut on document diff --git a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html index 5f7b32dc5df44f..8482ad292fbdd5 100644 --- a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html +++ b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - no default action for cut in non-editable context - cut on document + Clipboard API - no default action for cut in non-editable context - cut on document diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html index 0d280838b595ae..065638684ca8a2 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - paste event fires before data is inserted - paste on document + Clipboard API - paste event fires before data is inserted - paste on document diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html index 6105a390ae45a9..8a551a94dad555 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - paste event fires before data is inserted - paste on 'input_text' + Clipboard API - paste event fires before data is inserted - paste on 'input_text' diff --git a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html index b289a82256aeb0..7f4992a99b3587 100644 --- a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - paste event fires even in non-editable context - paste on document + Clipboard API - paste event fires even in non-editable context - paste on document diff --git a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html index 9bfdf2dcd59a22..00b40b4cf2f5bb 100644 --- a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - pasting a file of unknown type - paste on document + Clipboard API - pasting a file of unknown type - paste on document diff --git a/clipboard-apis/pasting_a_file_paste_on_document.html b/clipboard-apis/pasting_a_file_paste_on_document.html index ca1af777c2b060..4dd6ba7cee6ccf 100644 --- a/clipboard-apis/pasting_a_file_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - pasting a file - paste on document + Clipboard API - pasting a file - paste on document diff --git a/clipboard-apis/preventing_default_action_paste_on_document.html b/clipboard-apis/preventing_default_action_paste_on_document.html index c8e63a794a49ba..efd7d4b9438ec1 100644 --- a/clipboard-apis/preventing_default_action_paste_on_document.html +++ b/clipboard-apis/preventing_default_action_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - preventing default action - paste on document + Clipboard API - preventing default action - paste on document diff --git a/clipboard-apis/preventing_default_action_paste_on_inputtext.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html index a0bbb746713f59..0cc6de4e897147 100644 --- a/clipboard-apis/preventing_default_action_paste_on_inputtext.html +++ b/clipboard-apis/preventing_default_action_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - preventing default action - paste on 'input_text' + Clipboard API - preventing default action - paste on 'input_text' diff --git a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html index f56f3083b62bff..d0da6561874d76 100644 --- a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html +++ b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - reading clipboard data from looping script - paste on document + Clipboard API - reading clipboard data from looping script - paste on document diff --git a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html index c25756c3566126..aceb9957363a3a 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData and clipboardData.items - copy on document + Clipboard API - setData and clipboardData.items - copy on document diff --git a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html index 60733a00ab6e3f..8e2c1efe38ec33 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData and clipboardData.items - cut on document + Clipboard API - setData and clipboardData.items - cut on document diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index 7edb2b9098f565..aaa38c41634cd8 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() called outside event handler method - copy on document + Clipboard API - setData() called outside event handler method - copy on document diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index e2a6f5f11ca311..1e2c1d0de54673 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() called outside event handler method - cut on document + Clipboard API - setData() called outside event handler method - cut on document diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index 3f75581bdfc4fa..0ec69aeeb31b80 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() called outside event handler method - paste on document + Clipboard API - setData() called outside event handler method - paste on document diff --git a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html index db5c80b062d5b2..af1ff5f4a39885 100644 --- a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html +++ b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() does not modify text that is about to be inserted in a paste event - paste on document + Clipboard API - setData() does not modify text that is about to be inserted in a paste event - paste on document diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html index 1ad04175dd066d..f3231c39081b0f 100644 --- a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() doesn't modify text on the clipboard when called from a paste event - paste on 'input_text' + Clipboard API - setData() doesn't modify text on the clipboard when called from a paste event - paste on 'input_text' diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html index b0230c7f1496b9..5bd94ec5bcb830 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() followed by clearData() in same event handler - copy on document + Clipboard API - setData() followed by clearData() in same event handler - copy on document diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html index b56a241c09d9b4..6f0b410291ccfa 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() followed by clearData() in same event handler - cut on document + Clipboard API - setData() followed by clearData() in same event handler - cut on document diff --git a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html index ef668af820393c..2e3f7f58073c2c 100644 --- a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html +++ b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() in cut event without preventDefault() has no effect when default action is noop - cut on document + Clipboard API - setData() in cut event without preventDefault() has no effect when default action is noop - cut on document diff --git a/clipboard-apis/setdata_method_copy_on_document.html b/clipboard-apis/setdata_method_copy_on_document.html index 161bdf669ea20b..b73347b7041878 100644 --- a/clipboard-apis/setdata_method_copy_on_document.html +++ b/clipboard-apis/setdata_method_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method - copy on document + Clipboard API - setData() method - copy on document diff --git a/clipboard-apis/setdata_method_cut_on_document.html b/clipboard-apis/setdata_method_cut_on_document.html index baa40b28925322..f27c9aef5ae2a3 100644 --- a/clipboard-apis/setdata_method_cut_on_document.html +++ b/clipboard-apis/setdata_method_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method - cut on document + Clipboard API - setData() method - cut on document diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html index 457386f489f1e6..f880dce30627f1 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method does not throw when implementation does not know the type - copy on document + Clipboard API - setData() method does not throw when implementation does not know the type - copy on document diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html index b8dfd394e1efa2..47ec292ef7077d 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method does not throw when implementation does not know the type - cut on document + Clipboard API - setData() method does not throw when implementation does not know the type - cut on document diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html index feb15adb88362e..6e18db80ddafb1 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method with text/html (experimental) - copy on document + Clipboard API - setData() method with text/html (experimental) - copy on document diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html index 46f83916ad23ba..2fcc4d0188fd2c 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method with text/html (experimental) - cut on document + Clipboard API - setData() method with text/html (experimental) - cut on document diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html index 4cd929e488ecee..abc5c32a147530 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method without preventing events's default action - copy on document + Clipboard API - setData() method without preventing events's default action - copy on document diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html index 50667c10cc26a4..cd757f7a852438 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - setData() method without preventing events's default action - cut on document + Clipboard API - setData() method without preventing events's default action - cut on document diff --git a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html index 298868763e0523..edada11eedea0f 100644 --- a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html +++ b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Using beforecopy to enable 'copy' UI that would otherwise be disabled - copy on document + Clipboard API - Using beforecopy to enable 'copy' UI that would otherwise be disabled - copy on document diff --git a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html index dcadc83346c924..6d81ec1fd765df 100644 --- a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html +++ b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Using beforecut to enable 'cut' UI that would otherwise be disabled - cut on document + Clipboard API - Using beforecut to enable 'cut' UI that would otherwise be disabled - cut on document diff --git a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html index 8291cf245b1ccd..e93520dedf34ed 100644 --- a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html +++ b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html @@ -1,7 +1,7 @@ - ClipboardEvent - Using beforepaste to enable 'paste' UI that would otherwise be disabled - paste on document + Clipboard API - Using beforepaste to enable 'paste' UI that would otherwise be disabled - paste on document From 4e1be0e7a4407aa3b6665e2ec7a609ca43ad0dd1 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 18:33:36 +0200 Subject: [PATCH 31/42] removing clipboard event constructor config that is not being tested --- ...s_with_new_clipboardevent_constructor_paste_on_document.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index 8f065e70cd14db..d12f6aa79d7ae5 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -14,7 +14,7 @@ } function onTestSetupReady(){ try{ - var evt=new ClipboardEvent( 'paste', { bubbles:true, cancellable: true, dataType: 'text/plain', data:'synthetic event text' } ); + var evt=new ClipboardEvent('paste', {dataType: 'text/plain', data: 'synthetic event text'}); document.dispatchEvent(evt); }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); From 77c7659a46c830be0eb7ebb79c1e277b23fbfd9c Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 19:33:01 +0200 Subject: [PATCH 32/42] spec changed event object construction, tests need fixing --- ...s_must_not_affect_system_clipboard_copy_on_document.html | 6 ++++-- ...ts_must_not_affect_system_clipboard_cut_on_document.html | 6 ++++-- ...th_new_clipboardevent_constructor_paste_on_document.html | 3 ++- ...events_with_nonstandard_mime_type_paste_on_document.html | 3 ++- ...data_into_contenteditable_element_paste_on_document.html | 5 +++-- ...ot_insert_payload_data_into_input_paste_on_document.html | 3 ++- ...insert_payload_data_into_textarea_paste_on_document.html | 3 ++- ...data_into_contenteditable_element_paste_on_document.html | 5 +++-- ..._texthtml_payload_data_into_input_paste_on_document.html | 3 ++- 9 files changed, 24 insertions(+), 13 deletions(-) diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 12193ffd352230..3935073932af65 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -11,10 +11,12 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - + /* The result must be checked externally - i.e. what's on the clipboard.. */ } function onTestSetupReady(type){ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + var evt = new ClipboardEvent(window.eventType); + evt.clipboardData.items.add('synthetic event text', 'text/plain'); + evt.preventDefault(); if(type === 'cut'){ document.body.contentEditable='true'; } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index ae117a18a1513d..73c55f7aec3d6a 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -11,10 +11,12 @@ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ function clipboard_api_test(e){ - + /* The result must be checked externally - i.e. what's on the clipboard.. */ } function onTestSetupReady(type){ - var evt = new ClipboardEvent(window.eventType, {bubbles:true, cancelable:true, dataType: 'text/plain', data:'synthetic event text'}); + var evt = new ClipboardEvent(window.eventType); + evt.clipboardData.items.add('synthetic event text', 'text/plain'); + evt.preventDefault(); if(type === 'cut'){ document.body.contentEditable='true'; } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index d12f6aa79d7ae5..de0fbffabc21e3 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -14,7 +14,8 @@ } function onTestSetupReady(){ try{ - var evt=new ClipboardEvent('paste', {dataType: 'text/plain', data: 'synthetic event text'}); + var evt = new ClipboardEvent('paste') + evt.clipboardData.items.add('synthetic event text', 'text/plain'); document.dispatchEvent(evt); }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index 64aac0d03a5efd..1c85528b46b40a 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -15,7 +15,8 @@ function onTestSetupReady(){ try{ - var evt=new ClipboardEvent( 'paste', {bubbles:true, cancelable:true, dataType: 'text/foobarbogustype', data:'synthetic event text'} ); + var evt = new ClipboardEvent('paste'); + evt.clipboardData.items.add('synthetic event text', 'text/foobarbogustype'); document.dispatchEvent(evt); }catch(e){ result('Unexpected Exception when initiating ClipboardEvent: '+e); diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index ac24ffe87d6005..aae544db9768b7 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -11,9 +11,10 @@ /* paste data: "clipboard text" */ /* Test HTML:

Editable element

diff --git a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html index 6de3dd0fcbfeae..7ca1d7f127a823 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_copy_on_inputtext.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html index 7aa369a2e15fbd..4f04167f81d7e2 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html index 9c681427879131..520210bac4845f 100644 --- a/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_basic_test_cut_on_inputtext.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html index 3154b13336f25c..6503e7baccfa6d 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html index 77fe3997d172db..9a4bdb0fe165c1 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index b29dfaeb3118c7..6d311b4e767f1e 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index 4f7f4d6b6fa39e..568f511918db78 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index 473feeb1beb0c7..be87e0331f3939 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html index 1aed2d2341f240..e8ccff39fb31c2 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_copy_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html index c72377ec501748..7a1cebfef31980 100644 --- a/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/cleardata_followed_by_setdata_in_same_event_handler_cut_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html index d0d81deb8da519..15b21224adb32b 100644 --- a/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html +++ b/clipboard-apis/cleardata_method_is_noop_in_paste_event_paste_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html index fb40c9f94da324..e8dd0948ea75a1 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_copy_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html index 183eb8d82b77d5..d2c94c47904df5 100644 --- a/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html +++ b/clipboard-apis/cleardata_method_with_texthtml_argument_cut_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html index b6e9b47d0b3924..9ae8ec4a4ca59b 100644 --- a/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_copy_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html index 7a45b0e31f6b8e..f59c2444dce925 100644 --- a/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_arguments_cut_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html index 341d977c5e669c..ba30e97bf24f89 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html index 94f0c793f907ee..8eb9083a0ba8a0 100644 --- a/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/cleardata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html index a877d6e62024df..5f790cdb2065a0 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_copy_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html index 8258db363c0016..167ad3f93aa45e 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_cut_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html index 48a80d34c1c5ac..715aadb1a27a60 100644 --- a/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html +++ b/clipboard-apis/clipboard_events_clipboarddata_api_paste_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html index 65289d1ea5c830..4820dd24671c81 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html @@ -19,10 +19,10 @@ document.getElementById('input_text').addEventListener( 'keypress', logEvent, false ); },false); -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj, eventType){ logEvent(e); setTimeout(function(){ - var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; + var passed = eventsFired.join(',') === 'keydown,keydown,'+eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); } @@ -35,12 +35,15 @@

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html index 9de6fbcc464c1a..5406f455d603f0 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html @@ -19,10 +19,10 @@ document.getElementById('input_text').addEventListener( 'keypress', logEvent, false ); },false); -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj, eventType){ logEvent(e); setTimeout(function(){ - var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; + var passed = eventsFired.join(',') === 'keydown,keydown,'+eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); } @@ -35,12 +35,15 @@

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html index 16ad2da3402acb..528f53fa7ee9a7 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html @@ -19,10 +19,10 @@ document.getElementById('input_text').addEventListener( 'keypress', logEvent, false ); },false); -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj, eventType){ logEvent(e); setTimeout(function(){ - var passed = eventsFired.join(',') === 'keydown,keydown,'+window.eventType+',keyup,keyup' ; + var passed = eventsFired.join(',') === 'keydown,keydown,'+eventType+',keyup,keyup' ; result( passed, 'Got: '+eventsFired.join(',') ); }, 500); } @@ -35,12 +35,15 @@

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html index aef238bedbb90c..275d476c328b8b 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html @@ -44,12 +44,15 @@

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html index 9fbdd9fc1f9404..c0ca10e2c25f7d 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html @@ -44,12 +44,15 @@

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html index 579fd8b7ddbf84..6033d13f3a2e6e 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html @@ -44,12 +44,15 @@

Note: please trigger event from keyboard (ctrl+x/c/v) for this test

diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html index 4ca64149f8a519..b2504aa94c462a 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html @@ -42,12 +42,15 @@
diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html index f96781d2d187de..ade2e26cf68fbd 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html @@ -43,12 +43,15 @@
diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html index 4c1e977de466ad..1c1a9ba7eab139 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_copy_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html index b943cbea70ab4b..3e33eba7f9beb0 100644 --- a/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html +++ b/clipboard-apis/clipboard_modification_when_script_uses_both_cleardata_and_setdata_cut_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index e345c0e542a74c..790e6dcf14ebf2 100644 --- a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html index d14011472443b6..d42aa90c1295b1 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_copy_on_inputtext.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html index cae778f3c3383e..0a9421826cdad9 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_cut_on_inputtext.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html index f99ebefee7feb4..e75e4f65c9ccca 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_i_japanese_paste_on_inputtext.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html index 01b6035dbf811c..e2a0e637a75ad0 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_copy_on_inputtext.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html index c2700dbd9115c2..dbaf8c384d34e6 100644 --- a/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_and_nonascii_data_ii_random_unicode_symbols_cut_on_inputtext.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html index 9289126fa4313e..a72e6cb3c81f37 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_document.html @@ -10,8 +10,8 @@ /* Events: copy cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html index f091a44c6e7715..b06bf42e67cd15 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_copy_on_inputtext.html @@ -10,8 +10,8 @@ /* Events: copy cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html index 43bb7168d36dec..6b0ea78d1455c9 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_document.html @@ -10,8 +10,8 @@ /* Events: copy cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html index 58420c3fc2f0e4..407ecac68c083b 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_input_cut_on_inputtext.html @@ -10,8 +10,8 @@ /* Events: copy cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html index 82b6396d117f3a..83371ae686d446 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_document.html @@ -10,8 +10,8 @@ /* Events: copy cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html index 0a602a88fd7624..f4e5ccae8020d3 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_copy_on_inputtext.html @@ -10,8 +10,8 @@ /* Events: copy cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html index f48552e6466a00..6a30e0cbc01f8d 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_document.html @@ -10,8 +10,8 @@ /* Events: copy cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html index 6aabc5f90c435b..fff0011b9fda48 100644 --- a/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html +++ b/clipboard-apis/clipboardevent_events_fire_on_textarea_cut_on_inputtext.html @@ -10,8 +10,8 @@ /* Events: copy cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html index f239f72779e183..a65c06302611d4 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html @@ -14,23 +14,18 @@ e.clipboardData.setData('text/plain', 'modified text'); e.preventDefault(); } -function triggerTestManually(type){ - try{ - if(window.eventType === 'cut'){ - document.body.contentEditable = 'true'; - } - /* make a selection to check if selected text is copied */ - var range = document.createRange(); - range.selectNodeContents(document.body); - window.getSelection().addRange(range); - document.execCommand(type); - window.getSelection().removeAllRanges(); - if(window.eventType ==='cut'){ - document.body.contentEditable='false'; - } - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; +function triggerTestManually(eventType){ + if(eventType === 'cut'){ + document.body.contentEditable = 'true'; + } + /* make a selection to check if selected text is copied */ + var range = document.createRange(); + range.selectNodeContents(document.body); + window.getSelection().addRange(range); + document.execCommand(eventType); + window.getSelection().removeAllRanges(); + if(eventType ==='cut'){ + document.body.contentEditable='false'; } } @@ -44,12 +39,15 @@
diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html index 9c8f9443d05631..368991f5dd2b89 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html @@ -14,17 +14,17 @@ e.clipboardData.setData('text/plain', 'modified text'); e.preventDefault(); } -function triggerTestManually(type){ - if(window.eventType === 'cut'){ +function triggerTestManually(eventType){ + if(eventType === 'cut'){ document.body.contentEditable = 'true'; } /* make a selection to check if selected text is copied */ var range = document.createRange(); range.selectNodeContents(document.body); window.getSelection().addRange(range); - document.execCommand(type); + document.execCommand(eventType); window.getSelection().removeAllRanges(); - if(window.eventType ==='cut'){ + if(eventType ==='cut'){ document.body.contentEditable='false'; } } @@ -39,12 +39,15 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html index 3935073932af65..fd96f81a395f4e 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_copy_on_document.html @@ -13,20 +13,21 @@ function clipboard_api_test(e){ /* The result must be checked externally - i.e. what's on the clipboard.. */ } -function onTestSetupReady(type){ - var evt = new ClipboardEvent(window.eventType); +function onTestSetupReady(eventType){ + var evt = new ClipboardEvent(eventType); evt.clipboardData.items.add('synthetic event text', 'text/plain'); evt.preventDefault(); - if(type === 'cut'){ + if(eventType === 'cut'){ document.body.contentEditable='true'; } /* make a selection to check if selected text is copied by the synthetic event.. */ var range = document.createRange(); range.selectNodeContents(document.body); + window.getSelection().removeAllRanges(); window.getSelection().addRange(range); document.dispatchEvent(evt); window.getSelection().removeAllRanges(); - if(type === 'cut'){ + if(eventType === 'cut'){ document.body.contentEditable = 'false'; } } @@ -41,12 +42,15 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html index 73c55f7aec3d6a..5a2b0ea6d5858a 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_copycut_events_must_not_affect_system_clipboard_cut_on_document.html @@ -13,20 +13,21 @@ function clipboard_api_test(e){ /* The result must be checked externally - i.e. what's on the clipboard.. */ } -function onTestSetupReady(type){ - var evt = new ClipboardEvent(window.eventType); +function onTestSetupReady(eventType){ + var evt = new ClipboardEvent(eventType); evt.clipboardData.items.add('synthetic event text', 'text/plain'); evt.preventDefault(); - if(type === 'cut'){ + if(eventType === 'cut'){ document.body.contentEditable='true'; } /* make a selection to check if selected text is copied by the synthetic event.. */ var range = document.createRange(); range.selectNodeContents(document.body); + window.getSelection().removeAllRanges(); window.getSelection().addRange(range); document.dispatchEvent(evt); window.getSelection().removeAllRanges(); - if(type === 'cut'){ + if(eventType === 'cut'){ document.body.contentEditable = 'false'; } } @@ -41,12 +42,15 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index de0fbffabc21e3..5beae38739045f 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -33,12 +33,15 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index 1c85528b46b40a..245cf127341743 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -34,12 +34,15 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index aae544db9768b7..7497a9085ceb31 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -33,12 +33,15 @@

Editable element

diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html index 0a7e7b55d6705d..b522f53b2f2616 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_input_paste_on_document.html @@ -29,12 +29,15 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html index afafef5eadde49..0811cd55a2595f 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_payload_data_into_textarea_paste_on_document.html @@ -29,12 +29,15 @@
diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html index 2f13387e9e0a15..a16a12d0af7ff2 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_plain_text_data_into_contenteditable_element_paste_on_document.html @@ -33,12 +33,15 @@

Editable element

diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html index f60d70c4d8001b..b22da5453f8a98 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_texthtml_payload_data_into_input_paste_on_document.html @@ -29,12 +29,15 @@
diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html index 65166cd3001c3e..5be34ebf75b925 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html index da1465f15396bf..c00979eb57b5fa 100644 --- a/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html +++ b/clipboard-apis/copy_event_does_not_modify_selection_copy_on_inputtext.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html index 1180fe31cbd556..52995ad6d48dd1 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_copy_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html index 86fa7f627830c3..81890ddcc858c1 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_cut_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html index 804189c77e1c48..7450fd394619bd 100644 --- a/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html +++ b/clipboard-apis/copy_event_target_property_selection_in_input_paste_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html index 0986151cecee94..4738c36d7914ed 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_copy_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html index 1fb858ec348442..39442820fd171a 100644 --- a/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html +++ b/clipboard-apis/copy_event_when_there_is_no_selection_and_script_uses_setdata_cut_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html index 48a7173e27a8ee..5c875d1bffaa8e 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_document.html @@ -29,12 +29,15 @@
diff --git a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html index b54dd5798506f0..ef639e37be6859 100644 --- a/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html +++ b/clipboard-apis/copy_operation_does_not_dispatch_other_events_copy_on_inputtext.html @@ -29,12 +29,15 @@
diff --git a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html index 34f95e47408f97..3bf92c8c71b4b9 100644 --- a/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html +++ b/clipboard-apis/cut_collapses_selection_cut_on_inputtext.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html index c68c47dae43f9f..34cc110eaf15e3 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_document.html @@ -22,12 +22,15 @@
diff --git a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html index f7774b896c00f6..feb6970e00f693 100644 --- a/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html +++ b/clipboard-apis/cut_fires_before_text_is_removed_cut_on_inputtext.html @@ -22,12 +22,15 @@
diff --git a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html index eccb4745598c05..3acb4f0c7b2a22 100644 --- a/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html +++ b/clipboard-apis/default_action_of_cut_event_when_there_is_no_selection_no_text_change_copy_on_document.html @@ -29,12 +29,15 @@
diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html index f7401bef621bb1..e17c6dd5b11306 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_copy_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html index 09ba3c83d98f91..7a04f99f3f057e 100644 --- a/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html +++ b/clipboard-apis/default_action_of_event_when_there_is_no_selection_is_noop_cut_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html index f44714df98d3e2..a0f5f65d52d622 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_copy_on_inputtext.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html index 3ed7260e8bc000..8fd94b52371e14 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_cut_on_inputtext.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html index ea7cb147ba6b7f..f7bf43fcf9b15b 100644 --- a/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html +++ b/clipboard-apis/event_listener_that_modifies_focus_paste_on_inputtext.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html index d43c47610fafa3..7a276297df5d64 100644 --- a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html +++ b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html @@ -28,12 +28,15 @@
This is demo text
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html index f1c0e830989d13..7704f2ee9a266e 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_copy_on_document.html @@ -24,12 +24,15 @@
This text should be selected
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html index a939ec4993b2c8..a6164c6b96b0f9 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_cut_on_document.html @@ -24,12 +24,15 @@
This text should be selected
diff --git a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html index 703026fc2c8562..8a202dca5627a5 100644 --- a/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html +++ b/clipboard-apis/event_target_property_selection_in_document_text_paste_on_document.html @@ -24,12 +24,15 @@
This text should be selected
diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html index 9227d02cb681bc..c713ab8a0f4e55 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html index 7cb1b520ea4103..daecfb7d37ade9 100644 --- a/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html +++ b/clipboard-apis/event_target_when_focused_element_has_no_text_node_inside_paste_on_inputimg.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html index 54c0dfc51641d9..9b582166f452a1 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_copy_on_document.html @@ -24,12 +24,15 @@
This is filler text
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html index 6ba975c0652b2e..03da462eed80d1 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_cut_on_document.html @@ -24,12 +24,15 @@
This is filler text
diff --git a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html index 5a6371b33f26f4..160d7e0fe88bb1 100644 --- a/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html +++ b/clipboard-apis/event_target_when_no_specific_element_has_focus_paste_on_document.html @@ -24,12 +24,15 @@
This is filler text
diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html index b0262f1cf76125..59a93f36c03fa1 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_a.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html index 56caa15b09918f..651009c329ad1b 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_b.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html index 2f11e2eb0ff526..7cc4a867bbfd42 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_copy_on_document.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html index e2659042f5b699..fe570024abddfa 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_a.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html index 6234e6f60ddf5e..26ac7d440f52ea 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_b.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html index 55a0e18c9c5676..78b017d69c7e64 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_cut_on_document.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html index 63f983ba784a5d..1f400b1ef51ceb 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_a.html @@ -25,12 +25,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html index 303de4996767e2..26e8e500d15dae 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_b.html @@ -25,12 +25,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html index 8f5c36b09f2e51..700413f1f4c3d5 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_paste_on_document.html @@ -25,12 +25,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html index 75f50e296a1084..4711d4c4f19db0 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_a.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html index 041d131cf266eb..b251bed7a393a9 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_b.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html index 0e10a24ddf9683..0d59aecf710b8a 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_copy_on_document.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html index 6833c49ae615fe..05fad4bb44a50c 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_a.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html index 5fb78810adafc8..5299196455a5b3 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_b.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html index 03f8331971e6c4..4ea5deeab7d1f8 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_cut_on_document.html @@ -24,12 +24,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html index 4cbdddb89f0452..f16cde0d8c256c 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_a.html @@ -25,12 +25,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html index e01c1b02d825b7..fb91f8ae415ae5 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_b.html @@ -25,12 +25,15 @@

This is filler text

diff --git a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html index 5396fe36180bfc..9d3b687f24c197 100644 --- a/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html +++ b/clipboard-apis/event_target_when_selection_spans_several_elements_reversed_selection_paste_on_document.html @@ -25,12 +25,15 @@

This is filler text

diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html index 9b907ddb4e7839..14130c232f6d9c 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_copy_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html index 93fc910579752a..269a393652e573 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_cut_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html index 083fec1f6aeea5..f26b3db67454d5 100644 --- a/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html +++ b/clipboard-apis/eventclipboarddata_exists_and_inherits_from_datatransfer_paste_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html index 9933a3d51eb1a5..b92c4f0453c369 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_document.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html index c770968fbd6402..046a12cd8dde1b 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_copy_on_svgtext.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html index f9301c2e1d1d6c..fabbe897da3ec7 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_document.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html index e3aaa46a70c6af..240fa3082221ee 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_cut_on_svgtext.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html index 72c5a7f0e1896b..355e6d222d4486 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_document.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html index 50f77cac3c4dc0..44d4530914bb99 100644 --- a/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_editable_svg_content_paste_on_svgtext.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html index e0833f1e233b3d..ae58a3081c5d1a 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_document.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html index 37bb8fce7ad40b..9ad821c488424e 100644 --- a/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_copy_on_svgtext.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html index 29d5a0be941c1f..d95bb738048a66 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_document.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html index e45a89bde74efd..2bf7bdb0f00714 100644 --- a/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_cut_on_svgtext.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html index 60ad116cde88ff..2f3829584ed0a4 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_document.html @@ -23,12 +23,15 @@
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html index 6380fe3c9af6da..63fdd71044e010 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_copy_on_svgtext.html @@ -23,12 +23,15 @@
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html index 3cffd5dfbb625e..e6a219bdcb3754 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_document.html @@ -23,12 +23,15 @@
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html index 354ad941600e59..d8807e70e2814f 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_cut_on_svgtext.html @@ -23,12 +23,15 @@
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html index cb982fb8648e37..61730a2347b5a6 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_document.html @@ -23,12 +23,15 @@
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html index ba9702e066fa3a..f284a8ee9e8cae 100644 --- a/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_in_contenteditable_paste_on_svgtext.html @@ -23,12 +23,15 @@
SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html index 0b555b9c8c3705..1c907be0d66b75 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_document.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html index 9a8afd3b102c32..72b039ad49d33e 100644 --- a/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html +++ b/clipboard-apis/events_fire_inside_svg_content_paste_on_svgtext.html @@ -23,12 +23,15 @@ SVG text
diff --git a/clipboard-apis/events_fire_on_input_paste_on_document.html b/clipboard-apis/events_fire_on_input_paste_on_document.html index 308b1e2d08dd39..93df388c6ff3a9 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_document.html +++ b/clipboard-apis/events_fire_on_input_paste_on_document.html @@ -11,8 +11,8 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html index 73818c1cf67297..7be78a88c466a1 100644 --- a/clipboard-apis/events_fire_on_input_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_input_paste_on_inputtext.html @@ -11,8 +11,8 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_document.html b/clipboard-apis/events_fire_on_textarea_paste_on_document.html index 1e00cd401d337d..703e32cb488344 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_document.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_document.html @@ -11,8 +11,8 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html index aacc26ec88933e..87971b11e42658 100644 --- a/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html +++ b/clipboard-apis/events_fire_on_textarea_paste_on_inputtext.html @@ -11,8 +11,8 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ -function clipboard_api_test(e){ - var passed = e.type === window.eventType; +function clipboard_api_test(e, test_obj, eventType){ + var passed = e.type === eventType; passed = passed && e.target.id==='input_text'; return passed; } @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html index d23f1a31f48df8..fec4d5ebfa5a7d 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_copy_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html index 536f27f3b51d35..583fd61c8b225b 100644 --- a/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html +++ b/clipboard-apis/getdata_method_in_cut_and_copy_events_should_return_an_empty_string_cut_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html index 78d64c514517b4..193586fd4cd593 100644 --- a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html +++ b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html index 32d40878b125db..2ad0b50de5fe87 100644 --- a/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html +++ b/clipboard-apis/getdata_method_supports_legacy_text_argument_paste_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html index ccd1bc6c272565..0a3b7066fca208 100644 --- a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html index f49c9dfa960a5a..2eae84f1ba4631 100644 --- a/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_type_is_unsupported_should_return_an_empty_string_paste_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index b2c85211fb22a8..bf935880a73905 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -32,12 +32,15 @@
diff --git a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html index 1d2e31ead7f738..b0e4cc2a41fa78 100644 --- a/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html +++ b/clipboard-apis/getdata_methods_type_argument_not_case_sensitive_paste_on_document.html @@ -31,12 +31,15 @@
diff --git a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html index 15684daa587d38..bcf6fc2df28bd1 100644 --- a/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html +++ b/clipboard-apis/getdata_supports_legacy_url_argument_paste_on_document.html @@ -30,12 +30,15 @@
diff --git a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index a8e318f6f1a3f4..43d28b044b150d 100644 --- a/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/getting_data_from_clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index 7e27d9075a9b7f..e19304bcd4152e 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -17,7 +17,7 @@ e.preventDefault(); } -function triggerTestManually(){ +function triggerTestManually(eventType){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. var ifr=document.getElementById('ifr'); var doc=ifr.contentDocument; @@ -28,7 +28,7 @@ range.selectNodeContents(doc.getElementsByTagName('p')[0]); doc.defaultView.getSelection().removeAllRanges(); doc.defaultView.getSelection().addRange(range); - var returnValue = doc.execCommand(window.eventType, false, false); + var returnValue = doc.execCommand(eventType, false, false); /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); /* This assertation is especially relevant for 'cut' */ @@ -43,12 +43,15 @@
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index b1ec92f590076d..7117a08d83358d 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -17,7 +17,7 @@ e.preventDefault(); } -function triggerTestManually(){ +function triggerTestManually(eventType){ document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. var ifr=document.getElementById('ifr'); var doc=ifr.contentDocument; @@ -28,7 +28,7 @@ range.selectNodeContents(doc.getElementsByTagName('p')[0]); doc.defaultView.getSelection().removeAllRanges(); doc.defaultView.getSelection().addRange(range); - var returnValue = doc.execCommand(window.eventType, false, false); + var returnValue = doc.execCommand(eventType, false, false); /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); /* This assertation is especially relevant for 'cut' */ @@ -43,12 +43,15 @@
diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index 4b5faafc23c763..78f493542c492d 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -15,12 +15,12 @@ window.eventFired=true; e.preventDefault(); } -function triggerTestManually(){ +function triggerTestManually(eventType){ var ifr=document.getElementById('ifr'); ifr.contentDocument.designMode='on'; ifr.contentWindow.focus(); try{ - ifr.contentDocument.execCommand(window.eventType, false, false); + ifr.contentDocument.execCommand(eventType, false, false); setTimeout(function(){ var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; result(passed); @@ -38,12 +38,15 @@

Note: this test is only relevant if scripted paste is allowed

diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index a2acc1eca1cebe..aaec4da56f223f 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -49,12 +49,15 @@
diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index abf66225f12c2d..d7bcedfe5460b4 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -49,12 +49,15 @@
diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html index c89ae6297cd98d..6d0c1d1cf93333 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html index a010ffca3a5d9a..ce3007e99e6104 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html index 3118c156f45cbc..3cfc76f2b64f27 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index 86a75ab999ed76..01495317e5f3a4 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index 9ccaeee0679a16..5c9d89e94a095f 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html index 53ba24a860632a..67cc4ed8fd4383 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_copy_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html index bd2e90e0dab030..a625fecce22882 100644 --- a/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html +++ b/clipboard-apis/modifying_data_for_cut_event_in_noneditable_context_with_selection_cut_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html index 8482ad292fbdd5..895e3fab9ed722 100644 --- a/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html +++ b/clipboard-apis/no_default_action_for_cut_in_noneditable_context_cut_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html index 065638684ca8a2..7938b6eff5e94a 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_document.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html index 8a551a94dad555..dbbbc0f61bb92e 100644 --- a/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html +++ b/clipboard-apis/paste_event_fires_before_data_is_inserted_paste_on_inputtext.html @@ -24,12 +24,15 @@
diff --git a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html index 6e7fe996f58281..c53ad31d4b7341 100644 --- a/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html +++ b/clipboard-apis/paste_event_fires_even_in_noneditable_context_paste_on_document.html @@ -24,12 +24,15 @@

 

diff --git a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html index 00b40b4cf2f5bb..3c7e93a367ea22 100644 --- a/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_of_unknown_type_paste_on_document.html @@ -28,12 +28,15 @@

To complete this test, copy the "./support/test" file from the OS file manager and paste into this page

diff --git a/clipboard-apis/pasting_a_file_paste_on_document.html b/clipboard-apis/pasting_a_file_paste_on_document.html index 4dd6ba7cee6ccf..7a66e63368e0e3 100644 --- a/clipboard-apis/pasting_a_file_paste_on_document.html +++ b/clipboard-apis/pasting_a_file_paste_on_document.html @@ -28,12 +28,15 @@

To complete this test, copy the './support/image.jpg' file from the OS file manager and paste into this page

 
diff --git a/clipboard-apis/preventing_default_action_paste_on_document.html b/clipboard-apis/preventing_default_action_paste_on_document.html index efd7d4b9438ec1..cdf3c0e1c8bc1b 100644 --- a/clipboard-apis/preventing_default_action_paste_on_document.html +++ b/clipboard-apis/preventing_default_action_paste_on_document.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/preventing_default_action_paste_on_inputtext.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html index 0cc6de4e897147..053a606d761668 100644 --- a/clipboard-apis/preventing_default_action_paste_on_inputtext.html +++ b/clipboard-apis/preventing_default_action_paste_on_inputtext.html @@ -25,12 +25,15 @@
diff --git a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html index d0da6561874d76..b17e50d007f4c2 100644 --- a/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html +++ b/clipboard-apis/reading_clipboard_data_from_looping_script_paste_on_document.html @@ -40,12 +40,15 @@
diff --git a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html index aceb9957363a3a..8ce4f4e91b598c 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html index 8e2c1efe38ec33..3aa2cf2435bbc3 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index aaa38c41634cd8..53a3e9cbb56fe7 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index 1e2c1d0de54673..7da685e66ecb81 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index 0ec69aeeb31b80..3f3c69c1cef23f 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -28,12 +28,15 @@
diff --git a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html index 2a87b1bd0e6d02..d59497c583b77c 100644 --- a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html +++ b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html index 10d7b1dc81a440..3b8eead7a9edc1 100644 --- a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html index 5bd94ec5bcb830..8b3fdadadd8dfa 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_copy_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html index 6f0b410291ccfa..48e6733bc51fbc 100644 --- a/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html +++ b/clipboard-apis/setdata_followed_by_cleardata_in_same_event_handler_cut_on_document.html @@ -27,12 +27,15 @@
diff --git a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html index 2e3f7f58073c2c..a839d16439b8ac 100644 --- a/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html +++ b/clipboard-apis/setdata_in_cut_event_without_preventdefault_has_no_effect_when_default_action_is_noop_cut_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/setdata_method_copy_on_document.html b/clipboard-apis/setdata_method_copy_on_document.html index b73347b7041878..f9a322cbea235e 100644 --- a/clipboard-apis/setdata_method_copy_on_document.html +++ b/clipboard-apis/setdata_method_copy_on_document.html @@ -32,12 +32,15 @@
diff --git a/clipboard-apis/setdata_method_cut_on_document.html b/clipboard-apis/setdata_method_cut_on_document.html index f27c9aef5ae2a3..d8bb1bfbabbd63 100644 --- a/clipboard-apis/setdata_method_cut_on_document.html +++ b/clipboard-apis/setdata_method_cut_on_document.html @@ -32,12 +32,15 @@
diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html index f880dce30627f1..cb8573cff130a2 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html @@ -32,12 +32,15 @@
diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html index 47ec292ef7077d..adcd4b92b6972a 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html @@ -32,12 +32,15 @@
diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html index 6e18db80ddafb1..7a1d51c94e2cdd 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_copy_on_document.html @@ -40,12 +40,15 @@
diff --git a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html index 2fcc4d0188fd2c..a615bbdf5dcf18 100644 --- a/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html +++ b/clipboard-apis/setdata_method_with_texthtml_experimental_cut_on_document.html @@ -40,12 +40,15 @@
diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html index abc5c32a147530..2be22623f7fe94 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_copy_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html index cd757f7a852438..932db121e4a15c 100644 --- a/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html +++ b/clipboard-apis/setdata_method_without_preventing_eventss_default_action_cut_on_document.html @@ -26,12 +26,15 @@
diff --git a/clipboard-apis/support/_lib.js b/clipboard-apis/support/_lib.js index c9dec269645aae..38129fc6094fb0 100644 --- a/clipboard-apis/support/_lib.js +++ b/clipboard-apis/support/_lib.js @@ -1,5 +1,4 @@ -var t = async_test() -function setupTest( target, event, dataToPaste, externalPassCondition ){ +function setupTest(test_obj, target, event, dataToPaste, externalPassCondition ){ var logNode=document.getElementsByTagName('p')[0].firstChild; logNode.data=''; if( typeof target==='string' ){ @@ -36,7 +35,7 @@ function setupTest( target, event, dataToPaste, externalPassCondition ){ logNode.parentNode.appendChild(document.createTextNode(' ')); var btn = logNode.parentNode.appendChild(document.createElement('button')) btn.type = 'button'; - btn.onclick = t.func_step(function(){ + btn.onclick = test_obj.func_step(function(){ triggerTestManually(event); btn.parentNode.removeChild(btn); }); @@ -53,7 +52,7 @@ function setupTest( target, event, dataToPaste, externalPassCondition ){ if(!e.target)e.target=e.srcElement; if(typeof window.clipboardData != 'undefined' && typeof e.clipboardData=='undefined' )e.clipboardData=window.clipboardData; try{ - var testResult=clipboard_api_test(e); + var testResult=clipboard_api_test(e, test_obj, event, dataToPaste, externalPassCondition); result(testResult); }catch(e){ result('exception: '+e); @@ -65,33 +64,36 @@ function setupTest( target, event, dataToPaste, externalPassCondition ){ if(inp.hasAttribute('autofocus'))inp.focus(); } } -} -function result(testResult, msg){ - var logNode=document.getElementsByTagName('p')[0].firstChild; - if( testResult === true || testResult === false ){ - t.step(function(){assert_true(testResult)}); - t.done(); - logNode.data= ''; - }else if( typeof testResult === 'function' ){ - t.step(testResult); - t.done(); - logNode.data= ''; - }else if( typeof testResult ==='string' ){ - logNode.data=testResult; - }else if( typeof externalPassCondition==='string' ){ - logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; - var btn = document.getElementById('log').appendChild(document.createElement('button')); - btn.onclick = function(){result(true)}; - btn.textContent = 'Passed!'; - btn.type='button'; - btn = document.getElementById('log').appendChild(document.createElement('button')); - btn.onclick = function(){result(false)}; - btn.textContent = 'Failed!'; - btn.type='button'; - } - if( msg )logNode.data+='\n'+msg; + function result(testResult, msg){ + var logNode=document.getElementsByTagName('p')[0].firstChild; + if( testResult === true || testResult === false ){ + test_obj.step(function(){assert_true(testResult)}); + test_obj.done(); + logNode.data= ''; + }else if( typeof testResult === 'function' ){ + test_obj.step(testResult); + test_obj.done(); + logNode.data= ''; + }else if( typeof testResult ==='string' ){ + logNode.data=testResult; + test_obj.assert_equals(testResult, ''); + t.done(); + }else if( typeof externalPassCondition==='string' ){ + logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; + var btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(true)}; + btn.textContent = 'Passed!'; + btn.type='button'; + btn = document.getElementById('log').appendChild(document.createElement('button')); + btn.onclick = function(){result(false)}; + btn.textContent = 'Failed!'; + btn.type='button'; + } + if( msg )logNode.data+='\n'+msg; - /* another return value - or no return - from test() indicates that it is asyncronous and will call testResult() from a timeout or something */ + /* another return value - or no return - from test() indicates that it is asyncronous and will call testResult() from a timeout or something */ + } + window.result = result; } diff --git a/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html index f9e24f64a77534..d4f43b36d5a487 100644 --- a/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html +++ b/clipboard-apis/types_property_textplain_in_types_entries_when_there_is_plain_text_on_the_clipboard_paste_on_document.html @@ -29,12 +29,15 @@
diff --git a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html index 317694f69fcf9b..48f28437fc7b77 100644 --- a/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html +++ b/clipboard-apis/using_beforecopy_to_enable_copy_ui_that_would_otherwise_be_disabled_copy_on_document.html @@ -23,12 +23,15 @@

The "copy" menu UI state is enabled on this page even when there is no selection.

diff --git a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html index 58bf513336a868..4194d35a6d449e 100644 --- a/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html +++ b/clipboard-apis/using_beforecut_to_enable_cut_ui_that_would_otherwise_be_disabled_cut_on_document.html @@ -23,12 +23,15 @@

The "cut" menu UI state is enabled on this page even when there is no editable selection.

diff --git a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html index f1747899a24625..8bafb24ab8f491 100644 --- a/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html +++ b/clipboard-apis/using_beforepaste_to_enable_paste_ui_that_would_otherwise_be_disabled_paste_on_document.html @@ -23,12 +23,15 @@

The "paste" menu UI state is enabled on this page even when there is no editable context.

From 6f328238d54ac21984343cb9343030345f77995e Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 21:37:04 +0200 Subject: [PATCH 35/42] use testharness.js step_timeout instead of setTimeout() --- ...from_editable_context_cut_on_document.html | 4 +- ...rom_editable_context_cut_on_inputtext.html | 4 +- ...event_handler_method_copy_on_document.html | 6 +-- ..._event_handler_method_cut_on_document.html | 6 +-- ...vent_handler_method_paste_on_document.html | 6 +-- ...ative_to_key_events_copy_on_inputtext.html | 7 ++-- ...lative_to_key_events_cut_on_inputtext.html | 7 ++-- ...tive_to_key_events_paste_on_inputtext.html | 7 ++-- ...ts_clipboard_events_copy_on_inputtext.html | 19 +++++---- ...nts_clipboard_events_cut_on_inputtext.html | 19 +++++---- ...s_clipboard_events_paste_on_inputtext.html | 19 +++++---- ...o_other_input_events_cut_on_inputtext.html | 13 +++--- ...other_input_events_paste_on_inputtext.html | 8 ++-- ...enteditable_element_paste_on_document.html | 14 +++---- ...oad_data_into_input_paste_on_document.html | 12 +++--- ..._data_into_textarea_paste_on_document.html | 8 ++-- ...enteditable_element_paste_on_document.html | 14 +++---- ...oad_data_into_input_paste_on_document.html | 6 ++- ...not_modify_selection_copy_on_document.html | 4 +- ...ot_modify_selection_copy_on_inputtext.html | 4 +- ...ispatch_other_events_copy_on_document.html | 11 ++--- ...spatch_other_events_copy_on_inputtext.html | 11 ++--- ..._collapses_selection_cut_on_inputtext.html | 4 +- ...ction_no_text_change_copy_on_document.html | 4 +- ...hat_modifies_focus_paste_on_inputtext.html | 13 +++--- ...t_modifies_selection_copy_on_document.html | 2 +- ...trieving_plain_text_paste_on_document.html | 6 +-- ...urn_an_empty_string_paste_on_document.html | 9 ++-- ...number_of_arguments_paste_on_document.html | 2 +- ...ault_action_paste_on_ifrcontentwindow.html | 16 +++---- ...event_handler_method_copy_on_document.html | 4 +- ..._event_handler_method_cut_on_document.html | 4 +- ...vent_handler_method_paste_on_document.html | 4 +- ...ting_default_action_paste_on_document.html | 6 ++- ...ing_default_action_paste_on_inputtext.html | 6 ++- ...event_handler_method_copy_on_document.html | 4 +- ..._event_handler_method_cut_on_document.html | 4 +- ...vent_handler_method_paste_on_document.html | 4 +- ...nt_w_preventdefault_paste_on_document.html | 42 +++++++++++++++++++ ...ed_in_a_paste_event_paste_on_document.html | 10 ++--- ...from_a_paste_event_paste_on_inputtext.html | 4 +- ...t_w_preventdefault_paste_on_inputtext.html | 40 ++++++++++++++++++ clipboard-apis/support/_lib.js | 10 ++--- 43 files changed, 255 insertions(+), 152 deletions(-) create mode 100644 clipboard-apis/setdata_does_not_modify_text_about_to_be_inserted_in_a_paste_event_w_preventdefault_paste_on_document.html create mode 100644 clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_w_preventdefault_paste_on_inputtext.html diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html index 6503e7baccfa6d..c52dbcba0d475b 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_document.html @@ -10,10 +10,10 @@ /* Events: cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ e.preventDefault(); var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); + test_obj.step_timeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); } diff --git a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html index 9a4bdb0fe165c1..f5dad1019cb4b5 100644 --- a/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html +++ b/clipboard-apis/cancelling_default_action_of_cut_prevents_removal_of_text_from_editable_context_cut_on_inputtext.html @@ -10,10 +10,10 @@ /* Events: cut */ /* Test HTML:
*/ /* Targets: document 'input_text' */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ e.preventDefault(); var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); + test_obj.step_timeout( function(){ var passed = theTarget.value === theTarget.defaultValue; result(passed); }, 10 ); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html index 6d311b4e767f1e..be3e54b5622552 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_copy_on_document.html @@ -10,11 +10,11 @@ /* Events: copy cut paste */ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ + test_obj.step_timeout(function(){ cbData.clearData(); - }, 1 ); + }, 1); e.preventDefault(); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html index 568f511918db78..1a692f88ad2b28 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_cut_on_document.html @@ -10,11 +10,11 @@ /* Events: copy cut paste */ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ + test_obj.step_timeout(function(){ cbData.clearData(); - }, 1 ); + }, 1); e.preventDefault(); } diff --git a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html index be87e0331f3939..3dd7fd7b807982 100644 --- a/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/cleardata_called_outside_event_handler_method_paste_on_document.html @@ -10,11 +10,11 @@ /* Events: copy cut paste */ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ + test_obj.step_timeout(function(){ cbData.clearData(); - }, 1 ); + }, 1); e.preventDefault(); } diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html index 4820dd24671c81..403a56574f60ba 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_copy_on_inputtext.html @@ -21,9 +21,10 @@ function clipboard_api_test(e, test_obj, eventType){ logEvent(e); - setTimeout(function(){ - var passed = eventsFired.join(',') === 'keydown,keydown,'+eventType+',keyup,keyup' ; - result( passed, 'Got: '+eventsFired.join(',') ); + test_obj.step_timeout(function(){ + result(function(){ + assert_array_equals(eventsFired, ['keydown','keydown', eventType, 'keyup','keyup'], 'The right events fired in the expected order') + }); }, 500); } diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html index 5406f455d603f0..ea0ef4bfe3ac83 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_cut_on_inputtext.html @@ -21,9 +21,10 @@ function clipboard_api_test(e, test_obj, eventType){ logEvent(e); - setTimeout(function(){ - var passed = eventsFired.join(',') === 'keydown,keydown,'+eventType+',keyup,keyup' ; - result( passed, 'Got: '+eventsFired.join(',') ); + test_obj.step_timeout(function(){ + result(function(){ + assert_array_equals(eventsFired, ['keydown','keydown', eventType, 'keyup','keyup'], 'The right events fired in the expected order') + }); }, 500); } diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html index 528f53fa7ee9a7..5ebc90d8a86151 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_paste_on_inputtext.html @@ -21,9 +21,10 @@ function clipboard_api_test(e, test_obj, eventType){ logEvent(e); - setTimeout(function(){ - var passed = eventsFired.join(',') === 'keydown,keydown,'+eventType+',keyup,keyup' ; - result( passed, 'Got: '+eventsFired.join(',') ); + test_obj.step_timeout(function(){ + result(function(){ + assert_array_equals(eventsFired, ['keydown','keydown', eventType, 'keyup','keyup'], 'The right events fired in the expected order') + }); }, 500); } diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html index 275d476c328b8b..e57800dd5e8211 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_copy_on_inputtext.html @@ -26,14 +26,19 @@ },false); document.onkeyup = function(){ if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + setTimeout( + function(){ + result(function(){ + assert_array_equals(eventsFired, ['keydown','keydown','keyup','keyup']); + }); + } + , 500); } -function clipboard_api_test(e){ - if(e)logEvent(e); - setTimeout(function(){ - var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; - result( passed, 'Got: '+eventsFired.join(',') ); - }, 500); +function clipboard_api_test(e, test_obj){ + if(timeout)clearTimeout(timeout); + result(function(){ + assert_unreached(); + }); } diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html index c0ca10e2c25f7d..a0aaa5eb8b09ae 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_cut_on_inputtext.html @@ -26,14 +26,19 @@ },false); document.onkeyup = function(){ if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + setTimeout( + function(){ + result(function(){ + assert_array_equals(eventsFired, ['keydown','keydown','keyup','keyup']); + }); + } + , 500); } -function clipboard_api_test(e){ - if(e)logEvent(e); - setTimeout(function(){ - var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; - result( passed, 'Got: '+eventsFired.join(',') ); - }, 500); +function clipboard_api_test(e, test_obj){ + if(timeout)clearTimeout(timeout); + result(function(){ + assert_unreached(); + }); } diff --git a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html index 6033d13f3a2e6e..82b064e76479c7 100644 --- a/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_key_events_preventdefault_prevents_clipboard_events_paste_on_inputtext.html @@ -26,14 +26,19 @@ },false); document.onkeyup = function(){ if(timeout)clearTimeout(timeout); - setTimeout(test, 500); + setTimeout( + function(){ + result(function(){ + assert_array_equals(eventsFired, ['keydown','keydown','keyup','keyup']); + }); + } + , 500); } -function clipboard_api_test(e){ - if(e)logEvent(e); - setTimeout(function(){ - var passed = eventsFired.join(',') === 'keydown,keydown,keyup,keyup' ; - result( passed, 'Got: '+eventsFired.join(',') ); - }, 500); +function clipboard_api_test(e, test_obj){ + if(timeout)clearTimeout(timeout); + result(function(){ + assert_unreached(); + }); } diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html index b2504aa94c462a..6e2bdc33a7cf89 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_cut_on_inputtext.html @@ -20,16 +20,17 @@ document.getElementById('input_text').addEventListener( 'textInput', logEvent, false ); },false); -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ logEvent(e); - setTimeout(function(){ + test_obj.step_timeout(function(){ e.target.blur(); // causes change event e.target.form.checkValidity(); // causes invalid event }, 10); - setTimeout(function(){ - var evString = eventsFired.join(',') - var passed = evString === 'cut,cut handler done,input,change,invalid'; // Issue: should textInput fire? Chrome doesn't but I don't know if it's on purpose - result( passed, 'Got: '+evString ); + test_obj.step_timeout(function(){ + var expected = ['cut','cut handler done','input','change','invalid']; // Issue: should textInput fire? Chrome doesn't but I don't know if it's on purpose + result(function(){ + assert_array_equals(eventsFired, expected); + }); }, 500); logEvent( {type: e.type+' handler done'} ); } diff --git a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html index ade2e26cf68fbd..d4b1432f566e17 100644 --- a/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html +++ b/clipboard-apis/clipboard_events_relative_to_other_input_events_paste_on_inputtext.html @@ -21,13 +21,15 @@ document.getElementById('input_text').addEventListener( 'textInput', logEvent, false ); },false); -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ logEvent(e); - setTimeout(function(){ + test_obj.step_timeout(function(){ e.target.blur(); // causes change event e.target.form.checkValidity(); // causes invalid event }, 10); - setTimeout(function(){ + test_obj.step_timeout(function(){ + // would be nice to use assert_array_equals, but at the moment we allow two + // different pass conditions.. var evString = eventsFired.join(',') var passed = evString ==='paste,paste handler done,textInput,input,change' || evString ==='paste,paste handler done,input,change' ; result( passed, 'Got: '+evString ); diff --git a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html index 7497a9085ceb31..44f0466b9b13b1 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_paste_event_does_not_insert_html_data_into_contenteditable_element_paste_on_document.html @@ -12,16 +12,14 @@ /* Test HTML:

Editable element

diff --git a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html index 7a276297df5d64..db61d6c3e9cf18 100644 --- a/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html +++ b/clipboard-apis/event_listener_that_modifies_selection_copy_on_document.html @@ -13,7 +13,7 @@ /* External pass condition - clipboard data: "This is demo text" */ function clipboard_api_test(e){ - var range=document.createRange(); + var range=document.createRange(); range.selectNodeContents(document.getElementsByTagName('div')[0]); window.getSelection().removeAllRanges(); window.getSelection().addRange(range); diff --git a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html index 193586fd4cd593..5b1ecc8e370e1b 100644 --- a/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html +++ b/clipboard-apis/getdata_method_in_paste_event_retrieving_plain_text_paste_on_document.html @@ -10,11 +10,7 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed = false; - if(e.clipboardData && e.clipboardData.getData){ - if(e.clipboardData.getData('text/plain')==='pasted text')passed=true; - } - return passed; + return e.clipboardData.getData('text/plain')==='pasted text'; } diff --git a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html index 0a3b7066fca208..403f4e507ab181 100644 --- a/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html +++ b/clipboard-apis/getdata_method_when_called_outside_event_handler_should_return_an_empty_string_paste_on_document.html @@ -9,11 +9,12 @@ /** getData() method when called outside event handler should return an empty string */ /* Events: paste */ /* paste data: "pasted text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ - var passed = cbData.getData('text/plain')===''; - result(passed); + test_obj.step_timeout( function(){ + result(function(){ + assert_equals(cbData.getData('text/plain', '')); + }); }, 1 ); } diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index bf935880a73905..b1fc82a7b92e66 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -16,7 +16,7 @@ passed=false; }catch(e){} try{ - e.clipboardData.getData( 'text/plain', 'wrong number of arguments' ); + e.clipboardData.getData('text/plain', 'wrong number of arguments'); passed=false; }catch(e){} return passed; diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index 78f493542c492d..33cc44aee6247d 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -15,19 +15,15 @@ window.eventFired=true; e.preventDefault(); } -function triggerTestManually(eventType){ +function triggerTestManually(eventType, test_obj){ var ifr=document.getElementById('ifr'); ifr.contentDocument.designMode='on'; ifr.contentWindow.focus(); - try{ - ifr.contentDocument.execCommand(eventType, false, false); - setTimeout(function(){ - var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; - result(passed); - }, 10); - }catch(e){ - result('Can not test - exception from execCommand '+e+' (Note: enable clipboard access in preferences for '+location.hostname+' before running this test)'); - } + ifr.contentDocument.execCommand(eventType, false, false); + test_obj.step_timeout(function(){ + var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; + result(passed); + }, 10); } diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html index 3cfc76f2b64f27..8b222d9974168f 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_copy_on_document.html @@ -10,9 +10,9 @@ /* Events: copy cut paste */ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ + test_obj.step_timeout( function(){ cbData.items.add( 'Test failed', 'text/plain'); }, 1 ); e.preventDefault(); diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html index 01495317e5f3a4..ddffe848768e33 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_cut_on_document.html @@ -10,9 +10,9 @@ /* Events: copy cut paste */ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ + test_obj.step_timeout( function(){ cbData.items.add( 'Test failed', 'text/plain'); }, 1 ); e.preventDefault(); diff --git a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html index 5c9d89e94a095f..5d515360a15c37 100644 --- a/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/itemsadd_called_outside_event_handler_method_paste_on_document.html @@ -10,9 +10,9 @@ /* Events: copy cut paste */ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ + test_obj.step_timeout( function(){ cbData.items.add( 'Test failed', 'text/plain'); }, 1 ); e.preventDefault(); diff --git a/clipboard-apis/preventing_default_action_paste_on_document.html b/clipboard-apis/preventing_default_action_paste_on_document.html index cdf3c0e1c8bc1b..8975dc86690ff1 100644 --- a/clipboard-apis/preventing_default_action_paste_on_document.html +++ b/clipboard-apis/preventing_default_action_paste_on_document.html @@ -11,10 +11,12 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ e.preventDefault(); var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); + test_obj.step_timeout(function(){ + result(function(){assert_equals(theTarget.value, 'original text');}); + }, 10 ); } diff --git a/clipboard-apis/preventing_default_action_paste_on_inputtext.html b/clipboard-apis/preventing_default_action_paste_on_inputtext.html index 053a606d761668..53d36b89e6d0fe 100644 --- a/clipboard-apis/preventing_default_action_paste_on_inputtext.html +++ b/clipboard-apis/preventing_default_action_paste_on_inputtext.html @@ -11,10 +11,12 @@ /* Test HTML:
*/ /* Targets: document 'input_text' */ /* paste data: "pasted text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ e.preventDefault(); var theTarget=e.target; - setTimeout( function(){ var passed = theTarget.value === 'original text'; result(passed); }, 10 ); + test_obj.step_timeout(function(){ + result(function(){assert_equals(theTarget.value, 'original text');}); + }, 10 ); } diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html index 53a3e9cbb56fe7..95bee1df76d591 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_copy_on_document.html @@ -10,9 +10,9 @@ /* Events: copy cut paste */ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ + test_obj.step_timeout( function(){ cbData.setData('text/plain', 'Test failed'); }, 1 ); e.preventDefault(); diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html index 7da685e66ecb81..128b9809d5e9c3 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_cut_on_document.html @@ -10,9 +10,9 @@ /* Events: copy cut paste */ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ + test_obj.step_timeout( function(){ cbData.setData('text/plain', 'Test failed'); }, 1 ); e.preventDefault(); diff --git a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html index 3f3c69c1cef23f..2a395cc8ae5c16 100644 --- a/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html +++ b/clipboard-apis/setdata_called_outside_event_handler_method_paste_on_document.html @@ -10,9 +10,9 @@ /* Events: copy cut paste */ /* paste data: "clipboard text" */ /* External pass condition - clipboard data: "clipboard text" */ -function clipboard_api_test(e){ +function clipboard_api_test(e, test_obj){ var cbData=e.clipboardData; - setTimeout( function(){ + test_obj.step_timeout( function(){ cbData.setData('text/plain', 'Test failed'); }, 1 ); e.preventDefault(); diff --git a/clipboard-apis/setdata_does_not_modify_text_about_to_be_inserted_in_a_paste_event_w_preventdefault_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_about_to_be_inserted_in_a_paste_event_w_preventdefault_paste_on_document.html new file mode 100644 index 00000000000000..a5d55151b0c078 --- /dev/null +++ b/clipboard-apis/setdata_does_not_modify_text_about_to_be_inserted_in_a_paste_event_w_preventdefault_paste_on_document.html @@ -0,0 +1,42 @@ + + + + Clipboard API - setData() does not modify text about to be inserted in a paste event - w preventDefault() - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html index d59497c583b77c..cbfeeb5b221e4c 100644 --- a/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html +++ b/clipboard-apis/setdata_does_not_modify_text_that_is_about_to_be_inserted_in_a_paste_event_paste_on_document.html @@ -10,11 +10,11 @@ /* Events: paste */ /* paste data: "pasted text" */ /* Test HTML:
*/ -function clipboard_api_test(e){ - setTimeout(function(){ - var passed=false; - passed=e.target.value==='pasted text'; - result(passed); +function clipboard_api_test(e, test_obj){ + test_obj.step_timeout(function(){ + var passed=false; + passed=e.target.value==='pasted text'; + result(passed); }, 10); e.clipboardData.setData('text/plain', 'modified text'); } diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html index 3b8eead7a9edc1..41be20ad7634c1 100644 --- a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_paste_on_inputtext.html @@ -14,9 +14,7 @@ /* Targets: 'input_text' */ function clipboard_api_test(e){ - if(e.clipboardData && e.clipboardData.setData){ - e.clipboardData.setData('text/plain', 'modified text'); - } + e.clipboardData.setData('text/plain', 'modified text'); } diff --git a/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_w_preventdefault_paste_on_inputtext.html b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_w_preventdefault_paste_on_inputtext.html new file mode 100644 index 00000000000000..ef6d5f4eb7e321 --- /dev/null +++ b/clipboard-apis/setdata_doesnt_modify_text_on_the_clipboard_when_called_from_a_paste_event_w_preventdefault_paste_on_inputtext.html @@ -0,0 +1,40 @@ + + + + Clipboard API - setData() doesn't modify text on the clipboard when called from a paste event - w preventDefault() - paste on 'input_text' + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+
+ + diff --git a/clipboard-apis/support/_lib.js b/clipboard-apis/support/_lib.js index 38129fc6094fb0..dce11c9bc36db5 100644 --- a/clipboard-apis/support/_lib.js +++ b/clipboard-apis/support/_lib.js @@ -36,7 +36,7 @@ function setupTest(test_obj, target, event, dataToPaste, externalPassCondition ) var btn = logNode.parentNode.appendChild(document.createElement('button')) btn.type = 'button'; btn.onclick = test_obj.func_step(function(){ - triggerTestManually(event); + triggerTestManually(event, test_obj); btn.parentNode.removeChild(btn); }); btn.appendChild(document.createTextNode(' Click here to run test: ')); @@ -44,7 +44,7 @@ function setupTest(test_obj, target, event, dataToPaste, externalPassCondition ) logNode.data+='Test in progress, waiting for '+event+' event'; } if(typeof onTestSetupReady==='function'){ - onTestSetupReady(event); + onTestSetupReady(event, test_obj); } function intermediateListener(e){ @@ -53,7 +53,7 @@ function setupTest(test_obj, target, event, dataToPaste, externalPassCondition ) if(typeof window.clipboardData != 'undefined' && typeof e.clipboardData=='undefined' )e.clipboardData=window.clipboardData; try{ var testResult=clipboard_api_test(e, test_obj, event, dataToPaste, externalPassCondition); - result(testResult); + result(testResult, '', externalPassCondition); }catch(e){ result('exception: '+e); } @@ -81,11 +81,11 @@ function setupTest(test_obj, target, event, dataToPaste, externalPassCondition ) t.done(); }else if( typeof externalPassCondition==='string' ){ logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; - var btn = document.getElementById('log').appendChild(document.createElement('button')); + var btn = logNode.appendChild(document.createElement('button')); btn.onclick = function(){result(true)}; btn.textContent = 'Passed!'; btn.type='button'; - btn = document.getElementById('log').appendChild(document.createElement('button')); + btn = logNode.appendChild(document.createElement('button')); btn.onclick = function(){result(false)}; btn.textContent = 'Failed!'; btn.type='button'; From a3144aca34e8e7cfcb10ff373dbca7dd7fae60fe Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Sun, 26 Jul 2015 22:04:52 +0200 Subject: [PATCH 36/42] changing where buttons for manual result reporting go --- clipboard-apis/support/_lib.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clipboard-apis/support/_lib.js b/clipboard-apis/support/_lib.js index dce11c9bc36db5..4e0c958748639d 100644 --- a/clipboard-apis/support/_lib.js +++ b/clipboard-apis/support/_lib.js @@ -81,11 +81,11 @@ function setupTest(test_obj, target, event, dataToPaste, externalPassCondition ) t.done(); }else if( typeof externalPassCondition==='string' ){ logNode.data='\nThis test passes if this text is now on the system clipboard: "'+externalPassCondition+'"'; - var btn = logNode.appendChild(document.createElement('button')); + var btn = logNode.parentNode.appendChild(document.createElement('button')); btn.onclick = function(){result(true)}; btn.textContent = 'Passed!'; btn.type='button'; - btn = logNode.appendChild(document.createElement('button')); + btn = logNode.parentNode.appendChild(document.createElement('button')); btn.onclick = function(){result(false)}; btn.textContent = 'Failed!'; btn.type='button'; From 3cd1e2ea349b9446b45287dc9e5ac79d60ac8ac3 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Mon, 27 Jul 2015 16:24:11 +0200 Subject: [PATCH 37/42] removing local path and print statement --- clipboard-apis/support/TC-generator/tc-gen.py | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/clipboard-apis/support/TC-generator/tc-gen.py b/clipboard-apis/support/TC-generator/tc-gen.py index f780935a301427..54e897c6d813b9 100644 --- a/clipboard-apis/support/TC-generator/tc-gen.py +++ b/clipboard-apis/support/TC-generator/tc-gen.py @@ -10,8 +10,6 @@ spec_path = os.path.join(script_path, '..', 'index.html') tc_path = os.path.join(script_path, '..', 'testsuite') + os.sep -tc_path = "C:\\mozilla\\web-platform-tests\\clipboard-apis\\" - template = u""" @@ -29,13 +27,16 @@ {test_html}
""" @@ -78,11 +79,17 @@ rx = re.compile(r"\/\*\s*"+name+": (.+?)\*\/", re.S) try: test_info[value] = re.search(rx, test_info['test_js_code']).group(1) - if name is 'Test HTML' and '<\\/script' in test_info[value]: - test_info[value] = test_info[value].replace( - '<\\/script', - ' Date: Mon, 27 Jul 2015 17:16:24 +0200 Subject: [PATCH 38/42] dropping unnecessary try usage, better testharness.js usage --- ...ipboardevent_constructor_paste_on_document.html | 11 +++-------- ...th_nonstandard_mime_type_paste_on_document.html | 11 +++-------- ...rong_number_of_arguments_paste_on_document.html | 14 ++++++-------- ...on_does_not_know_the_type_copy_on_document.html | 11 +++-------- ...ion_does_not_know_the_type_cut_on_document.html | 11 +++-------- 5 files changed, 18 insertions(+), 40 deletions(-) diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html index 5beae38739045f..6dda3f531a7f38 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_new_clipboardevent_constructor_paste_on_document.html @@ -13,14 +13,9 @@ return e.clipboardData.getData('text/plain')=='synthetic event text'; } function onTestSetupReady(){ - try{ - var evt = new ClipboardEvent('paste') - evt.clipboardData.items.add('synthetic event text', 'text/plain'); - document.dispatchEvent(evt); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt = new ClipboardEvent('paste') + evt.clipboardData.items.add('synthetic event text', 'text/plain'); + document.dispatchEvent(evt); } diff --git a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html index 245cf127341743..eaf0a86da32047 100644 --- a/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html +++ b/clipboard-apis/clipboardevent_interface_synthetic_events_with_nonstandard_mime_type_paste_on_document.html @@ -14,14 +14,9 @@ } function onTestSetupReady(){ - try{ - var evt = new ClipboardEvent('paste'); - evt.clipboardData.items.add('synthetic event text', 'text/foobarbogustype'); - document.dispatchEvent(evt); - }catch(e){ - result('Unexpected Exception when initiating ClipboardEvent: '+e); - return; - } + var evt = new ClipboardEvent('paste'); + evt.clipboardData.items.add('synthetic event text', 'text/foobarbogustype'); + document.dispatchEvent(evt); } diff --git a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html index b1fc82a7b92e66..6b2f89f7215aae 100644 --- a/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html +++ b/clipboard-apis/getdata_method_with_wrong_number_of_arguments_paste_on_document.html @@ -10,16 +10,14 @@ /* Events: paste */ /* paste data: "pasted text" */ function clipboard_api_test(e){ - var passed=true; - try{ + result(function(){ + assert_throws(new TypeError, function(){ e.clipboardData.getData(); - passed=false; - }catch(e){} - try{ + }); +/* assert_throws('TypeError', function(){ e.clipboardData.getData('text/plain', 'wrong number of arguments'); - passed=false; - }catch(e){} - return passed; + });*/ + }); } diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html index cb8573cff130a2..7033bbc85d11f7 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_copy_on_document.html @@ -14,14 +14,9 @@ //TODO: this test asserts a NOOP. // how this SHOULD work is, however, underspecified.. function clipboard_api_test(e){ - var passed = false; - try{ - e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); - e.preventDefault(); - passed=true; - }catch(e){ - } - return passed; + e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); + e.preventDefault(); + // pass condition is external, check clipboard contents } diff --git a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html index adcd4b92b6972a..48be51c5b163b7 100644 --- a/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html +++ b/clipboard-apis/setdata_method_does_not_throw_when_implementation_does_not_know_the_type_cut_on_document.html @@ -14,14 +14,9 @@ //TODO: this test asserts a NOOP. // how this SHOULD work is, however, underspecified.. function clipboard_api_test(e){ - var passed = false; - try{ - e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); - e.preventDefault(); - passed=true; - }catch(e){ - } - return passed; + e.clipboardData.setData('text/foobarbogustype', 'copycutpaste modified text'); + e.preventDefault(); + // pass condition is external, check clipboard contents } From df3ee1b6e589d5f5518dba542e1a39dcf32428d6 Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Mon, 3 Aug 2015 10:14:46 +0200 Subject: [PATCH 39/42] new isTrusted tests --- ...rated_by_execcommand_copy_on_document.html | 39 +++++++++++++++++++ ...erated_by_execcommand_cut_on_document.html | 39 +++++++++++++++++++ ...sted_generated_by_ua_copy_on_document.html | 37 ++++++++++++++++++ ...usted_generated_by_ua_cut_on_document.html | 37 ++++++++++++++++++ ...ted_generated_by_ua_paste_on_document.html | 37 ++++++++++++++++++ 5 files changed, 189 insertions(+) create mode 100644 clipboard-apis/event_istrusted_generated_by_execcommand_copy_on_document.html create mode 100644 clipboard-apis/event_istrusted_generated_by_execcommand_cut_on_document.html create mode 100644 clipboard-apis/event_istrusted_generated_by_ua_copy_on_document.html create mode 100644 clipboard-apis/event_istrusted_generated_by_ua_cut_on_document.html create mode 100644 clipboard-apis/event_istrusted_generated_by_ua_paste_on_document.html diff --git a/clipboard-apis/event_istrusted_generated_by_execcommand_copy_on_document.html b/clipboard-apis/event_istrusted_generated_by_execcommand_copy_on_document.html new file mode 100644 index 00000000000000..80c6ed7f407f3e --- /dev/null +++ b/clipboard-apis/event_istrusted_generated_by_execcommand_copy_on_document.html @@ -0,0 +1,39 @@ + + + + Clipboard API - event isTrusted - generated by execCommand() - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+ +
+
+ + diff --git a/clipboard-apis/event_istrusted_generated_by_execcommand_cut_on_document.html b/clipboard-apis/event_istrusted_generated_by_execcommand_cut_on_document.html new file mode 100644 index 00000000000000..0b0f76cecf1783 --- /dev/null +++ b/clipboard-apis/event_istrusted_generated_by_execcommand_cut_on_document.html @@ -0,0 +1,39 @@ + + + + Clipboard API - event isTrusted - generated by execCommand() - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+ +
+
+ + diff --git a/clipboard-apis/event_istrusted_generated_by_ua_copy_on_document.html b/clipboard-apis/event_istrusted_generated_by_ua_copy_on_document.html new file mode 100644 index 00000000000000..1224533997990a --- /dev/null +++ b/clipboard-apis/event_istrusted_generated_by_ua_copy_on_document.html @@ -0,0 +1,37 @@ + + + + Clipboard API - event isTrusted - generated by UA - copy on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+ +
+
+ + diff --git a/clipboard-apis/event_istrusted_generated_by_ua_cut_on_document.html b/clipboard-apis/event_istrusted_generated_by_ua_cut_on_document.html new file mode 100644 index 00000000000000..7f1f68bcf424ad --- /dev/null +++ b/clipboard-apis/event_istrusted_generated_by_ua_cut_on_document.html @@ -0,0 +1,37 @@ + + + + Clipboard API - event isTrusted - generated by UA - cut on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+ +
+
+ + diff --git a/clipboard-apis/event_istrusted_generated_by_ua_paste_on_document.html b/clipboard-apis/event_istrusted_generated_by_ua_paste_on_document.html new file mode 100644 index 00000000000000..1c03174c335007 --- /dev/null +++ b/clipboard-apis/event_istrusted_generated_by_ua_paste_on_document.html @@ -0,0 +1,37 @@ + + + + Clipboard API - event isTrusted - generated by UA - paste on document + + + + + + + +

FAILED (This TC requires JavaScript enabled)

+
+ +
+
+ + From 9378fb2c5b75c377f9825e0665c9b47037868bce Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Mon, 3 Aug 2015 10:15:21 +0200 Subject: [PATCH 40/42] Fixing execCommand() arguments --- ...pboard_has_one_single_textplain_entry_paste_on_document.html | 1 - ...inside_trusted_event_affects_clipboard_copy_on_document.html | 2 +- ..._inside_trusted_event_affects_clipboard_cut_on_document.html | 2 +- ...and_can_prevent_default_action_copy_on_ifrcontentwindow.html | 2 +- ...mand_can_prevent_default_action_cut_on_ifrcontentwindow.html | 2 +- ...nd_can_prevent_default_action_paste_on_ifrcontentwindow.html | 2 +- ...mmand_events_are_syncronous_copy_on_iframecontentwindow.html | 2 +- ...ommand_events_are_syncronous_cut_on_iframecontentwindow.html | 2 +- ...when_not_allowed_to_write_to_clipboard_copy_on_document.html | 2 +- ..._when_not_allowed_to_write_to_clipboard_cut_on_document.html | 2 +- .../setdata_and_clipboarddataitems_copy_on_document.html | 1 - .../setdata_and_clipboarddataitems_cut_on_document.html | 1 - 12 files changed, 9 insertions(+), 12 deletions(-) diff --git a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html index 790e6dcf14ebf2..b4a8c3c2193396 100644 --- a/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html +++ b/clipboard-apis/clipboarddataitems_when_clipboard_has_one_single_textplain_entry_paste_on_document.html @@ -13,7 +13,6 @@ function clipboard_api_test(e){ var passed = e.clipboardData.items && e.clipboardData.items.length === 1; passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; return passed; } diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html index a65c06302611d4..995a9efcce9faa 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_copy_on_document.html @@ -22,7 +22,7 @@ var range = document.createRange(); range.selectNodeContents(document.body); window.getSelection().addRange(range); - document.execCommand(eventType); + document.execCommand(eventType, false, null); window.getSelection().removeAllRanges(); if(eventType ==='cut'){ document.body.contentEditable='false'; diff --git a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html index 368991f5dd2b89..fc9f5c2059a42a 100644 --- a/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html +++ b/clipboard-apis/clipboardevent_interface_execcommand_inside_trusted_event_affects_clipboard_cut_on_document.html @@ -22,7 +22,7 @@ var range = document.createRange(); range.selectNodeContents(document.body); window.getSelection().addRange(range); - document.execCommand(eventType); + document.execCommand(eventType, false, null); window.getSelection().removeAllRanges(); if(eventType ==='cut'){ document.body.contentEditable='false'; diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html index e19304bcd4152e..4c850eb20a9726 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_copy_on_ifrcontentwindow.html @@ -28,7 +28,7 @@ range.selectNodeContents(doc.getElementsByTagName('p')[0]); doc.defaultView.getSelection().removeAllRanges(); doc.defaultView.getSelection().addRange(range); - var returnValue = doc.execCommand(eventType, false, false); + var returnValue = doc.execCommand(eventType, false, null); /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); /* This assertation is especially relevant for 'cut' */ diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html index 7117a08d83358d..acbc9eb307a96a 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_cut_on_ifrcontentwindow.html @@ -28,7 +28,7 @@ range.selectNodeContents(doc.getElementsByTagName('p')[0]); doc.defaultView.getSelection().removeAllRanges(); doc.defaultView.getSelection().addRange(range); - var returnValue = doc.execCommand(eventType, false, false); + var returnValue = doc.execCommand(eventType, false, null); /* Main pass condition here is clipboard contents - but we can add a couple of assertations here */ assert_false(returnValue, 'execCommand() returns false when event default action is prevented'); /* This assertation is especially relevant for 'cut' */ diff --git a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html index 33cc44aee6247d..27851a6f78ccd7 100644 --- a/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_can_prevent_default_action_paste_on_ifrcontentwindow.html @@ -19,7 +19,7 @@ var ifr=document.getElementById('ifr'); ifr.contentDocument.designMode='on'; ifr.contentWindow.focus(); - ifr.contentDocument.execCommand(eventType, false, false); + ifr.contentDocument.execCommand(eventType, false, null); test_obj.step_timeout(function(){ var passed= window.eventFired === true && ifr.contentDocument.body.innerHTML.indexOf('clipboard text')==-1; result(passed); diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html index aaec4da56f223f..3517d95a6c823d 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_copy_on_iframecontentwindow.html @@ -33,7 +33,7 @@ var ifr=document.getElementById('iframe'); window.afterExecCommand=false; /* This triggers the event listener, which asserts false */ - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, null); window.afterExecCommand=true; result(function(){ assert_true(eventFired, eventType + ' event should fire'); diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index d7bcedfe5460b4..ee474854d54a93 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -33,7 +33,7 @@ var ifr=document.getElementById('iframe'); window.afterExecCommand=false; /* This triggers the event listener, which asserts false */ - var execSucceeded = ifr.contentDocument.execCommand(eventType, false, false); + var execSucceeded = ifr.contentDocument.execCommand(eventType, false, null); window.afterExecCommand=true; result(function(){ assert_true(eventFired, eventType + ' event should fire'); diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html index 6d0c1d1cf93333..f30029a0ce04ad 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_copy_on_document.html @@ -14,7 +14,7 @@ } function onTestSetupReady(eventType){ result(function(){ - assert_false(document.execCommand(eventType)); + assert_false(document.execCommand(eventType, false, null)); }); } diff --git a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html index ce3007e99e6104..1b8a37e01a1e8b 100644 --- a/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html +++ b/clipboard-apis/integration_with_execcommand_returns_false_when_not_allowed_to_write_to_clipboard_cut_on_document.html @@ -14,7 +14,7 @@ } function onTestSetupReady(eventType){ result(function(){ - assert_false(document.execCommand(eventType)); + assert_false(document.execCommand(eventType, false, null)); }); } diff --git a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html index 8ce4f4e91b598c..67e4ff53ffacbf 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_copy_on_document.html @@ -13,7 +13,6 @@ e.clipboardData.setData('text/plain', 'modified text'); var passed = e.clipboardData.items && e.clipboardData.items.length === 1; passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; return passed; } diff --git a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html index 3aa2cf2435bbc3..7439d1bc0be517 100644 --- a/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html +++ b/clipboard-apis/setdata_and_clipboarddataitems_cut_on_document.html @@ -13,7 +13,6 @@ e.clipboardData.setData('text/plain', 'modified text'); var passed = e.clipboardData.items && e.clipboardData.items.length === 1; passed = passed && e.clipboardData.items[0].kind=='string' && e.clipboardData.items[0].type=='text/plain'; - passed = passed && e.isTrusted; return passed; } From ba3da2abf656a1db125fcd1d543a0fbbcc08de8e Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Thu, 4 Feb 2016 12:19:05 +0100 Subject: [PATCH 41/42] Clarify failure reason if cut fails by switching order of asserts --- ...mmand_events_are_syncronous_cut_on_iframecontentwindow.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index ee474854d54a93..7c13c3cba436a0 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -18,7 +18,6 @@ eventFired = true; } function onTestSetupReady( eventType ){ - document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. var ifr=document.getElementById('iframe'), doc; (doc=ifr.contentDocument).designMode='on'; doc.body.innerHTML='

Frame contents

'; @@ -36,8 +35,8 @@ var execSucceeded = ifr.contentDocument.execCommand(eventType, false, null); window.afterExecCommand=true; result(function(){ - assert_true(eventFired, eventType + ' event should fire'); assert_true(execSucceeded, 'document.execCommand() should succeed and return true'); + assert_true(eventFired, eventType + ' event should fire'); }); } From ffd8b73499f6099fb269344d81208743d1b9f54c Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Thu, 25 Feb 2016 16:23:24 +0100 Subject: [PATCH 42/42] Reordering asserts to make failures easier to debug --- ...mmand_events_are_syncronous_cut_on_iframecontentwindow.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html index 7c13c3cba436a0..ee474854d54a93 100644 --- a/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html +++ b/clipboard-apis/integration_with_execcommand_events_are_syncronous_cut_on_iframecontentwindow.html @@ -18,6 +18,7 @@ eventFired = true; } function onTestSetupReady( eventType ){ + document.getElementsByTagName('p')[0].firstChild.data='FAILED'; // if event doesn't fire, this test failed.. var ifr=document.getElementById('iframe'), doc; (doc=ifr.contentDocument).designMode='on'; doc.body.innerHTML='

Frame contents

'; @@ -35,8 +36,8 @@ var execSucceeded = ifr.contentDocument.execCommand(eventType, false, null); window.afterExecCommand=true; result(function(){ - assert_true(execSucceeded, 'document.execCommand() should succeed and return true'); assert_true(eventFired, eventType + ' event should fire'); + assert_true(execSucceeded, 'document.execCommand() should succeed and return true'); }); }