chrome.runtime.getURL("/index.html") in chrome extension causes pages to keep on loading #17066
Labels
feature/extensions
OS/Desktop
priority/P5
Not scheduled. Don't anticipate work on this any time soon.
Description
I'm working on a chrome extension and I'm injecting a content script which injects a iframe of which src I'm setting to
chrome.runtime.getURL("/index.html")
When I remove this line the pages load properly but this line causes the pages to keep on loading, I have tried this extension in google chrome and it works perfectly fine there, It was even working in brave before but I think some update broke it.
Steps to Reproduce
Actual result:
Pages don't finish loading
Expected result:
The pages should finish loading
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Brave 1.26.77 Chromium: 91.0.4472.164 (Official Build) (64-bit)
Revision 541163496c9982c98f61819bab7cf2183ea8180f-refs/branch-heads/4472@{#1569}
OS Windows 10 OS Version 2009 (Build 19043.1110)
JavaScript V8 9.1.269.39
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36
Command Line "C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --enable-dom-distiller --disable-domain-reliability --no-pings --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --enable-features=PrefetchPrivacyChanges,WebUIDarkMode,PasswordImport,ReducedReferrerGranularity,AutoupgradeMixedContent,SafetyTip,WinrtGeolocationImplementation,LegacyTLSEnforced --disable-features=AutofillServerCommunication,FederatedLearningOfCohorts,HandwritingRecognitionWebPlatformApi,HandwritingRecognitionWebPlatformApiFinch,FlocIdComputedEventLogging,FledgeInterestGroups,InterestCohortFeaturePolicy,DirectSockets,TrustTokens,SignedExchangeSubresourcePrefetch,AutofillEnableAccountWalletStorage,FledgeInterestGroupAPI,EnableProfilePickerOnStartup,TextFragmentAnchor,SignedExchangePrefetchCacheForNavigations,NetworkTimeServiceQuerying,SubresourceWebBundles,IdleDetection,LangClientHintHeader,NotificationTriggers,WebOTP,FirstPartySets,InterestCohortAPIOriginTrial,LiveCaption --flag-switches-begin --flag-switches-end
Executable Path C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe
Profile Path C:\Users\rohan\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default
Variations AdRewardsStudy:NextPaymentDay
EphemeralStorageStudy:Enabled
NativeCosmeticFilteringStudy:Enabled
PermissionLifetimeReleaseStudy:Enabled
Other Additional Information:
The text was updated successfully, but these errors were encountered: