Skip to content

Commit b1393fa

Browse files
authored
Merge pull request #28 from bitwarden/pm-38841
[PM-38841] Forms map entries added for iframe cases
2 parents 35b3539 + 925a727 commit b1393fa

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

maps/forms/forms.jsonc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,50 @@
252252
}
253253
]
254254
},
255+
"/forms/login/iframe-login": {
256+
"forms": [
257+
{
258+
"category": "account-login",
259+
"container": ["iframe#test-iframe >>> form[action='/login']"],
260+
"fields": {
261+
"username": [
262+
"iframe#test-iframe >>> form[action='/login'] input#username"
263+
],
264+
"password": [
265+
"iframe#test-iframe >>> form[action='/login'] input#password"
266+
]
267+
},
268+
"actions": {
269+
"submit": [
270+
"iframe#test-iframe >>> form[action='/login'] button[type='submit']"
271+
]
272+
}
273+
}
274+
]
275+
},
276+
"/forms/login/iframe-sandboxed-login": {
277+
"forms": [
278+
{
279+
"category": "account-login",
280+
"container": [
281+
"iframe#test-iframe[sandbox] >>> form[action='/login']"
282+
],
283+
"fields": {
284+
"username": [
285+
"iframe#test-iframe[sandbox] >>> form[action='/login'] input#username"
286+
],
287+
"password": [
288+
"iframe#test-iframe[sandbox] >>> form[action='/login'] input#password"
289+
]
290+
},
291+
"actions": {
292+
"submit": [
293+
"iframe#test-iframe[sandbox] >>> form[action='/login'] button[type='submit']"
294+
]
295+
}
296+
}
297+
]
298+
},
255299
"/forms/login/shadow-root-inputs-closed": {
256300
"forms": [
257301
{

0 commit comments

Comments
 (0)