diff --git a/tools/public_api_guard/public_api_spec.ts b/tools/public_api_guard/public_api_spec.ts index 552ddb8731..bc10f3b4be 100644 --- a/tools/public_api_guard/public_api_spec.ts +++ b/tools/public_api_guard/public_api_spec.ts @@ -1683,6 +1683,7 @@ const PLATFORM_SERVER = [ 'Parse5DomAdapter.getBoundingClientRect(el:any):any', 'Parse5DomAdapter.getChecked(el:any):boolean', 'Parse5DomAdapter.getComputedStyle(el:any):any', + 'Parse5DomAdapter.getCookie(name:string):string', 'Parse5DomAdapter.getData(el:any, name:string):string', 'Parse5DomAdapter.getDistributedNodes(el:any):Node[]', 'Parse5DomAdapter.getElementsByClassName(element:any, name:string):HTMLElement[]', @@ -1752,6 +1753,7 @@ const PLATFORM_SERVER = [ 'Parse5DomAdapter.setAttribute(element:any, attribute:string, value:string):any', 'Parse5DomAdapter.setAttributeNS(element:any, ns:string, attribute:string, value:string):any', 'Parse5DomAdapter.setChecked(el:any, value:boolean):any', + 'Parse5DomAdapter.setCookie(name:string, value:string):any', 'Parse5DomAdapter.setData(el:any, name:string, value:string):any', 'Parse5DomAdapter.setGlobalVar(path:string, value:any):any', 'Parse5DomAdapter.setInnerHTML(el:any, value:any):any', @@ -1761,6 +1763,7 @@ const PLATFORM_SERVER = [ 'Parse5DomAdapter.setTitle(newTitle:string):any', 'Parse5DomAdapter.setValue(el:any, value:string):any', 'Parse5DomAdapter.supportsAnimation():boolean', + 'Parse5DomAdapter.supportsCookies():boolean', 'Parse5DomAdapter.supportsDOMEvents():boolean', 'Parse5DomAdapter.supportsNativeShadowDOM():boolean', 'Parse5DomAdapter.supportsWebAnimation():boolean', @@ -1788,6 +1791,9 @@ const HTTP = [ 'Connection.response:any', 'ConnectionBackend', 'ConnectionBackend.createConnection(request:any):Connection', + 'CookieXSRFStrategy', + 'CookieXSRFStrategy.configureRequest(req:Request):any', + 'CookieXSRFStrategy.constructor(_cookieName:string=\'XSRF-TOKEN\', _headerName:string=\'X-XSRF-TOKEN\')', 'Headers', 'Headers.append(name:string, value:string):void', 'Headers.constructor(headers?:Headers|{[key:string]:any})', @@ -1911,7 +1917,7 @@ const HTTP = [ 'URLSearchParams.setAll(searchParams:URLSearchParams):any', 'URLSearchParams.toString():string', 'XHRBackend', - 'XHRBackend.constructor(_browserXHR:BrowserXhr, _baseResponseOptions:ResponseOptions)', + 'XHRBackend.constructor(_browserXHR:BrowserXhr, _baseResponseOptions:ResponseOptions, _xsrfStrategy:XSRFStrategy)', 'XHRBackend.createConnection(request:Request):XHRConnection', 'XHRConnection', 'XHRConnection.constructor(req:Request, browserXHR:BrowserXhr, baseResponseOptions?:ResponseOptions)', @@ -1919,6 +1925,8 @@ const HTTP = [ 'XHRConnection.request:Request', 'XHRConnection.response:Observable', 'XHRConnection.setDetectedContentType(req:any, _xhr:any):any', + 'XSRFStrategy', + 'XSRFStrategy.configureRequest(req:Request):void', 'const HTTP_BINDINGS:any', 'const HTTP_PROVIDERS:any[]', 'const JSONP_PROVIDERS:any[]',