Whether the results returned by chrome.webNavigation.getAllFrames contain undocumented properties

47 views
Skip to first unread message

tom mak

unread,
Oct 13, 2023, 4:20:28 AM10/13/23
to Chromium Extensions
At the beginning, when my product was executed through chrome.tabs.executeScript on the user's computer, I found that the callback function would not be called. 
When using other products with similar functions, I found that the function was normal. After analyzing the product, I found that before execution, it determines whether the result returned by chrome.webNavigation.getAllframes contains the crossOriginError attribute, but it is not recorded in the official documentation, so is this attribute indeed effective at some point?
微信截图_20231013161722.png

Oliver Dunk

unread,
Oct 13, 2023, 4:34:45 AM10/13/23
to tom mak, Chromium Extensions
Hi Tom,

I'm not familiar with that property, and I don't see it in a Google search or a quick look at our source code.

Perhaps some other code within the extension was setting this property?

Either way, I wouldn't expect it to be returned today.
Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/c3c58dea-451f-4c7a-99be-45f2da23770cn%40chromium.org.

tom mak

unread,
Oct 13, 2023, 5:12:27 AM10/13/23
to Chromium Extensions, Oliver Dunk, Chromium Extensions, tom mak
Thanks Reply!
Continuing to analyze the code, I found that it also judged the errorOccurred attribute, which was indeed not judged in my code

Reply all
Reply to author
Forward
0 new messages