Issue with javascript in Chrome window created by extensionChrome Extension Manifest 'Matches'Can the window object be modified from a Chrome extension?Is it possible to change the URL of the popup window in a Chrome extension?Create new window and insert dynamic content in Chrome ExtensionUsing code(extension development) can we change popup settings for particular website in chrome?Chrome extension: how to trap/handle content-script errors globally?How to create chrome tab of develop Chrome Extension like window.location?Chrome extension disabled “This extension may have been corrupted” Chrome 63.0.3239.84Opening chrome extension using a linkRun a chrome extension with javascript

Why do some PCBs have exposed plated perimeters?

Rear derailleur got caught in the spokes, what could be a root cause

The alcoholic village festival

Could you fall off a planet if it was being accelerated by engines?

Do home values typically rise and fall consistently across different price ranges?

What are the children of two Muggle-borns called?

Is it OK to throw pebbles and stones in streams, waterfalls, ponds, etc.?

The Lucas argument vs the theorem-provers -- who wins and why?

How do I keep a running total of data in a column in Excel?

Why wasn't ASCII designed with a contiguous alphanumeric character order?

A* pathfinding algorithm too slow

Why doesn't SpaceX land boosters in Africa?

How would one prevent political gerrymandering?

Why do movie directors use brown tint on Mexico cities?

Automorphisms and epimorphisms of finite groups

Does it make sense to (partially) create a conlang that you don't intend to actually use in the story?

Why will we fail creating a self sustaining off world colony?

Tricolour nonogram

Is it theoretically possible to hack printer using scanner tray?

Could all three Gorgons turn people to stone, or just Medusa?

Having to constantly redo everything because I don't know how to do it

What does 'in attendance' mean on a death certificate - England?

How does the 'five minute adventuring day' affect class balance?

How useful would a hydroelectric power plant be in the post-apocalypse world?



Issue with javascript in Chrome window created by extension


Chrome Extension Manifest 'Matches'Can the window object be modified from a Chrome extension?Is it possible to change the URL of the popup window in a Chrome extension?Create new window and insert dynamic content in Chrome ExtensionUsing code(extension development) can we change popup settings for particular website in chrome?Chrome extension: how to trap/handle content-script errors globally?How to create chrome tab of develop Chrome Extension like window.location?Chrome extension disabled “This extension may have been corrupted” Chrome 63.0.3239.84Opening chrome extension using a linkRun a chrome extension with javascript













0















I have a Chrome extension that creates a new Chrome window and loads a URL in the newly created window.



This works as expected, but the URL that is being loaded in the new window is seeing errors that prevent the Javascript on the page from executing. The same URL works without any errors when loaded in a Chrome window created manually.



I have tried loading the URL in a regular Chrome window and in a Chrome window created programmatically by my Chrome extension. I have also removed ALL other functionality from the Chrome extension to verify that our Chrome extension does not have any other impact.



Here is how I'm creating the new window and loading the URL:



