From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../web-platform/tests/editing/data/createlink.js | 242 +++++++++++++++++++++ 1 file changed, 242 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 000000000..275fcbd59 --- /dev/null +++ b/testing/web-platform/tests/editing/data/createlink.js @@ -0,0 +1,242 @@ +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,""]}] +] -- cgit v1.2.3