Update chrome.js

This commit is contained in:
Namhyeon Go 2025-06-08 17:57:58 +09:00
parent 044ab2fb24
commit cace5c60b3

View File

@ -1254,7 +1254,9 @@ var ChromeObject = function() {
return this.getEvaluatedValue('(confirm("' + s + '") ? "true" : "false")');
};
// @deprecated
/**
* @deprecated Use Chrome.setPublisherName instead of Chrome.setVendor
*/
this.setVendor = function(vendor) {
this.setPublisherName(vendor);
console.warn("Deprecated: Please use setPublisherName");