Conversation
|
Hello. Thank you, little bit better but still extension throws error.
Solution can be - don't activate plugin on pages with mime type other than HTML. |
|
Found reason. instanceof gives true on XML docs, because XMLDocument and HTMLDocument both extends same type. Changed verification to This is final version of injectPageScript function |
|
Maybe if (document.contentType !== "text/html") { |
|
I think is enough. Result will be the same, from information i know. |
This gives me 'object' |
|
Uh... document.constructor.name => "HTMLDocument" Let's change line 1 to |
|
Checked last artifact download URL: https://github.com/web-eid/web-eid-webextension/actions/runs/19536024038/artifacts/4626976308 Everything works correct on XML, HTML and text pages, no errors. |
TypeError: can't access property "name", s.dataset is undefined WE2-1143 Signed-off-by: Raul Metsma <raul@metsma.ee>
|
Sorry, maybe it's time to merge? Or what we are waiting for? This is what i currently have installed from plugin repo: Author Riigi Infosüsteemi Amet |
|
We are waiting for testers' testing. We have a deliberate process and release cadence, the new version with this fix will be published to browser store during the next release cycle in end of Q1 or so. |


TypeError: can't access property "name", s.dataset is undefined
WE2-1143
Signed-off-by: Raul Metsma raul@metsma.ee