script error in web browser - vb.net

i have made a web browser in vb.net.but for few pages i find a msgbox displaying script error.
script error
! an error has occured in the script on this page
line: 86
char: 3
error: object expected
code: 0
url: http://songs.pk/
do you want to continue running scripts on this page?
yes no
or u can see the screen shot here http://dharmatejanaishadham.blogspot.com/
but still i'm able to open that page.is there a way by which i can avoid this script error.

songs.pk website has a number of unsafe JavaScript executions. All of these are from the ads you have placed on your site. These ads scripts are calling methods on your domain. This is a cross-domain request and unsafe. Get yourself FireFox and and install the FireBug extension on it. You will then see each of the error in detail and the source of it.
The error message is shown to you by the browser to avoid freezing itself by continue to execute these script. It is a good thing to catch bad script executions.

Related

Vue.js localhost giving a permission error

I have a Vue app that works on one (Windows) machine, but not on another (Mac) machine. The non-working one just gives a message "You do not have permission to access this app" in the browser.
The only error in the console is
DevTools failed to load source map: Could not load content for https://unpkg.com/#popperjs/popper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Any ideas? All my other Vue apps work fine
You didn't provide much information about what exactly you're doing that you're getting that error and where. That being said, this is likely not a Vue.js issue, rather a Mac OS issue with permissions. See if this question is related.
Additionally, the URL from the console https://unpkg.com/#popperjs/popper.min.js.map returns Cannot find package message, so it is indeed incorrect, the correct URL would probably be https://unpkg.com/#popperjs/core#2/dist/umd/popper.min.js.map

PageSpeed Insights error by setting H1 to inline

I get an error when I test my site speed with PageSpeed Insights. My Code is 100% clean. The error message is:
Lighthouse returned error: INTERNAL: APP::1: Abnormal renderer termination, status = crashed exit_code = 1
There is no problem when I don't set H1 to inline, but I need to set that for layout reasons.
The problem appears on this site.
Is this a SEO problem or can I ignore it?
Try fixing your console error messages, occasionally these can break the headless browser that audits your site. You can always test the site by going to settings > more tools > developer tools > audits. (or press F12 to open developer tools) ** Google Chrome

Play Framework:#6ddhe2a72 - Internal server error, for (GET) [/tasks]

I have followed the PlayFramework 2.1's tutorial and when I was running the application ,the index page shows normally,but when I click the Button "Create" to create the task,it didn't work,and the console shown that #6ddhe2a72 - Internal server error, for (GET) [/tasks].
I'm puzzled now.
Please help me.
You should run playframework in development mode to see the full error. We cannot help you without that.
Instead of play start, simply launch play run (read this page for more details)
You could also see the stacktrace in the file log/application.log.

Selenium webdriver "Error communicating with remote browser. It may have died" when I run test in parralel

I am working on client side. I have created around 150 test scripts. But during execution, after some script execution, Selenium throws below error and it close the browser. Time is not a fix for this error. It comes when I am executing all the test scripts together in parallel.
The error shows on Google Chrome and Firefox browsers. I am using selenium-server-standalone-2.26.0.jar file and doing execution on FF 13.0.1 version. I have also tried with FF version 14, but I get the same error. My client is not happy with this error because we dont have workaround for this issue.
**Error message:**
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Error communicating with the remote browser. It may have died
I think this will happen when you dealing with popup window.
Example
Working on main window clicking on something leads to open a new popup
switch the control to popup window & do your operations in pop-up
Most of the cases popup will be closed automatically after some action performed in it. (EX : Login with facebook option most of site now a days, after entering user credential no need to close that popup it will be closed automatically after submitting proper credentials)
After this you need to switch the control to main window again otherwise it will throws above exception.
I think your doing some operations without having the control over a window.

Does ExceptionHub break Selenium's wait_for_page_to_load command

I just added ExceptionHub (a javascript error tracking service) to our website, but all my selenium tests are failing now. When I look at the selenium output, it says it timed out in waitForPageToLoad command. If I run the test locally, I see that the page loads up fine, so I'm not really sure why selenium keeps waiting. Has anyone else managed to get ExceptionHub working with selenium?
I've seen similar problems with UserVoice. Often the rest of the page is loaded but still waiting for UserVoice and the test will time out.
It might help if you don't start loading ExceptionHub until the rest of the page is loaded. Of course that would mean you can't catch any javascript errors during page load...