mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Bug 667195 - follow-up - Remove subtest for MathML href link click, since contentAreaClick is not yet ready to handle that.
The support will be added in a separate bug since this is not related to the regression fixed in Bug 667195.
This commit is contained in:
parent
3447143d7a
commit
84f53cb1bb
@ -53,7 +53,7 @@ let gTests = [
|
||||
setup: function() {},
|
||||
clean: function() {},
|
||||
event: {},
|
||||
targets: [ "commonlink", "mathxlink", "mathhref", "svgxlink", "maplink" ],
|
||||
targets: [ "commonlink", "mathxlink", "svgxlink", "maplink" ],
|
||||
expectedInvokedMethods: [],
|
||||
preventDefault: false,
|
||||
},
|
||||
@ -64,7 +64,7 @@ let gTests = [
|
||||
clean: function() {},
|
||||
event: { ctrlKey: true,
|
||||
metaKey: true },
|
||||
targets: [ "commonlink", "mathxlink", "mathhref", "svgxlink", "maplink" ],
|
||||
targets: [ "commonlink", "mathxlink", "svgxlink", "maplink" ],
|
||||
expectedInvokedMethods: [ "urlSecurityCheck", "openLinkIn" ],
|
||||
preventDefault: true,
|
||||
},
|
||||
@ -88,7 +88,7 @@ let gTests = [
|
||||
clean: function() {},
|
||||
event: { shiftKey: true,
|
||||
altKey: true },
|
||||
targets: [ "mathxlink", "mathhref", "svgxlink"],
|
||||
targets: [ "mathxlink", "svgxlink"],
|
||||
expectedInvokedMethods: [ "saveURL" ],
|
||||
preventDefault: true,
|
||||
},
|
||||
@ -98,7 +98,7 @@ let gTests = [
|
||||
setup: function() {},
|
||||
clean: function() {},
|
||||
event: { shiftKey: true },
|
||||
targets: [ "commonlink", "mathxlink", "mathhref", "svgxlink", "maplink" ],
|
||||
targets: [ "commonlink", "mathxlink", "svgxlink", "maplink" ],
|
||||
expectedInvokedMethods: [ "urlSecurityCheck", "openLinkIn" ],
|
||||
preventDefault: true,
|
||||
},
|
||||
@ -118,7 +118,7 @@ let gTests = [
|
||||
setup: function() {},
|
||||
clean: function() {},
|
||||
event: { altKey: true },
|
||||
targets: [ "mathxlink", "mathhref", "svgxlink" ],
|
||||
targets: [ "mathxlink", "svgxlink" ],
|
||||
expectedInvokedMethods: [ "saveURL" ],
|
||||
preventDefault: true,
|
||||
},
|
||||
@ -138,7 +138,7 @@ let gTests = [
|
||||
setup: function() {},
|
||||
clean: function() {},
|
||||
event: { button: 1 },
|
||||
targets: [ "commonlink", "mathxlink", "mathhref", "svgxlink", "maplink" ],
|
||||
targets: [ "commonlink", "mathxlink", "svgxlink", "maplink" ],
|
||||
expectedInvokedMethods: [ "urlSecurityCheck", "openLinkIn" ],
|
||||
preventDefault: true,
|
||||
},
|
||||
@ -154,7 +154,7 @@ let gTests = [
|
||||
} catch(ex) {}
|
||||
},
|
||||
event: { button: 1 },
|
||||
targets: [ "commonlink", "mathxlink", "mathhref", "svgxlink", "maplink" ],
|
||||
targets: [ "commonlink", "mathxlink", "svgxlink", "maplink" ],
|
||||
expectedInvokedMethods: [ "urlSecurityCheck", "openLinkIn" ],
|
||||
preventDefault: true,
|
||||
},
|
||||
@ -282,7 +282,6 @@ function setupTestBrowserWindow() {
|
||||
'<p><a id="panellink" href="http://mochi.test/moz/">Panel link</a></p>' +
|
||||
'<p><a id="emptylink">Empty link</a></p>' +
|
||||
'<p><math id="mathxlink" xmlns="http://www.w3.org/1998/Math/MathML" xlink:type="simple" xlink:href="http://mochi.test/moz/"><mtext>MathML XLink</mtext></math></p>' +
|
||||
'<p><math id="mathhref" xmlns="http://www.w3.org/1998/Math/MathML" href="http://mochi.test/moz/"><mtext>MathML href</mtext></math></p>' +
|
||||
'<p><svg id="svgxlink" xmlns="http://www.w3.org/2000/svg" width="100px" height="50px" version="1.1"><a xlink:type="simple" xlink:href="http://mochi.test/moz/"><text transform="translate(10, 25)">SVG XLink</text></a></svg></p>' +
|
||||
'<p><map name="map" id="map"><area href="http://mochi.test/moz/" shape="rect" coords="0,0,128,128" /></map><img id="maplink" usemap="#map" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXPacAAAABGdBTUEAALGPC%2FxhBQAAAOtJREFUeF7t0IEAAAAAgKD9qRcphAoDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGBgwIAAAT0N51AAAAAASUVORK5CYII%3D"/></p>'
|
||||
doc.body.appendChild(mainDiv);
|
||||
|
Loading…
Reference in New Issue
Block a user