Running into some issues with windows in chrome packaged apps. In the docs it says windows have the function close() and minimize()
window.close(); //works fine
However, when I try to minimize I get this:
window.minimize(); //Uncaught TypeError: Object [object global] has no method 'minimize'
Any ideas?
After fiddling I figured it out:
chrome.app.window.current().minimize();
Works fine now
Related
I'm getting an error in the remix ide:
call to plugin has timed out compilerMetadata - deployMetadataOf - {"from":"udapp","path":"compilerMetadata"}
The error is also seen as:
[TIMED OUT]: Call to method "deployMetadataOf" from "udapp" to plugin...
This is most like due to Metamask account being changed.
Refresh the Remix page and it should work fine.
You can also just restart your browser. That worked for me.
[ANSWER] This seems to be a browser based issue. I receive this error from Remix IDE on a Chrome instance, but when I switch to Firefox, the issue doesn't persist.
Clearing browser cache (ctrl + shift + delete) worked for me. PS if your using Remix, make sure to save your work somewhere just in case
I'm getting an error when loading the Forge Viewer v3.2.1.
I've just tried with v3.1.1 and it's working fine.
The error thrown in the console is:
ERROR TypeError: WGS is undefined
Autodesk.Viewing.Private.initializeLegacyNamespaces#https://developer.api.autodesk.com/viewingservice/v1/viewers/viewer3D.min.js?v=v3.2.1:12:10590
e#https://developer.api.autodesk.com/viewingservice/v1/viewers/viewer3D.min.js?v=v3.2.1:42:7197
j#https://developer.api.autodesk.com/viewingservice/v1/viewers/viewer3D.min.js?v=v3.2.1:42:5825
It was working fine yesterday, and I haven't touched my code, so I assume it is a bug.
Thanks.
The url you should use is https://developer.api.autodesk.com/derivativeservice/v2/viewers/viewer3D.min.js?v=3.2.1. My apps are using this and it works fine.
I'm loading this version like this:
https://developer.api.autodesk.com/derivativeservice/v2/viewers/viewer3D.min.js?v=3.2.*
Add the script like that it is working for me.
I have just finished my project that uses Google Maps API. when I tested on my mobile it failed. I started debugging and it seems to be having problems getting the current position
navigator.geolocation.getCurrentPosition(function(position){ ... }, function(error){ ... }):
This line fails on Chrome and default browser, the callback function is never called (and I don't know how to see what error is thrown).
So I started using the Chrome emulator ( Refer to this ) and no error is being triggered. Everything works well.
And I am passing a second function to handle errors to getCurrentPosition and nothing is displayed... what would be the problem?! Do you know what can I do to make it work on my mobile? Any other test I can do?
I tested on different computers and it works
The settings allow me to share my current position
I have a Rest service which if I execute it in IE or Firefox it executes fine.
http://MyPC.com/Services/REST.svc/Work/Lists?$format=json
But when I try to execute it in Chrome I just get this error.
http://MyPC.com/Services/REST.svc/Work/Lists?$format=json:1 GET http://MyPC.com/Services/REST.svc/Work/Lists?$format=json net::ERR_CONNECTION_RESET
Has anyone experienced this before and find a way to resolve it.
I've played around with the bindings in the config with no success
Just a note, I tried another Rest Service which I wasn't hosting and it worked in both IE and Chrome.
So it doesn't look like the issue is with Chrome.
I just want to add I didn't write any of these services, I'm still figuring it all out
Seems it sending the windows credentials through in binding did the trick, Chrome for some reason throws a connection issue when it didn't have the credentials for the service where as IE and Firefox seem to sk for the credentials when its required
I am calling
Hyena.Store = DS.Store.extend({
revision: 11,
adapter: DS.RESTAdapter.extend()
});
It doesn't work Chrome browser with a heap of errors like Uncaught TypeError: Cannot call method 'extend' of undefined and DS.RESTAdapter has no method extend. Anyone have an idea why? It works fine in Safari and Firefox, but only loads 1 in 10 times in Chrome.
Edit: Adding one of the error outputs as requested:
Uncaught TypeError: Object [object Object] has no method 'setup' ember.js?body=1:29481
Ember.Application.Ember.Namespace.extend.setupEventDispatcher ember.js?body=1:29481
Ember.Application.Ember.Namespace.extend.didBecomeReady ember.js?body=1:29453
DeferredActionQueues.flush ember.js?body=1:4901
Backburner.end ember.js?body=1:4591
Backburner.run ember.js?body=1:4630
Ember.run ember.js?body=1:5112
(anonymous function) ember.js?body=1:29201
fire jquery.js?body=1:3065
self.fireWith jquery.js?body=1:3177
jQuery.extend.ready jquery.js?body=1:434
completed jquery.js?body=1:105
The solution was discovered in part thanks to #ahaurw01 - his mentioning that he could only reproduce in Chrome Canary lead me to check my Chrome version, which (for reason unknown) had 'dev' affixed to the version number. I re-downloaded Chrome from the website, removing that from the version, and it fixed the problem.
Still a concern for future releases of Chrome, but at least it's working for now.