mirror of
https://github.com/servo/servo.git
synced 2025-07-31 03:00:29 +01:00
auto merge of #4729 : yodalee/servo/issue4534-form-submission-for-button-elements, r=jdm
Sorry for the late PR for the issue #4534. This issue is more complicated than I thought, I have to un-comment the Form-related attribute in Button element. In the beginning, I modify the files in `bindings` directory, and it's ... generated files. Hope I don't make something wrong.
This commit is contained in:
commit
2bfe5cfecd
9 changed files with 179 additions and 736 deletions
|
@ -2,30 +2,45 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use dom::activation::Activatable;
|
||||
use dom::attr::Attr;
|
||||
use dom::attr::AttrHelpers;
|
||||
use dom::bindings::codegen::Bindings::HTMLButtonElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLButtonElementBinding::HTMLButtonElementMethods;
|
||||
use dom::bindings::codegen::InheritTypes::{ElementCast, HTMLElementCast, NodeCast};
|
||||
use dom::bindings::codegen::InheritTypes::{ElementCast, HTMLElementCast, HTMLButtonElementCast, NodeCast};
|
||||
use dom::bindings::codegen::InheritTypes::{HTMLButtonElementDerived, HTMLFieldSetElementDerived};
|
||||
use dom::bindings::js::{JSRef, Temporary};
|
||||
use dom::document::Document;
|
||||
use dom::element::{AttributeHandlers, Element};
|
||||
use dom::element::{AttributeHandlers, Element, ElementTypeId};
|
||||
use dom::element::ActivationElementHelpers;
|
||||
use dom::eventtarget::{EventTarget, EventTargetTypeId};
|
||||
use dom::element::ElementTypeId;
|
||||
use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
|
||||
use dom::node::{DisabledStateHelpers, Node, NodeHelpers, NodeTypeId, window_from_node};
|
||||
use dom::htmlformelement::{FormSubmitter, FormControl, HTMLFormElementHelpers};
|
||||
use dom::htmlformelement::{SubmittedFrom};
|
||||
use dom::node::{DisabledStateHelpers, Node, NodeHelpers, NodeTypeId, document_from_node, window_from_node};
|
||||
use dom::validitystate::ValidityState;
|
||||
use dom::virtualmethods::VirtualMethods;
|
||||
|
||||
use std::ascii::OwnedAsciiExt;
|
||||
use std::borrow::ToOwned;
|
||||
use util::str::DOMString;
|
||||
use std::cell::Cell;
|
||||
use string_cache::Atom;
|
||||
|
||||
#[jstraceable]
|
||||
#[derive(PartialEq, Copy)]
|
||||
#[allow(dead_code)]
|
||||
enum ButtonType {
|
||||
ButtonSubmit,
|
||||
ButtonReset,
|
||||
ButtonButton,
|
||||
ButtonMenu
|
||||
}
|
||||
|
||||
#[dom_struct]
|
||||
pub struct HTMLButtonElement {
|
||||
htmlelement: HTMLElement
|
||||
htmlelement: HTMLElement,
|
||||
button_type: Cell<ButtonType>
|
||||
}
|
||||
|
||||
impl HTMLButtonElementDerived for EventTarget {
|
||||
|
@ -37,7 +52,9 @@ impl HTMLButtonElementDerived for EventTarget {
|
|||
impl HTMLButtonElement {
|
||||
fn new_inherited(localName: DOMString, prefix: Option<DOMString>, document: JSRef<Document>) -> HTMLButtonElement {
|
||||
HTMLButtonElement {
|
||||
htmlelement: HTMLElement::new_inherited(HTMLElementTypeId::HTMLButtonElement, localName, prefix, document)
|
||||
htmlelement: HTMLElement::new_inherited(HTMLElementTypeId::HTMLButtonElement, localName, prefix, document),
|
||||
//TODO: implement button_type in after_set_attr
|
||||
button_type: Cell::new(ButtonType::ButtonSubmit)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -73,6 +90,23 @@ impl<'a> HTMLButtonElementMethods for JSRef<'a, HTMLButtonElement> {
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#dom-button-type
|
||||
make_setter!(SetType, "type");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#htmlbuttonelement
|
||||
make_url_or_base_getter!(FormAction);
|
||||
|
||||
make_setter!(SetFormAction, "formaction");
|
||||
|
||||
make_enumerated_getter!(FormEnctype, "application/x-www-form-urlencoded", ("text/plain") | ("multipart/form-data"));
|
||||
|
||||
make_setter!(SetFormEnctype, "formenctype");
|
||||
|
||||
make_enumerated_getter!(FormMethod, "get", ("post") | ("dialog"));
|
||||
|
||||
make_setter!(SetFormMethod, "formmethod");
|
||||
|
||||
make_getter!(FormTarget);
|
||||
|
||||
make_setter!(SetFormTarget, "formtarget");
|
||||
}
|
||||
|
||||
impl<'a> VirtualMethods for JSRef<'a, HTMLButtonElement> {
|
||||
|
@ -139,3 +173,68 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLButtonElement> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> FormControl<'a> for JSRef<'a, HTMLButtonElement> {
|
||||
fn to_element(self) -> JSRef<'a, Element> {
|
||||
ElementCast::from_ref(self)
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> Activatable for JSRef<'a, HTMLButtonElement> {
|
||||
fn as_element(&self) -> Temporary<Element> {
|
||||
Temporary::from_rooted(ElementCast::from_ref(*self))
|
||||
}
|
||||
|
||||
fn is_instance_activatable(&self) -> bool {
|
||||
//https://html.spec.whatwg.org/multipage/forms.html#the-button-element
|
||||
let node: JSRef<Node> = NodeCast::from_ref(*self);
|
||||
!(node.get_disabled_state())
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#run-pre-click-activation-steps
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-button-element:activation-behavior
|
||||
fn pre_click_activation(&self) {
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#run-canceled-activation-steps
|
||||
fn canceled_activation(&self) {
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#run-post-click-activation-steps
|
||||
fn activation_behavior(&self) {
|
||||
let ty = self.button_type.get();
|
||||
match ty {
|
||||
//https://html.spec.whatwg.org/multipage/forms.html#attr-button-type-submit-state
|
||||
ButtonType::ButtonSubmit => {
|
||||
self.form_owner().map(|o| {
|
||||
o.root().r().submit(SubmittedFrom::NotFromFormSubmitMethod,
|
||||
FormSubmitter::ButtonElement(self.clone()))
|
||||
});
|
||||
}
|
||||
_ => ()
|
||||
}
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#implicit-submission
|
||||
#[allow(unsafe_blocks)]
|
||||
fn implicit_submission(&self, ctrlKey: bool, shiftKey: bool, altKey: bool, metaKey: bool) {
|
||||
let doc = document_from_node(*self).root();
|
||||
let node: JSRef<Node> = NodeCast::from_ref(doc.r());
|
||||
let owner = self.form_owner();
|
||||
let elem: JSRef<Element> = ElementCast::from_ref(*self);
|
||||
if owner.is_none() || elem.click_in_progress() {
|
||||
return;
|
||||
}
|
||||
// This is safe because we are stopping after finding the first element
|
||||
// and only then performing actions which may modify the DOM tree
|
||||
unsafe {
|
||||
node.query_selector_iter("button[type=submit]".to_owned()).unwrap()
|
||||
.filter_map(|t| {
|
||||
let h: Option<JSRef<HTMLButtonElement>> = HTMLButtonElementCast::to_ref(t);
|
||||
h
|
||||
})
|
||||
.find(|r| r.form_owner() == owner)
|
||||
.map(|&:s| s.synthetic_click_activation(ctrlKey, shiftKey, altKey, metaKey));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ use dom::bindings::codegen::Bindings::EventTargetBinding::EventTargetMethods;
|
|||
use dom::bindings::codegen::Bindings::HTMLFormElementBinding;
|
||||
use dom::bindings::codegen::Bindings::HTMLFormElementBinding::HTMLFormElementMethods;
|
||||
use dom::bindings::codegen::Bindings::HTMLInputElementBinding::HTMLInputElementMethods;
|
||||
use dom::bindings::codegen::Bindings::HTMLButtonElementBinding::HTMLButtonElementMethods;
|
||||
use dom::bindings::codegen::InheritTypes::{EventTargetCast, HTMLFormElementDerived, NodeCast};
|
||||
use dom::bindings::codegen::InheritTypes::{HTMLInputElementCast, HTMLTextAreaElementCast, HTMLFormElementCast};
|
||||
use dom::bindings::global::GlobalRef;
|
||||
|
@ -18,8 +19,9 @@ use dom::event::{Event, EventHelpers, EventBubbles, EventCancelable};
|
|||
use dom::eventtarget::{EventTarget, EventTargetTypeId};
|
||||
use dom::element::ElementTypeId;
|
||||
use dom::htmlelement::{HTMLElement, HTMLElementTypeId};
|
||||
use dom::htmlinputelement::HTMLInputElement;
|
||||
use dom::htmltextareaelement::HTMLTextAreaElement;
|
||||
use dom::htmlinputelement::{HTMLInputElement, HTMLInputElementHelpers};
|
||||
use dom::htmlbuttonelement::{HTMLButtonElement};
|
||||
use dom::htmltextareaelement::{HTMLTextAreaElement, HTMLTextAreaElementHelpers};
|
||||
use dom::node::{Node, NodeHelpers, NodeTypeId, document_from_node, window_from_node};
|
||||
use hyper::method::Method;
|
||||
use servo_msg::constellation_msg::LoadData;
|
||||
|
@ -416,8 +418,9 @@ pub enum FormMethod {
|
|||
#[derive(Copy)]
|
||||
pub enum FormSubmitter<'a> {
|
||||
FormElement(JSRef<'a, HTMLFormElement>),
|
||||
InputElement(JSRef<'a, HTMLInputElement>)
|
||||
// TODO: Submit buttons, image submit, etc etc
|
||||
InputElement(JSRef<'a, HTMLInputElement>),
|
||||
ButtonElement(JSRef<'a, HTMLButtonElement>)
|
||||
// TODO: image submit, etc etc
|
||||
}
|
||||
|
||||
impl<'a> FormSubmitter<'a> {
|
||||
|
@ -429,6 +432,11 @@ impl<'a> FormSubmitter<'a> {
|
|||
input_element.get_form_attribute(&Atom::from_slice("formaction"),
|
||||
|i| i.FormAction(),
|
||||
|f| f.Action())
|
||||
},
|
||||
FormSubmitter::ButtonElement(button_element) => {
|
||||
button_element.get_form_attribute(&Atom::from_slice("formaction"),
|
||||
|i| i.FormAction(),
|
||||
|f| f.Action())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -441,6 +449,11 @@ impl<'a> FormSubmitter<'a> {
|
|||
input_element.get_form_attribute(&Atom::from_slice("formenctype"),
|
||||
|i| i.FormEnctype(),
|
||||
|f| f.Enctype())
|
||||
},
|
||||
FormSubmitter::ButtonElement(button_element) => {
|
||||
button_element.get_form_attribute(&Atom::from_slice("formenctype"),
|
||||
|i| i.FormAction(),
|
||||
|f| f.Action())
|
||||
}
|
||||
};
|
||||
match attr.as_slice() {
|
||||
|
@ -460,6 +473,11 @@ impl<'a> FormSubmitter<'a> {
|
|||
input_element.get_form_attribute(&Atom::from_slice("formmethod"),
|
||||
|i| i.FormMethod(),
|
||||
|f| f.Method())
|
||||
},
|
||||
FormSubmitter::ButtonElement(button_element) => {
|
||||
button_element.get_form_attribute(&Atom::from_slice("formmethod"),
|
||||
|i| i.FormAction(),
|
||||
|f| f.Action())
|
||||
}
|
||||
};
|
||||
match attr.as_slice() {
|
||||
|
@ -477,6 +495,11 @@ impl<'a> FormSubmitter<'a> {
|
|||
input_element.get_form_attribute(&Atom::from_slice("formtarget"),
|
||||
|i| i.FormTarget(),
|
||||
|f| f.Target())
|
||||
},
|
||||
FormSubmitter::ButtonElement(button_element) => {
|
||||
button_element.get_form_attribute(&Atom::from_slice("formtarget"),
|
||||
|i| i.FormAction(),
|
||||
|f| f.Action())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -523,7 +546,4 @@ pub trait FormControl<'a> : Copy + Sized {
|
|||
}
|
||||
|
||||
fn to_element(self) -> JSRef<'a, Element>;
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-mutable
|
||||
fn mutable(self) -> bool;
|
||||
fn reset(self);
|
||||
}
|
||||
|
|
|
@ -303,6 +303,8 @@ pub trait HTMLInputElementHelpers {
|
|||
fn update_checked_state(self, checked: bool, dirty: bool);
|
||||
fn get_size(&self) -> u32;
|
||||
fn get_indeterminate_state(self) -> bool;
|
||||
fn mutable(self) -> bool;
|
||||
fn reset(self);
|
||||
}
|
||||
|
||||
#[allow(unsafe_blocks)]
|
||||
|
@ -392,6 +394,29 @@ impl<'a> HTMLInputElementHelpers for JSRef<'a, HTMLInputElement> {
|
|||
fn get_indeterminate_state(self) -> bool {
|
||||
self.indeterminate.get()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-mutable
|
||||
fn mutable(self) -> bool {
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-input-element:concept-fe-mutable
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-readonly-attribute:concept-fe-mutable
|
||||
let node: JSRef<Node> = NodeCast::from_ref(self);
|
||||
!(node.get_disabled_state() || self.ReadOnly())
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-input-element:concept-form-reset-control
|
||||
fn reset(self) {
|
||||
match self.input_type.get() {
|
||||
InputType::InputRadio | InputType::InputCheckbox => {
|
||||
self.update_checked_state(self.DefaultChecked(), false);
|
||||
self.checked_changed.set(false);
|
||||
},
|
||||
InputType::InputImage => (),
|
||||
_ => ()
|
||||
}
|
||||
|
||||
self.SetValue(self.DefaultValue());
|
||||
self.value_changed.set(false);
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> VirtualMethods for JSRef<'a, HTMLInputElement> {
|
||||
|
@ -583,32 +608,8 @@ impl<'a> FormControl<'a> for JSRef<'a, HTMLInputElement> {
|
|||
fn to_element(self) -> JSRef<'a, Element> {
|
||||
ElementCast::from_ref(self)
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-mutable
|
||||
fn mutable(self) -> bool {
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-input-element:concept-fe-mutable
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-readonly-attribute:concept-fe-mutable
|
||||
let node: JSRef<Node> = NodeCast::from_ref(self);
|
||||
!(node.get_disabled_state() || self.ReadOnly())
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-input-element:concept-form-reset-control
|
||||
fn reset(self) {
|
||||
match self.input_type.get() {
|
||||
InputType::InputRadio | InputType::InputCheckbox => {
|
||||
self.update_checked_state(self.DefaultChecked(), false);
|
||||
self.checked_changed.set(false);
|
||||
},
|
||||
InputType::InputImage => (),
|
||||
_ => ()
|
||||
}
|
||||
|
||||
self.SetValue(self.DefaultValue());
|
||||
self.value_changed.set(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
impl<'a> Activatable for JSRef<'a, HTMLInputElement> {
|
||||
fn as_element(&self) -> Temporary<Element> {
|
||||
Temporary::from_rooted(ElementCast::from_ref(*self))
|
||||
|
|
|
@ -187,6 +187,24 @@ impl<'a> HTMLTextAreaElementMethods for JSRef<'a, HTMLTextAreaElement> {
|
|||
}
|
||||
}
|
||||
|
||||
pub trait HTMLTextAreaElementHelpers {
|
||||
fn mutable(self) -> bool;
|
||||
fn reset(self);
|
||||
}
|
||||
|
||||
impl<'a> HTMLTextAreaElementHelpers for JSRef<'a, HTMLTextAreaElement> {
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-mutable
|
||||
fn mutable(self) -> bool {
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-textarea-element:concept-fe-mutable
|
||||
!(self.Disabled() || self.ReadOnly())
|
||||
}
|
||||
fn reset(self) {
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-textarea-element:concept-form-reset-control
|
||||
self.SetValue(self.DefaultValue());
|
||||
self.value_changed.set(false);
|
||||
}
|
||||
}
|
||||
|
||||
trait PrivateHTMLTextAreaElementHelpers {
|
||||
fn force_relayout(self);
|
||||
}
|
||||
|
@ -335,16 +353,4 @@ impl<'a> FormControl<'a> for JSRef<'a, HTMLTextAreaElement> {
|
|||
fn to_element(self) -> JSRef<'a, Element> {
|
||||
ElementCast::from_ref(self)
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-mutable
|
||||
fn mutable(self) -> bool {
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-textarea-element:concept-fe-mutable
|
||||
!(self.Disabled() || self.ReadOnly())
|
||||
}
|
||||
|
||||
fn reset(self) {
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#the-textarea-element:concept-form-reset-control
|
||||
self.SetValue(self.DefaultValue());
|
||||
self.value_changed.set(false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,11 +8,11 @@ interface HTMLButtonElement : HTMLElement {
|
|||
// attribute boolean autofocus;
|
||||
attribute boolean disabled;
|
||||
//readonly attribute HTMLFormElement? form;
|
||||
// attribute DOMString formAction;
|
||||
// attribute DOMString formEnctype;
|
||||
// attribute DOMString formMethod;
|
||||
attribute DOMString formAction;
|
||||
attribute DOMString formEnctype;
|
||||
attribute DOMString formMethod;
|
||||
// attribute boolean formNoValidate;
|
||||
// attribute DOMString formTarget;
|
||||
attribute DOMString formTarget;
|
||||
// attribute DOMString name;
|
||||
attribute DOMString type;
|
||||
// attribute DOMString value;
|
||||
|
|
|
@ -5886,21 +5886,9 @@
|
|||
[HTMLButtonElement interface: attribute form]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: attribute formAction]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: attribute formEnctype]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: attribute formMethod]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: attribute formNoValidate]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: attribute formTarget]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: attribute name]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5934,21 +5922,9 @@
|
|||
[HTMLButtonElement interface: document.createElement("button") must inherit property "form" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: document.createElement("button") must inherit property "formAction" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: document.createElement("button") must inherit property "formEnctype" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: document.createElement("button") must inherit property "formMethod" with the proper type (5)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: document.createElement("button") must inherit property "formNoValidate" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: document.createElement("button") must inherit property "formTarget" with the proper type (7)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: document.createElement("button") must inherit property "name" with the proper type (8)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -7365,528 +7365,12 @@
|
|||
[button.autofocus: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "application/x-www-form-urlencoded" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "xapplication/x-www-form-urlencoded" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "application/x-www-form-urlencoded\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "pplication/x-www-form-urlencoded" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "APPLICATION/X-WWW-FORM-URLENCODED" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "multipart/form-data" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "xmultipart/form-data" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "multipart/form-data\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "ultipart/form-data" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "MULTIPART/FORM-DATA" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "text/plain" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "xtext/plain" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "text/plain\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "ext/plain" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: setAttribute() to "TEXT/PLAIN" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to undefined followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to 7 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to 1.5 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to true followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to false followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to NaN followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to -Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to object "test-toString" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to object "test-valueOf" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "application/x-www-form-urlencoded" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "xapplication/x-www-form-urlencoded" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "xapplication/x-www-form-urlencoded" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "application/x-www-form-urlencoded\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "application/x-www-form-urlencoded\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "pplication/x-www-form-urlencoded" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "pplication/x-www-form-urlencoded" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "APPLICATION/X-WWW-FORM-URLENCODED" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "APPLICATION/X-WWW-FORM-URLENCODED" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "multipart/form-data" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "xmultipart/form-data" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "xmultipart/form-data" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "multipart/form-data\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "multipart/form-data\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "ultipart/form-data" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "ultipart/form-data" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "MULTIPART/FORM-DATA" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "MULTIPART/FORM-DATA" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "text/plain" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "xtext/plain" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "xtext/plain" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "text/plain\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "text/plain\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "ext/plain" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "ext/plain" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formEnctype: IDL set to "TEXT/PLAIN" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "get" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "xget" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "get\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "et" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "GET" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "post" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "xpost" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "post\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "ost" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "POST" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "dialog" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "xdialog" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "dialog\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "ialog" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: setAttribute() to "DIALOG" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to undefined followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to 7 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to 1.5 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to true followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to false followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to NaN followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to -Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to object "test-toString" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to object "test-valueOf" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "get" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "xget" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "xget" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "get\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "get\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "et" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "et" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "GET" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "GET" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "post" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "xpost" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "xpost" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "post\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "post\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "ost" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "ost" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "POST" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "POST" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "dialog" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "xdialog" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "xdialog" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "dialog\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "dialog\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "ialog" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "ialog" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formMethod: IDL set to "DIALOG" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7995,135 +7479,6 @@
|
|||
[button.formNoValidate: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to "" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to undefined followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to 7 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to 1.5 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to true followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to false followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to NaN followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to -Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to "\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to null followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to object "test-toString" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formTarget: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.name: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
[formAction_document_address.html]
|
||||
type: testharness
|
||||
[Check if button.formAction is the document\'s address when formaction content attribute is missing]
|
||||
expected: FAIL
|
||||
|
||||
[Check if button.formAction is the document\'s address when formaction content attribute value is empty string]
|
||||
expected: FAIL
|
||||
|
||||
[Check if button.formAction is the document\'s address when formaction content attribute value is not assigned]
|
||||
expected: FAIL
|
||||
|
|
@ -1,8 +1,5 @@
|
|||
[formaction.html]
|
||||
type: testharness
|
||||
[formAction on button support]
|
||||
expected: FAIL
|
||||
|
||||
[formAction relative URL value on input reflects correct value after being updated by the DOM]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue