Bug Tracker

Custom Query (13852 matches)


Show under each result:

Results (1 - 3 of 13852)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#15251 notabug Loading jquery2.1.1.js into Nashorn JavaScript engine yields error fritzthecat

A problem occurs in jquery2.1.1.js on line 718:

push = { apply: arr.length ?

should be adjusted to

push = { apply: arr && arr.length ?

because "arr" can be undefined here.

Steps to reproduce:

I use Java 8 with the Nashorn JS engine. I have all HtmlUnit 2.15 JARs in my CLASSPATH, including htmlunit-core-js2.15.jar. I instantiate the JS engine and execute the script from Java by

final ScriptEngineManager engineManager = new ScriptEngineManager();
final ScriptEngine engine = engineManager.getEngineByMimeType("text/javascript");
final WebClient webClient = new WebClient();
final HtmlPage page = webClient.getPage("http://www.this-page-intentionally-left-blank.org/");
final Window window = (Window) page.getEnclosingWindow().getScriptObject();
bindings.put("window", window);
bindings.put("document", window.getDocument());
bindings.put("navigator", window.getNavigator());
bindings.put("location", window.getLocation());
bindings.put("history", window.getHistory());
bindings.put("screen", window.getScreen());
final URL url = new URL("http://code.jquery.com/jquery-2.1.1.js");
final Reader reader = new InputStreamReader(url.openStream());
engine.eval(new BufferedReader(reader));

Nashorn error message:

Exception in thread "main" javax.script.ScriptException: TypeError: Cannot read property "length" from undefined in at line number 718

#15250 duplicate IE 11 Compatibility Mode - Aria attributes and "Member not found" BrainFooLong

I have found a bug in jQuery 1.11.1 that breaks all scripts the want to set "aria-" attributes in IE11 compatibility mode. The bad thing is that compatibility mode is mostly enabled in "intranet" pages in my company. I know that compatibility mode is the badass of the evil but unfortunately here it is mostly enabled because of stoneold software.

Steps to reproduce

  1. http://bfldev.com/tablesorter-bug/test.html
  2. Enable compatibility mode in IE for domain "bfldev.com". (Gear icon at top right -> Compatibility mode settings)
  3. Reload and watch the console error "Member not found".


#15249 migrated Question mark is replaced by 'jQuery1520046861610282212496_1411972375451'. wjj871125

Code as follows:

var content = document.getElementById("content").value; jQuery.ajax({

type:'post', url:'add.php', data:"content=" + content, value is '?' dataType : "json", success:function(response){


}, error: function(msg){




Code ends.

When the parameter 'content' value is '?' or '??', its content is replaced by similar content as 'jQuery1520046861610282212496_1411972375451'.

jQuery code

data = data.replace( jsre, replace );

jQuery code end.

These codes maybe need to optimize.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.