Added new illegal names to avoid for obfuscated mode. Added top level names found in Chrome 30, Firefox 25 and Safari 7.0 not previously accounted for. Change-Id: I424a3e242ab94a7977ef8ec87f2d3b0588e23e07
diff --git a/dev/core/src/com/google/gwt/dev/js/JsProtectedNames.java b/dev/core/src/com/google/gwt/dev/js/JsProtectedNames.java index 6dc2756..f7a7c72 100644 --- a/dev/core/src/com/google/gwt/dev/js/JsProtectedNames.java +++ b/dev/core/src/com/google/gwt/dev/js/JsProtectedNames.java
@@ -65,7 +65,15 @@ "match", "src", "cos", "title", "write", "JSON", "PI", "beta", "log", "forms", "split", "input", "NaN", "focus", "map", "defer", "data", "push", "atan2", "atan", "shape", "small", "blur", "text", "LN2", "get", "max", "arity", "dir", "x", "Error", "y", "z", "sort", "size", - "round", "Math"); + "round", "Math", + // From Chrome 30 + "CSS", "Rect", "Blob", "self", "Node", "JSON", "Intl", "Attr", "Date", + "File", "name", "Text", "Array", "Audio", "event", "Range", "Touch", "Image", "Error", + "Event", "top", "url", + // From Firefox 25 + "Map", "Set", "eval", "Proxy", + // From Safari 7.0 + "Path", "self"); illegalNames.addAll(javaScriptKeywords); }