script16389: unspecified error. polyfill (1,10884)
I have a JSP page initially rendered correctly and when I click on a link, the page will refresh and the following error is coming in Windows 10, Edge 42. I am not sure on the error and I didn't used any polyfill. When I click on the error, it is not showing the exact error line to debug. Please find below the JS code and help.
script16389: unspecified error. polyfill (1,10884)
main.js
$(document).click(function (e) {
var el = e.target;
var className = el.className;
if (className.indexOf("dropdown-section") < 0 && className.indexOf("dropdown-content") < 0 && className !== "dropdown-selected" && !(el.tagName === "INPUT" && $(el).parent().hasClass("dropdown-container"))) {
$(".dropdown-section").removeClass("open");
}
});
function buildShortAnswer(rq) {
return "<input type="text" class="input_box" id="question" + rq.questionId + "" tabindex="" + (rq.questionSettings.index + 3) + "" name="question" + rq.questionId + "" onkeyup="handleShortAnswerChange(event, " + rq.questionId + ")" maxlength="" + rq.questionProperties[SHORT_ANSWER].maxLength + "" />";
}
function replaceTag(tag) {
var tagsToReplace = {
'&': '&',
'<': '<',
'>': '>'
// '"': '"'
};
return tagsToReplace[tag] || tag;
}
function safeTagsReplace(str) {
return str.replace(/[&<>]/g, replaceTag);
}
function isValidUserName(username) {
var regex = /^(?!.*[&<>]).*$/;
if (regex.test(username)) {
return true;
}
return false;
}
function isValidemail(email) {
var regex = /^([^s@<>]{1,200})@([^s@<>]{1,300})$/;
if (regex.test(email.trim())) {
return true;
}
return false;
}
function getParameterByName(name, url) {
if (!url){
url = window.location.href;
}
name = name.replace(/[[]]/g, "\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results){
return null;
}
if (!results[2]){
return '';
}
return decodeURIComponent(results[2].replace(/+/g, " "));
}
javascript jquery html css jsp
add a comment |
I have a JSP page initially rendered correctly and when I click on a link, the page will refresh and the following error is coming in Windows 10, Edge 42. I am not sure on the error and I didn't used any polyfill. When I click on the error, it is not showing the exact error line to debug. Please find below the JS code and help.
script16389: unspecified error. polyfill (1,10884)
main.js
$(document).click(function (e) {
var el = e.target;
var className = el.className;
if (className.indexOf("dropdown-section") < 0 && className.indexOf("dropdown-content") < 0 && className !== "dropdown-selected" && !(el.tagName === "INPUT" && $(el).parent().hasClass("dropdown-container"))) {
$(".dropdown-section").removeClass("open");
}
});
function buildShortAnswer(rq) {
return "<input type="text" class="input_box" id="question" + rq.questionId + "" tabindex="" + (rq.questionSettings.index + 3) + "" name="question" + rq.questionId + "" onkeyup="handleShortAnswerChange(event, " + rq.questionId + ")" maxlength="" + rq.questionProperties[SHORT_ANSWER].maxLength + "" />";
}
function replaceTag(tag) {
var tagsToReplace = {
'&': '&',
'<': '<',
'>': '>'
// '"': '"'
};
return tagsToReplace[tag] || tag;
}
function safeTagsReplace(str) {
return str.replace(/[&<>]/g, replaceTag);
}
function isValidUserName(username) {
var regex = /^(?!.*[&<>]).*$/;
if (regex.test(username)) {
return true;
}
return false;
}
function isValidemail(email) {
var regex = /^([^s@<>]{1,200})@([^s@<>]{1,300})$/;
if (regex.test(email.trim())) {
return true;
}
return false;
}
function getParameterByName(name, url) {
if (!url){
url = window.location.href;
}
name = name.replace(/[[]]/g, "\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results){
return null;
}
if (!results[2]){
return '';
}
return decodeURIComponent(results[2].replace(/+/g, " "));
}
javascript jquery html css jsp
One of the polyfills you're using has an error. That's all the help we can offer you without seeing any of the relevant code.
– Rory McCrossan
Nov 23 '18 at 14:40
I didn't used any polyfill. I have read in a post where backslashes in Edge behave differently and may cause this issue. Do you have any idea on it?
– Abraham Gnanasingh
Nov 23 '18 at 14:43
I don't know if this works in Edge, but in most good browsers you can double click the error in the console and it will take you to the line which threw the error, and show you the stack state as well. That would be helpful debugging information
– Rory McCrossan
Nov 23 '18 at 14:46
It is not taking me to the line. Please find my updated post and let me know if you can help
– Abraham Gnanasingh
Nov 23 '18 at 15:10
This error can occur in Edge on a page with no polyfills, no jQuery or any other JS libraries, if the page has a form. Clicking on the error takes you to a blank line in the debugger. I thought Edge was a good browser... but suddenly I have doubts.
– Robyn
Jan 2 at 7:43
add a comment |
I have a JSP page initially rendered correctly and when I click on a link, the page will refresh and the following error is coming in Windows 10, Edge 42. I am not sure on the error and I didn't used any polyfill. When I click on the error, it is not showing the exact error line to debug. Please find below the JS code and help.
script16389: unspecified error. polyfill (1,10884)
main.js
$(document).click(function (e) {
var el = e.target;
var className = el.className;
if (className.indexOf("dropdown-section") < 0 && className.indexOf("dropdown-content") < 0 && className !== "dropdown-selected" && !(el.tagName === "INPUT" && $(el).parent().hasClass("dropdown-container"))) {
$(".dropdown-section").removeClass("open");
}
});
function buildShortAnswer(rq) {
return "<input type="text" class="input_box" id="question" + rq.questionId + "" tabindex="" + (rq.questionSettings.index + 3) + "" name="question" + rq.questionId + "" onkeyup="handleShortAnswerChange(event, " + rq.questionId + ")" maxlength="" + rq.questionProperties[SHORT_ANSWER].maxLength + "" />";
}
function replaceTag(tag) {
var tagsToReplace = {
'&': '&',
'<': '<',
'>': '>'
// '"': '"'
};
return tagsToReplace[tag] || tag;
}
function safeTagsReplace(str) {
return str.replace(/[&<>]/g, replaceTag);
}
function isValidUserName(username) {
var regex = /^(?!.*[&<>]).*$/;
if (regex.test(username)) {
return true;
}
return false;
}
function isValidemail(email) {
var regex = /^([^s@<>]{1,200})@([^s@<>]{1,300})$/;
if (regex.test(email.trim())) {
return true;
}
return false;
}
function getParameterByName(name, url) {
if (!url){
url = window.location.href;
}
name = name.replace(/[[]]/g, "\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results){
return null;
}
if (!results[2]){
return '';
}
return decodeURIComponent(results[2].replace(/+/g, " "));
}
javascript jquery html css jsp
I have a JSP page initially rendered correctly and when I click on a link, the page will refresh and the following error is coming in Windows 10, Edge 42. I am not sure on the error and I didn't used any polyfill. When I click on the error, it is not showing the exact error line to debug. Please find below the JS code and help.
script16389: unspecified error. polyfill (1,10884)
main.js
$(document).click(function (e) {
var el = e.target;
var className = el.className;
if (className.indexOf("dropdown-section") < 0 && className.indexOf("dropdown-content") < 0 && className !== "dropdown-selected" && !(el.tagName === "INPUT" && $(el).parent().hasClass("dropdown-container"))) {
$(".dropdown-section").removeClass("open");
}
});
function buildShortAnswer(rq) {
return "<input type="text" class="input_box" id="question" + rq.questionId + "" tabindex="" + (rq.questionSettings.index + 3) + "" name="question" + rq.questionId + "" onkeyup="handleShortAnswerChange(event, " + rq.questionId + ")" maxlength="" + rq.questionProperties[SHORT_ANSWER].maxLength + "" />";
}
function replaceTag(tag) {
var tagsToReplace = {
'&': '&',
'<': '<',
'>': '>'
// '"': '"'
};
return tagsToReplace[tag] || tag;
}
function safeTagsReplace(str) {
return str.replace(/[&<>]/g, replaceTag);
}
function isValidUserName(username) {
var regex = /^(?!.*[&<>]).*$/;
if (regex.test(username)) {
return true;
}
return false;
}
function isValidemail(email) {
var regex = /^([^s@<>]{1,200})@([^s@<>]{1,300})$/;
if (regex.test(email.trim())) {
return true;
}
return false;
}
function getParameterByName(name, url) {
if (!url){
url = window.location.href;
}
name = name.replace(/[[]]/g, "\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results){
return null;
}
if (!results[2]){
return '';
}
return decodeURIComponent(results[2].replace(/+/g, " "));
}
javascript jquery html css jsp
javascript jquery html css jsp
edited Nov 23 '18 at 15:09
Abraham Gnanasingh
asked Nov 23 '18 at 14:33
Abraham GnanasinghAbraham Gnanasingh
397417
397417
One of the polyfills you're using has an error. That's all the help we can offer you without seeing any of the relevant code.
– Rory McCrossan
Nov 23 '18 at 14:40
I didn't used any polyfill. I have read in a post where backslashes in Edge behave differently and may cause this issue. Do you have any idea on it?
– Abraham Gnanasingh
Nov 23 '18 at 14:43
I don't know if this works in Edge, but in most good browsers you can double click the error in the console and it will take you to the line which threw the error, and show you the stack state as well. That would be helpful debugging information
– Rory McCrossan
Nov 23 '18 at 14:46
It is not taking me to the line. Please find my updated post and let me know if you can help
– Abraham Gnanasingh
Nov 23 '18 at 15:10
This error can occur in Edge on a page with no polyfills, no jQuery or any other JS libraries, if the page has a form. Clicking on the error takes you to a blank line in the debugger. I thought Edge was a good browser... but suddenly I have doubts.
– Robyn
Jan 2 at 7:43
add a comment |
One of the polyfills you're using has an error. That's all the help we can offer you without seeing any of the relevant code.
– Rory McCrossan
Nov 23 '18 at 14:40
I didn't used any polyfill. I have read in a post where backslashes in Edge behave differently and may cause this issue. Do you have any idea on it?
– Abraham Gnanasingh
Nov 23 '18 at 14:43
I don't know if this works in Edge, but in most good browsers you can double click the error in the console and it will take you to the line which threw the error, and show you the stack state as well. That would be helpful debugging information
– Rory McCrossan
Nov 23 '18 at 14:46
It is not taking me to the line. Please find my updated post and let me know if you can help
– Abraham Gnanasingh
Nov 23 '18 at 15:10
This error can occur in Edge on a page with no polyfills, no jQuery or any other JS libraries, if the page has a form. Clicking on the error takes you to a blank line in the debugger. I thought Edge was a good browser... but suddenly I have doubts.
– Robyn
Jan 2 at 7:43
One of the polyfills you're using has an error. That's all the help we can offer you without seeing any of the relevant code.
– Rory McCrossan
Nov 23 '18 at 14:40
One of the polyfills you're using has an error. That's all the help we can offer you without seeing any of the relevant code.
– Rory McCrossan
Nov 23 '18 at 14:40
I didn't used any polyfill. I have read in a post where backslashes in Edge behave differently and may cause this issue. Do you have any idea on it?
– Abraham Gnanasingh
Nov 23 '18 at 14:43
I didn't used any polyfill. I have read in a post where backslashes in Edge behave differently and may cause this issue. Do you have any idea on it?
– Abraham Gnanasingh
Nov 23 '18 at 14:43
I don't know if this works in Edge, but in most good browsers you can double click the error in the console and it will take you to the line which threw the error, and show you the stack state as well. That would be helpful debugging information
– Rory McCrossan
Nov 23 '18 at 14:46
I don't know if this works in Edge, but in most good browsers you can double click the error in the console and it will take you to the line which threw the error, and show you the stack state as well. That would be helpful debugging information
– Rory McCrossan
Nov 23 '18 at 14:46
It is not taking me to the line. Please find my updated post and let me know if you can help
– Abraham Gnanasingh
Nov 23 '18 at 15:10
It is not taking me to the line. Please find my updated post and let me know if you can help
– Abraham Gnanasingh
Nov 23 '18 at 15:10
This error can occur in Edge on a page with no polyfills, no jQuery or any other JS libraries, if the page has a form. Clicking on the error takes you to a blank line in the debugger. I thought Edge was a good browser... but suddenly I have doubts.
– Robyn
Jan 2 at 7:43
This error can occur in Edge on a page with no polyfills, no jQuery or any other JS libraries, if the page has a form. Clicking on the error takes you to a blank line in the debugger. I thought Edge was a good browser... but suddenly I have doubts.
– Robyn
Jan 2 at 7:43
add a comment |
1 Answer
1
active
oldest
votes
I had the same problem, that is an issue conflicting with the AutoFormFill incorporated extension of edge. You can disable the feature selecting Settings, scrolling down and clicking "View advanced settings" and under Autofill section disabling the switch "Save form entries". Apart from the error, it shouldn´t affect your program´s execution.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53448581%2fscript16389-unspecified-error-polyfill-1-10884%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the same problem, that is an issue conflicting with the AutoFormFill incorporated extension of edge. You can disable the feature selecting Settings, scrolling down and clicking "View advanced settings" and under Autofill section disabling the switch "Save form entries". Apart from the error, it shouldn´t affect your program´s execution.
add a comment |
I had the same problem, that is an issue conflicting with the AutoFormFill incorporated extension of edge. You can disable the feature selecting Settings, scrolling down and clicking "View advanced settings" and under Autofill section disabling the switch "Save form entries". Apart from the error, it shouldn´t affect your program´s execution.
add a comment |
I had the same problem, that is an issue conflicting with the AutoFormFill incorporated extension of edge. You can disable the feature selecting Settings, scrolling down and clicking "View advanced settings" and under Autofill section disabling the switch "Save form entries". Apart from the error, it shouldn´t affect your program´s execution.
I had the same problem, that is an issue conflicting with the AutoFormFill incorporated extension of edge. You can disable the feature selecting Settings, scrolling down and clicking "View advanced settings" and under Autofill section disabling the switch "Save form entries". Apart from the error, it shouldn´t affect your program´s execution.
answered Dec 10 '18 at 18:15
Armando Andres FloresArmando Andres Flores
216
216
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53448581%2fscript16389-unspecified-error-polyfill-1-10884%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
One of the polyfills you're using has an error. That's all the help we can offer you without seeing any of the relevant code.
– Rory McCrossan
Nov 23 '18 at 14:40
I didn't used any polyfill. I have read in a post where backslashes in Edge behave differently and may cause this issue. Do you have any idea on it?
– Abraham Gnanasingh
Nov 23 '18 at 14:43
I don't know if this works in Edge, but in most good browsers you can double click the error in the console and it will take you to the line which threw the error, and show you the stack state as well. That would be helpful debugging information
– Rory McCrossan
Nov 23 '18 at 14:46
It is not taking me to the line. Please find my updated post and let me know if you can help
– Abraham Gnanasingh
Nov 23 '18 at 15:10
This error can occur in Edge on a page with no polyfills, no jQuery or any other JS libraries, if the page has a form. Clicking on the error takes you to a blank line in the debugger. I thought Edge was a good browser... but suddenly I have doubts.
– Robyn
Jan 2 at 7:43