chrome.windows.create(, function(newWindow) {


The URL should load exactly the same whether manually by pasting the URL in a Chrome window created by going to File > New Window and those created programmatically via a Chrome extension.



What is the difference between the Chrome windows created by going to File > New Window and those created programmatically via a Chrome extension? What might cause the URL to load or execute Javascript differently in windows created by the Chrome extension?










share|improve this question






















  • Sounds like a bug in Chrome. See if you can repro the bug in a much older portable Chrome and in Chrome Canary.

    – wOxxOm
    Mar 25 at 16:00











  • It may be possible that this has something to do with WebGL support. When I load up get.webgl.org in a regular Chrome window I get the spinning box indicating that WebGL is functioning as expected. However, when I load up the same page in a new window programmatically via the Chrome extension the spinning cube does not appear indicating that WebGL content is not rendering.

    – Cheeky
    Mar 26 at 18:48











  • Still sounds like a bug in Chrome.

    – wOxxOm
    Mar 26 at 18:56















0















I have a Chrome extension that creates a new Chrome window and loads a URL in the newly created window.



This works as expected, but the URL that is being loaded in the new window is seeing errors that prevent the Javascript on the page from executing. The same URL works without any errors when loaded in a Chrome window created manually.



I have tried loading the URL in a regular Chrome window and in a Chrome window created programmatically by my Chrome extension. I have also removed ALL other functionality from the Chrome extension to verify that our Chrome extension does not have any other impact.



Here is how I'm creating the new window and loading the URL:



chrome.windows.create(, function(newWindow) {


The URL should load exactly the same whether manually by pasting the URL in a Chrome window created by going to File > New Window and those created programmatically via a Chrome extension.



What is the difference between the Chrome windows created by going to File > New Window and those created programmatically via a Chrome extension? What might cause the URL to load or execute Javascript differently in windows created by the Chrome extension?










share|improve this question






















  • Sounds like a bug in Chrome. See if you can repro the bug in a much older portable Chrome and in Chrome Canary.

    – wOxxOm
    Mar 25 at 16:00











  • It may be possible that this has something to do with WebGL support. When I load up get.webgl.org in a regular Chrome window I get the spinning box indicating that WebGL is functioning as expected. However, when I load up the same page in a new window programmatically via the Chrome extension the spinning cube does not appear indicating that WebGL content is not rendering.

    – Cheeky
    Mar 26 at 18:48











  • Still sounds like a bug in Chrome.

    – wOxxOm
    Mar 26 at 18:56













0












0








0








I have a Chrome extension that creates a new Chrome window and loads a URL in the newly created window.



This works as expected, but the URL that is being loaded in the new window is seeing errors that prevent the Javascript on the page from executing. The same URL works without any errors when loaded in a Chrome window created manually.



I have tried loading the URL in a regular Chrome window and in a Chrome window created programmatically by my Chrome extension. I have also removed ALL other functionality from the Chrome extension to verify that our Chrome extension does not have any other impact.



Here is how I'm creating the new window and loading the URL:



chrome.windows.create(, function(newWindow) {


The URL should load exactly the same whether manually by pasting the URL in a Chrome window created by going to File > New Window and those created programmatically via a Chrome extension.



What is the difference between the Chrome windows created by going to File > New Window and those created programmatically via a Chrome extension? What might cause the URL to load or execute Javascript differently in windows created by the Chrome extension?










share|improve this question














I have a Chrome extension that creates a new Chrome window and loads a URL in the newly created window.



This works as expected, but the URL that is being loaded in the new window is seeing errors that prevent the Javascript on the page from executing. The same URL works without any errors when loaded in a Chrome window created manually.



I have tried loading the URL in a regular Chrome window and in a Chrome window created programmatically by my Chrome extension. I have also removed ALL other functionality from the Chrome extension to verify that our Chrome extension does not have any other impact.



Here is how I'm creating the new window and loading the URL:



chrome.windows.create(, function(newWindow) {


The URL should load exactly the same whether manually by pasting the URL in a Chrome window created by going to File > New Window and those created programmatically via a Chrome extension.



What is the difference between the Chrome windows created by going to File > New Window and those created programmatically via a Chrome extension? What might cause the URL to load or execute Javascript differently in windows created by the Chrome extension?







google-chrome-extension






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 25 at 15:48









CheekyCheeky

12 bronze badges




12 bronze badges












  • Sounds like a bug in Chrome. See if you can repro the bug in a much older portable Chrome and in Chrome Canary.

    – wOxxOm
    Mar 25 at 16:00











  • It may be possible that this has something to do with WebGL support. When I load up get.webgl.org in a regular Chrome window I get the spinning box indicating that WebGL is functioning as expected. However, when I load up the same page in a new window programmatically via the Chrome extension the spinning cube does not appear indicating that WebGL content is not rendering.

    – Cheeky
    Mar 26 at 18:48











  • Still sounds like a bug in Chrome.

    – wOxxOm
    Mar 26 at 18:56

















  • Sounds like a bug in Chrome. See if you can repro the bug in a much older portable Chrome and in Chrome Canary.

    – wOxxOm
    Mar 25 at 16:00











  • It may be possible that this has something to do with WebGL support. When I load up get.webgl.org in a regular Chrome window I get the spinning box indicating that WebGL is functioning as expected. However, when I load up the same page in a new window programmatically via the Chrome extension the spinning cube does not appear indicating that WebGL content is not rendering.

    – Cheeky
    Mar 26 at 18:48











  • Still sounds like a bug in Chrome.

    – wOxxOm
    Mar 26 at 18:56
















Sounds like a bug in Chrome. See if you can repro the bug in a much older portable Chrome and in Chrome Canary.

– wOxxOm
Mar 25 at 16:00





Sounds like a bug in Chrome. See if you can repro the bug in a much older portable Chrome and in Chrome Canary.

– wOxxOm
Mar 25 at 16:00













It may be possible that this has something to do with WebGL support. When I load up get.webgl.org in a regular Chrome window I get the spinning box indicating that WebGL is functioning as expected. However, when I load up the same page in a new window programmatically via the Chrome extension the spinning cube does not appear indicating that WebGL content is not rendering.

– Cheeky
Mar 26 at 18:48





It may be possible that this has something to do with WebGL support. When I load up get.webgl.org in a regular Chrome window I get the spinning box indicating that WebGL is functioning as expected. However, when I load up the same page in a new window programmatically via the Chrome extension the spinning cube does not appear indicating that WebGL content is not rendering.

– Cheeky
Mar 26 at 18:48













Still sounds like a bug in Chrome.

– wOxxOm
Mar 26 at 18:56





Still sounds like a bug in Chrome.

– wOxxOm
Mar 26 at 18:56










0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55341616%2fissue-with-javascript-in-chrome-window-created-by-extension%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55341616%2fissue-with-javascript-in-chrome-window-created-by-extension%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript