You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In firefox, if I make a make use of an if else statement containing storeEval the storeEval statement will be executed even if the if statement's condition is not met.
Example:
Result:
As can be seen here, as expected the only text that was echoed out of "Within else" and "Within if" was "Within else", however, even though the if condition was not met, storeEval ran and increased the value of thisShouldBe1 from 1 to 2.
When executed on chrome, it works as intended:
The text was updated successfully, but these errors were encountered:
In firefox, if I make a make use of an if else statement containing storeEval the storeEval statement will be executed even if the if statement's condition is not met.
![image](https://private-user-images.githubusercontent.com/72388216/243304604-2e5fb170-9c80-43e9-aad2-82580bc2111e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTIwNjAsIm5iZiI6MTczOTA5MTc2MCwicGF0aCI6Ii83MjM4ODIxNi8yNDMzMDQ2MDQtMmU1ZmIxNzAtOWM4MC00M2U5LWFhZDItODI1ODBiYzIxMTFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA5MDI0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmYWNlMmE2NWIxNmFmODY3MTUwM2ZmZjViOTEzMzZlMjQzYWYzNjM3MmE1OWE2ODY0OWUwNDc3OWMxMWEzZTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4KQVB2W--mtNR43yqJ5oHiG033r7WOyJto_UAPvV1Cs)
![image](https://private-user-images.githubusercontent.com/72388216/243304764-b61437e0-edc3-4dc1-ab79-25c4f93f7c9d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTIwNjAsIm5iZiI6MTczOTA5MTc2MCwicGF0aCI6Ii83MjM4ODIxNi8yNDMzMDQ3NjQtYjYxNDM3ZTAtZWRjMy00ZGMxLWFiNzktMjVjNGY5M2Y3YzlkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA5MDI0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE1MjE0ODc3NDBmYWI5ZTAwMTAwM2Q3MzQzMGYxYWEwYmZkYzk5MTU1ZmQxYWJhMWI0Y2IxMmE0MzI2YjJjZTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.aGzrLwDMRzP_G-gDBJALOG1_cgnnnMXhGg_l9nGVIno)
![image](https://private-user-images.githubusercontent.com/72388216/243304831-2a627f04-6b42-47c6-baf4-42438f5786f6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTIwNjAsIm5iZiI6MTczOTA5MTc2MCwicGF0aCI6Ii83MjM4ODIxNi8yNDMzMDQ4MzEtMmE2MjdmMDQtNmI0Mi00N2M2LWJhZjQtNDI0MzhmNTc4NmY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA5MDI0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYwMThmYjE0YmY0N2E5ZmFlZDQ3OWEyNjgxMjFiMTVhZjZlMmFlOTg1OGE3YzNiM2M1NThhYzUwYTY4MzRiNDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F2d9HZ0gshdyxUdizddUQKQUGAyWE5ipMhOEfoFKQf4)
Example:
Result:
As can be seen here, as expected the only text that was echoed out of "Within else" and "Within if" was "Within else", however, even though the if condition was not met, storeEval ran and increased the value of thisShouldBe1 from 1 to 2.
When executed on chrome, it works as intended:
![image](https://private-user-images.githubusercontent.com/72388216/243307942-3fcefc81-bda0-4486-abd2-5832fd008cbb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTIwNjAsIm5iZiI6MTczOTA5MTc2MCwicGF0aCI6Ii83MjM4ODIxNi8yNDMzMDc5NDItM2ZjZWZjODEtYmRhMC00NDg2LWFiZDItNTgzMmZkMDA4Y2JiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDA5MDI0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY0NjRlMTE4ODZmNDRhZTM3NzYyMzk1NjA3NTZhZjMyZDQ5Zjc5NjM3NDI5NjY3MWMyNDViM2ZlYTIxZjgxMTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.BFFaT0zTRV5ux7ygZ8X-12Ofh7MZnCanZoNaOLsAauY)
The text was updated successfully, but these errors were encountered: