Skip to main content

Posts

Showing posts with the label google-chrome

Request Monitoring in Chrome

In Firefox, I use Firebug which allows me to view every http request my ajax calls are making. I've switched over my development to Chrome and am liking it so far. My only complaint, however, is that the developer tools don't seem to allow you to view each ajax request. I've had it happen once where the Resources panel showed multiple requests to the same resource, but it's only done it once and never again.

When Profiling Javascript in Chrome how do I know I"ve handled Memory Leaks?

I've been working on a game in for HTML 5 using the canvas tag, and I've build up quite a code base to cover my requirements. I also want to make sure I'm covering up all my memory leaks. I have doubts I'm doing it correctly because the feedback I'm getting from Chrome's task manager and profiling tools seem to suggest my cleanup is having no effect in the end. Here's an image so you can see what I mean: So as you can see, once I do my cleanup memory usage just freezes and doesn't drop. Is this a memory leak? When I ran my webpage in the Profiler and checked the heap before and after cleanup it does appear to remove all the references to my objects (and they disappear) but my usage only drops by only a few kilobytes leaving about 1.3mb of arrays, strings, and other objects behind. Is it impossible to catch all this or is there something majorly wrong? Thanks. Source: Tips4all

Google Chome "Application Shortcut” Custom Javascript

Introduction Google chrome has a feature that allows you to create shortcuts to web pages and make them appear like traditional desktop applications. For example, a shortcut to twitter mobile might be C:\Users\<username>\AppData\Local\Google\Chrome\Application\chrome.exe --app=https://mobile.twitter.com/ The file icon for this app is stored in C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Web Applications\mobile.twitter.com\https_80 My Question It's been a while since I've used this feature and I seem to remember that you could add your own javascript files to the app folder which were included when the application was loaded. However, I cannot find any documentation that discusses this feature but I'm 99% certain it exists. Does anyone have any details if this feature is available and what files I need to create?

About the BLOB datatype in MySQL

I have stored an image in MySQL using the BLOB datatype. I am able to retrieve image through JSP but when I use Chrome or Firefox browser I am unable to view the image. It is displaying in an encrypted format. Can anyone please help me?

How can a Chrome extension&#39;s content script determine the injected page&#39;s referrer?

What is the best way to determine a page's referrer within the context of a content script in a Chrome extension? It looks possible to intercept requests' headers using the chrome.webRequest module, but it would then take some book-keeping and message-passing in order to get it into the content script. That approach feels kludgy. Is there a better way?

Debugging Sencha Touch in Google Chrome: How to set a breakpoint?

while trying to debug the NestedList title bug http://www.sencha.com/forum/showthread.php?161303-NestedList-example-from-Github-updateTitleText-not-working I was able to set a breakpoint using Google Chrome -> Tools -> Developer Tools, in my own javascript, but I am not able to set any breakpoint in the sencha-touch-debug.js script. Is there a way to set a breakpoint in sencha-touch-debug.js ? Or is there any better way to debug the Sencha touch core?