From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../web-platform/tests/editing/data/createlink.js | 248 +++++++++++++++++++++ 1 file changed, 248 insertions(+) create mode 100644 testing/web-platform/tests/editing/data/createlink.js (limited to 'testing/web-platform/tests/editing/data/createlink.js') diff --git a/testing/web-platform/tests/editing/data/createlink.js b/testing/web-platform/tests/editing/data/createlink.js new file mode 100644 index 0000000000..10734d950b --- /dev/null +++ b/testing/web-platform/tests/editing/data/createlink.js @@ -0,0 +1,248 @@ +// For documentation of the format, see README in this directory. +var browserTests = [ +["foo[]bar", + [["createlink","http://www.google.com/"]], + "foo[]bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["

[foo

bar]

", + [["createlink","http://www.google.com/"]], + "

[foo

bar]

", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foo bar]", + [["createlink","http://www.google.com/"]], + "[foo bar]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["

[foo

bar

baz]

", + [["createlink","http://www.google.com/"]], + "

[foo

bar

baz]

", + [true], + {"createlink":[false,false,"",false,false,""]}], +["

[foo


bar]", + [["createlink","http://www.google.com/"]], + "

[foo


bar]

", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[]bar", + [["createlink","http://www.google.com/"]], + "foo[]bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[]bar", + [["createlink","http://www.google.com/"]], + "foo[]bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo{}bar", + [["createlink","http://www.google.com/"]], + "foo{}bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[]bar", + [["createlink","http://www.google.com/"]], + "foo[]bar", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz]qozquz", + [["createlink","http://www.google.com/"]], + "foo[barbaz]qozquz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz]qozquz", + [["createlink","http://www.google.com/"]], + "foo[barbaz]qozquz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{

foo

}", + [["createlink","http://www.google.com/"]], + "{

foo

}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foob[a]rbaz
", + [["createlink","http://www.google.com/"]], + "
foob[a]rbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foobarbaz
", + [["createlink","http://www.google.com/"]], + "{}
foobarbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foobarbaz
", + [["createlink","http://www.google.com/"]], + "{}
foobarbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foobarbaz
", + [["createlink","http://www.google.com/"]], + "{}
foobarbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["
foobarbaz
", + [["createlink","http://www.google.com/"]], + "{}
foobarbaz
", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{
foobarbaz
}", + [["createlink","http://www.google.com/"]], + "{
foobarbaz
}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz}", + [["createlink","http://www.google.com/"]], + "foo[barbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobar]baz", + [["createlink","http://www.google.com/"]], + "{foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobarbaz}", + [["createlink","http://www.google.com/"]], + "{foobarbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foo]barbaz", + [["createlink","http://www.google.com/"]], + "[foo]barbaz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foobar[baz]", + [["createlink","http://www.google.com/"]], + "foobar[baz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz]", + [["createlink","http://www.google.com/"]], + "foo[barbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobar]baz", + [["createlink","http://www.google.com/"]], + "[foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz}", + [["createlink","http://www.google.com/"]], + "foo[barbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobar]baz", + [["createlink","http://www.google.com/"]], + "{foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobarbaz}", + [["createlink","http://www.google.com/"]], + "{foobarbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz]", + [["createlink","http://www.google.com/"]], + "foo[barbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobar]baz", + [["createlink","http://www.google.com/"]], + "[foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[barbaz}", + [["createlink","http://www.google.com/"]], + "foo[barbaz}", + [true], + {"createlink":[false,false,"",false,false,""]}], +["{foobar]baz", + [["createlink","http://www.google.com/"]], + "{foobar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["[foobarbaz]", + [["createlink","http://www.google.com/"]], + "[foobarbaz]", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink",""]], + "foo[bar]baz", + [false], + {"createlink":[false,false,"",false,false,""]}], +["foo[bar]baz", + [["createlink","http://www.google.com/\u65E5\u672C\u8A9E\u30D1\u30B9"]], + "foo[bar]baz", + [true], + {"createlink":[false,false,"",false,false,""]}], +] \ No newline at end of file -- cgit v1.2.3