This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Closure Library v20161201
New Additions
- Add goog.dom.safe.setIframeSrcdoc() to set srcdoc from a SafeHtml
- Added getRotation() and setRotation() to goog.style.transform.
- Added clearCache method on goog.ui.ac.CachingMatcher.
- goog.html.SafeHtml.createScript()\ to create script tags.
- Add goog.testing.MethodMock.fromObjectPropertyString.
- Added goog.Math.Long.isStringInRange that returns boolean value for if string is within bounds of a Long.
- Add site-local and link-local IP checks.
Backwards Incompatible Changes
- goog.messaging.PortChannel now rejects wildcard domains as the peer origin.
- Moved getAllProperties from MockUtil to the Object utility.
Other Changes
- Fix goog.Uri.resolve so that it doesn't unescape the query parameters.
- Properly pass the supportsCrossDomainXhrs option into WebChannelBase, fixing a bug where withCredentials wasn't being set.
- Support ES6 methods when creating a testSuite.
- labs.testing.Environment: Fixed a bug where an exception thrown in a tearDown method would not cause the test to fail if the exception evaluates to false.
- disabled test that triggers a regression in Chrome.
- Send ANIMATION_END event when click animation ends, no user visible change for sliderbase.
- Minor documentation fix.
- Fix JS errors when a module contains closing script tags with attributes.
- Fixed ErrorHandler in strict mode
- Fix JS errors when a module contains closing script tags.