WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
248155
browser.runtime.getURL() has some edge cases that should be failures or return different results
https://bugs.webkit.org/show_bug.cgi?id=248155
Summary
browser.runtime.getURL() has some edge cases that should be failures or retur...
Timothy Hatcher
Reported
2022-11-20 12:31:45 PST
Non-string types: browser.runtime.getURL(42); // ${baseURL}/42 browser.runtime.getURL(/test/); // ${baseURL}/test/ Double-slashes truncate the host: browser.runtime.getURL('//'); // test-extension:// browser.runtime.getURL('//example'); // test-extension://example browser.runtime.getURL('///'); // test-extension:///
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-11-27 12:32:15 PST
<
rdar://problem/102694661
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug