Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added test formAction_document_address.html #238

Conversation

zqzhang
Copy link
Contributor

@zqzhang zqzhang commented Jul 5, 2013

This test verifies that on getting the formAction IDL attribute,
when the content attribute is missing or its value is the empty string,
the document's address must be returned instead.

http://www.w3.org/TR/2012/CR-html5-20121217/forms.html#dom-fs-formaction

@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/202

This is an external review system which you may optionally use for the code review of your pull request.

@jgraham
Copy link
Contributor

jgraham commented Jul 31, 2013

Reviewed in https://critic.hoppipolla.co.uk/r/239 due to history rewrite.

test(function() {
var formAction = document.querySelector('#missing input').formAction;
var address = document.location.href;
assert_equals(formAction, address);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this assertion is different from 'formAction no specified on input returns an empty string' in formaction.html

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formaction.html has been updated and moved to proper place in #480; so no difference now.

@Ms2ger
Copy link
Contributor

Ms2ger commented Jan 21, 2014

@zqzhang, could you address the comments on critic?

@zqzhang
Copy link
Contributor Author

zqzhang commented Jan 22, 2014

@Ms2ger, thanks for the reminder. I have addressed the comments, please check it again.

Zhiqiang Zhang added 3 commits January 23, 2014 00:09
This test verifies that nn getting the formAction IDL attribute,
when the content attribute is missing or its value is the empty string,
the document's address must be returned instead.

formaction.html is moved from Microsoft submission with
spec link updated to corresponding CR spec link.
to start with the formaction content attribute missing,
to its value as empty string and no value assigned
for comparison.
zqzhang added a commit that referenced this pull request Jan 23, 2014
…cument_address

Added test formAction_document_address.html
@zqzhang zqzhang merged commit 30c5bd6 into web-platform-tests:master Jan 23, 2014
@zqzhang zqzhang deleted the submission/zqzhang/formAction_document_address branch January 23, 2014 01:32
jgraham added a commit that referenced this pull request Apr 21, 2017
Add a --webdriver-arg that passes extra options to the webdriver
server binary. Depending on the implementation this may allow setting
e.g. the browser binary and the logging level.
gsnedders added a commit that referenced this pull request May 13, 2019
ea389ca278 chore(package): bump version number to 20.0.1
518e5cc12b chore(CHANGELOG): regenerate
aa3588b457 chore(dist): update
7ceaf0ee5b refactor(lib/webidl2): enum as a module (#318)
27b0eb31d3 fix(lib/webidl2): emit error message correctly (#317)
bcb8c32c69 docs(lib/writer): fix extendedAttribute example
1ddd771ed8 docs(lib/writer): document generic() (#315)
86029c5866 chore(package): bump version number to 20.0.0
f195b986b8 chore(CHANGELOG): regenerate
7423f5d8f7 chore(dist): update
996d4f7e71 feat(lib/writer): introduce generic() hook (#314)
87b07ec705 refactor(lib/webidl2): modularize Default (#312)
be140dad86 refactor(lib/webidl2): modularize Token and list() (#311)
464d3a1e2b refactor(lib/webidl2): modularize Includes (#310)
6b3b7c54f5 chore(package): bump version number to 19.0.1
c68baccbb2 chore(CHANGELOG): regenerate
97851631ab chore(dist): update
1cc6b3e257 fix(lib/writer): call ts.trivia with actual string (#309)
e84ba4fd34 chore(CHANGELOG): regenerate
37f87e6393 chore(package): bump version number to 19.0.0
6486380999 update dist
6340c3e1e4 fix(lib/webidl2): restore error fields (#308)
c6a7c97358 fix(lib/webidl2): rename float as decimal (#307)
048e3d748e BREAKING CHANGE: remove all trivia fields (#306)
f37e39e928 BREAKING CHANGE: remove baseName and escaped* fields (#305)
b0c5a9e5e6 BREAKING CHANGE: remove token fields (#304)
e1aa18822f BREAKING CHANGE: remove trivia from boolean fields (#303)
112862924c refactor: merge error functions (#299)
1926437649 fix(checker): add an empty line between messages (#298)
3de7e3066a chore(package): bump version number to 18.0.1
a3637e9c20 update build
09c4e4f725 chore(package): bump version number to 18.0.0
df4c73deef fix(lib/validator): validate when overloads are all from mixins (#296)
a8e81d479e refactor: use module for checker (#295)
679395293f fix(checker): use webpack build result (#294)
abd41222d5 refactor: use ES module syntax and bundle by webpack (#293)
aa75ae538c feat: add validation feature to the checker page (#292)
b7e7b1ba99 feat: a validator for IDL (#262)
852194f5ee refactor: remove remaining JSON idlTypes (#291)
b8590cd281 refactor: use Type for primitive types (#290)
44987f3bf5 refactor: generic type as a class (#289)
c86dac1295 refactor: union type as a class (#288)
64f0fa50d7 refactor: argument as a class (#287)
209c1d4cf4 fix(lib/webidl2): disallow empty generic type (#286)
927328d5c7 fix(lib/webidl2): disallow null on constants (#284)
45287bf978 refactor: use list() in identifiers()/enums (#285)
2d555baf51 refactor: extended attributes as a class (#283)
11afb8e7ea refactor: extended attribute as a class (#282)
7d1562c406 refactor: default value as a class (#281)
812a292252 BREAKING CHANGE: constant as a class (#280)
44b68f8afc refactor(lib/writer): use tokens object in container() (#273)
a9bb14d43e add a test case (#277)
7c07ca4eb5 refactor: attribute as a class (#276)
a25f052736 refactor: operation as a class (#275)
dba7a4b8b7 test(lib/webidl2): nullable constant with typedef identifiers (#279)
903c374ebb refactor: callback function as a class  (#278)
f396b5182d refactor: iterable as a class (#274)
810d2db4cf refactor: containers as classes (#272)
ce9787caab refactor: namespace as a class (#271)
56a590d327 refactor: dictionary as a class (#270)
5e51ccec85 refactor: field as a class (#268)
9643425b8e refactor(lib/webidl2): move toJSON to Definition (#269)
c13e3aa65f refactor: enum as a class (#267)
ae4a1b4fd8 refactor: typedef as a class (#266)
81edfc0774 refactor: includes as a class (#265)
f9c0d44f49 chore: add .gitattributes (#264)
51618dced6 style: apply no-trailing-spaces (#263)
d9c160f4ba chore(package): bump version number to 17.0.2
1a2147bb20 fix(lib/webidl2): apply a preceding hyphen for identifiers (#261)
c27f3c3e94 fix(checker): avoid using innerText (#260)
4b0443568c fix(lib/webidl2): restore enum value string form in error (#258)
805e2b2ea2 docs: lowercase the example namespace "Console" (#257)
16d5a92b2d chore(CHANGELOG): regenerate
3bb235ca95 chore(package): bump version number to 17.0.1
1aa1258028 fix: unescape includes/idlTypes/inheritances (#253)
e57f46632b fix(lib/webidl2): prevent any in a union type (#254)
8cbec8b4d0 Revert "fix(lib/webidl2): prevent any in a union type"
73c15634ac fix(lib/webidl2): prevent any in a union type
c393451a43 feat(lib/webidl): subclass standard error (#247)
6e2a83bfee chore(CHANGELOG): regenerate
3f8ac3f23b 17.0.0
9e2c43da44 BREAKING CHANGE: remove .extAttrs from arguments (#248)
ec05bc243b 16.1.0
4ae64a8766 Add unit tests for writer template functions (#245)
dd89780e22 feat(lib/webidl2): better error messages  (#244)
edaf314b6a Add docs for template feature (#243)
df4484597e Revert "add test for writer template feature"
19f5e6e8f8 Revert "upgrade eslint"
7e886e9f26 add test for writer template feature
1313c80c16 upgrade eslint
1014b33145 feat(lib/writer): write() with optional templates (#241)
5d5a645936 chore(package): bump version number to 16.0.0
3c538be29f BREAKING CHANGE: merge modifier fields (#240)
7350bb1227 refactor(lib/writer): use container() (#239)
b215543038 refactor(lib/writer): use token() (#238)
0a0bfa9ee9 refactor(lib/writer): reduce conditional constructs (#237)
40a048b800 chore: remove jscov (#236)
018b24f7fc chore(package): update eslint (#235)
d38c4ed618 eslint: prevent eval() (#234)
8ff7a963cf chore(package-locK): regenerate
731f5edb5a chore(CHANGELOG): regenerated
d759b8c968 chore(package): update version + deps
568e1d5db6 docs(README): enum value's type is now enum-value (#233)
f3462f9501 BREAKING CHANGE: enum values should be of type enum-value (#232)
46b250286d fix: escape top identifiers (#229)
91bba911e5 fix(lib/webidl): disallow multiple special keywords (#224)
b2a9f6c901 BREAKING CHANGE: Drop support for implements statement (#106)
da93c9373b refactor(lib/writer): horizontally shorter type() (#221)
2e03190e30 chore(README): operation body always has idlType (#218)
6cc3277c9d chore(package): bump version number to 14.0.1
a3e89c87d2 fix(index): import writer from index (#219)
1582972c21 chore(CHANGELOG): regenerate
402e4e3514 chore(package): bump version number to 14.0.0
698b8e991d Document changes for idlType and extAttrs (#217)
7328816495 Document trivia for root type declarations/members (#214)
b3fd89040d BREAKING CHANGE: remove support for legacyiterable (#216)
cce0d6d484 Document trivia for iterable-likes (#213)
b5b4d90a12 Document trivia for interfaces/mixins/namespaces (#212)
69a0f2b5ac Document generic array, escapedName and removal of sequence (#211)
7d08a0c8af BREAKING CHANGE: support full whitespace conservation (#185)
bbe95578bd trivia for implements/includes (#209)
9df331ce7d Add trivia for enums and typedefs (#207)
2559b95c75 Add trivia for callbacks (#206)
4cbd4143ba Add trivia for partial types (#205)
fc147026f7 trivia for dictionaries (#204)
be9126fa7b Add trivia for mixins and namespaces (#203)
b02aa3366a Use eslint minimally (#202)
74cd53340d Add trivia for extended attributes (#201)
7524981417 Add trivia for extended attribute identifiers (#200)
3d682826e2 Add trivia for const member type (#199)
25d5919278 trivia for arguments (#198)
b17417ca83 trivia for operation (#197)
6e12a109d1 trivia for inheritance (#195)
79d791a389 Add trivia for iterable declarations (#194)
0cb3e7cba4 Add trivia for modifiers (#193)
ecebf30070 Add trivia for idlTypes (#192)
32f11bc730 BREAKING CHANGE: remove nullable field from const type (#189)
f4292a7a21 Generics always as an array (#188)
1ea9f9c91a fix: prevent empty iterable declaration (#187)
d36f7e4b7e Add trivia field for interfaces/mixins (#186)

git-subtree-dir: resources/webidl2
git-subtree-split: 306cf6479f909a38297c4982e79171958669fe55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants