mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 658949 patch 2: Refest & xpcshell-test-addition for this bug. r=bz a=sheriff
This commit is contained in:
parent
9c8854da80
commit
0932137d8d
1
netwerk/test/reftest/658949-1-ref.html
Normal file
1
netwerk/test/reftest/658949-1-ref.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<iframe src="data:text/html,ABC"></iframe>
|
1
netwerk/test/reftest/658949-1.html
Normal file
1
netwerk/test/reftest/658949-1.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<iframe src="data:text/html,ABC#myRef"></iframe>
|
@ -1,2 +1,2 @@
|
|||||||
== bug565432-1.html bug565432-1-ref.html
|
== bug565432-1.html bug565432-1-ref.html
|
||||||
|
== 658949-1.html 658949-1-ref.html
|
||||||
|
@ -5,6 +5,12 @@ const Ci = Components.interfaces;
|
|||||||
// TEST DATA
|
// TEST DATA
|
||||||
// ---------
|
// ---------
|
||||||
var gTests = [
|
var gTests = [
|
||||||
|
{ spec: "about:blank",
|
||||||
|
scheme: "about",
|
||||||
|
prePath: "about:",
|
||||||
|
path: "blank",
|
||||||
|
ref: "",
|
||||||
|
nsIURL: false, nsINestedURI: true, immutable: true },
|
||||||
{ spec: "about:foobar",
|
{ spec: "about:foobar",
|
||||||
scheme: "about",
|
scheme: "about",
|
||||||
prePath: "about:",
|
prePath: "about:",
|
||||||
@ -77,6 +83,12 @@ var gTests = [
|
|||||||
path: "resource://gre/chrome.toolkit.jar!/",
|
path: "resource://gre/chrome.toolkit.jar!/",
|
||||||
ref: "",
|
ref: "",
|
||||||
nsIURL: true, nsINestedURI: true },
|
nsIURL: true, nsINestedURI: true },
|
||||||
|
{ spec: "place:redirectsMode=2&sort=8&maxResults=10",
|
||||||
|
scheme: "place",
|
||||||
|
prePath: "place:",
|
||||||
|
path: "redirectsMode=2&sort=8&maxResults=10",
|
||||||
|
ref: "",
|
||||||
|
nsIURL: false, nsINestedURI: false },
|
||||||
{ spec: "resource://gre/",
|
{ spec: "resource://gre/",
|
||||||
scheme: "resource",
|
scheme: "resource",
|
||||||
prePath: "resource://gre",
|
prePath: "resource://gre",
|
||||||
@ -218,6 +230,10 @@ function do_test_uri_with_hash_suffix(aTest, aSuffix) {
|
|||||||
var testURI = NetUtil.newURI(aTest.spec + aSuffix);
|
var testURI = NetUtil.newURI(aTest.spec + aSuffix);
|
||||||
var origURI = NetUtil.newURI(aTest.spec);
|
var origURI = NetUtil.newURI(aTest.spec);
|
||||||
|
|
||||||
|
do_info("testing " + aTest.spec + " with '" + aSuffix + "' appended " +
|
||||||
|
"equals a clone of itself");
|
||||||
|
do_check_uri_eq(testURI, testURI.clone());
|
||||||
|
|
||||||
do_info("testing " + aTest.spec +
|
do_info("testing " + aTest.spec +
|
||||||
" doesn't equal self with '" + aSuffix + "' appended");
|
" doesn't equal self with '" + aSuffix + "' appended");
|
||||||
if (aTest.spec == "file://") {
|
if (aTest.spec == "file://") {
|
||||||
|
Loading…
Reference in New Issue
Block a user