File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ export class NativeScriptDomAdapter implements ɵDomAdapter {
167167 getLocation ( ) : Location { throw new Error ( "Not implemented!" ) }
168168 getBaseHref ( ) : string { throw new Error ( "Not implemented!" ) }
169169 resetBaseElement ( ) : void { throw new Error ( "Not implemented!" ) }
170- getUserAgent ( ) : string { throw new Error ( "Not implemented!" ) }
170+ getUserAgent ( ) : string { return "Fake user agent" ; }
171171 setData ( _element : any /** TODO #9100 */ , _name : string , _value : string ) : any
172172 /** TODO #9100 */ { throw new Error ( "Not implemented!" ) }
173173 getComputedStyle ( _element : any /** TODO #9100 */ ) : any { throw new Error ( "Not implemented!" ) }
@@ -179,7 +179,7 @@ export class NativeScriptDomAdapter implements ɵDomAdapter {
179179 getTransitionEnd ( ) : string { throw new Error ( "Not implemented!" ) }
180180 supportsAnimation ( ) : boolean { throw new Error ( "Not implemented!" ) }
181181
182- supportsCookies ( ) : boolean { throw new Error ( "Not implemented!" ) }
182+ supportsCookies ( ) : boolean { return false ; }
183183 getCookie ( _name : string ) : string { throw new Error ( "Not implemented!" ) }
184184 setCookie ( _name : string , _value : string ) : any /** TODO #9100 */ { throw new Error ( "Not implemented!" ) }
185185}
You can’t perform that action at this time.
0 commit comments