mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1005806 - HTMLInputElement.controllers should be [ChromeOnly]. r=bz
This commit is contained in:
parent
3bdf6e645e
commit
3ff83a1058
@ -143,7 +143,7 @@ partial interface HTMLInputElement {
|
||||
[Throws]
|
||||
void setSelectionRange(long start, long end, optional DOMString direction);
|
||||
|
||||
[GetterThrows]
|
||||
[GetterThrows, ChromeOnly]
|
||||
readonly attribute nsIControllers controllers;
|
||||
[GetterThrows]
|
||||
readonly attribute long textLength;
|
||||
|
@ -90,6 +90,7 @@ support-files =
|
||||
[test_bug960820.html]
|
||||
[test_bug986542.html]
|
||||
[test_bug993423.html]
|
||||
[test_bug1005806.html]
|
||||
[test_crosscompartment_weakmap.html]
|
||||
[test_frameWrapping.html]
|
||||
# The JS test component we use below is only available in debug builds.
|
||||
|
27
js/xpconnect/tests/mochitest/test_bug1005806.html
Normal file
27
js/xpconnect/tests/mochitest/test_bug1005806.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=1005806
|
||||
-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for Bug 1005806</title>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1005806">Mozilla Bug 1005806</a>
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
<input id="ipt"></input>
|
||||
</div>
|
||||
<pre id="test">
|
||||
</pre>
|
||||
<script type="application/javascript">
|
||||
|
||||
/** Test for Bug 1005806 **/
|
||||
is(typeof document.getElementById('ipt').controllers, 'undefined', "Controllers property should not appear for content");
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user