Open
Description
version: v3.7.0
If location.href
is a url like "data:text/html;base64,PHNjcmlwdD4Kd2luZG93Lm9ubWVzc2FnZSA9IC..."(which is common in figma plugins development) , the value of location.origin becomes "null", causing new URL(relativePath, location.origin) to fail during construction.
This results in the error:
Uncaught TypeError: Failed to construct 'URL': Invalid base URL
at LB (:190:5457)
...
Metadata
Metadata
Assignees
Labels
No labels