зеркало из https://github.com/mozilla/gecko-dev.git
Bug 844169 - Part 2: Rename nsIDOMHTMLIFrameElement.allowfullscreen to allowFullscreen in order to comply with the spec; r=cpearce
This commit is contained in:
Родитель
ede15a9bde
Коммит
a8f93d6c2f
|
@ -953,7 +953,7 @@ function startTest() {
|
|||
return;
|
||||
}
|
||||
|
||||
subwindow.allowfullscreen = true;
|
||||
subwindow.allowFullscreen = true;
|
||||
lastElement = null;
|
||||
|
||||
text = subwindow.document.getElementById("test-text");
|
||||
|
|
|
@ -56,7 +56,7 @@ NS_IMPL_STRING_ATTR(HTMLIFrameElement, Name, name)
|
|||
NS_IMPL_STRING_ATTR(HTMLIFrameElement, Scrolling, scrolling)
|
||||
NS_IMPL_URI_ATTR(HTMLIFrameElement, Src, src)
|
||||
NS_IMPL_STRING_ATTR(HTMLIFrameElement, Width, width)
|
||||
NS_IMPL_BOOL_ATTR(HTMLIFrameElement, Allowfullscreen, allowfullscreen)
|
||||
NS_IMPL_BOOL_ATTR(HTMLIFrameElement, AllowFullscreen, allowfullscreen)
|
||||
NS_IMPL_STRING_ATTR(HTMLIFrameElement, Sandbox, sandbox)
|
||||
|
||||
void
|
||||
|
|
|
@ -78,7 +78,7 @@ function exit1(event) {
|
|||
is(event.target, document, "10. Event target should be full-screen document #2");
|
||||
is(document.mozFullScreenElement, null, "11. Full-screen element should be null.");
|
||||
iframe = document.createElement("iframe");
|
||||
iframe.allowfullscreen = true;
|
||||
iframe.allowFullscreen = true;
|
||||
addFullscreenChangeContinuation("enter", enter2);
|
||||
document.body.appendChild(iframe);
|
||||
iframe.src = iframeContents;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(a7bd1e34-3969-47ae-8c1d-2970132ba925)]
|
||||
[scriptable, uuid(39298082-9657-48be-b119-4dc9c84ce685)]
|
||||
interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
@ -34,9 +34,6 @@ interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
|
|||
readonly attribute nsIDOMWindow contentWindow;
|
||||
|
||||
attribute DOMString sandbox;
|
||||
// Mozilla extensions
|
||||
// iframe elements require the allowfullscreen attribute to be present
|
||||
// if they're to allow content in the sub document to go into DOM full-screen
|
||||
// mode. See https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI
|
||||
attribute boolean allowfullscreen;
|
||||
|
||||
attribute boolean allowFullscreen;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче