File tree 1 file changed +2
-2
lines changed
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 {
167
167
getLocation ( ) : Location { throw new Error ( "Not implemented!" ) }
168
168
getBaseHref ( ) : string { throw new Error ( "Not implemented!" ) }
169
169
resetBaseElement ( ) : void { throw new Error ( "Not implemented!" ) }
170
- getUserAgent ( ) : string { throw new Error ( "Not implemented!" ) }
170
+ getUserAgent ( ) : string { return "Fake user agent" ; }
171
171
setData ( _element : any /** TODO #9100 */ , _name : string , _value : string ) : any
172
172
/** TODO #9100 */ { throw new Error ( "Not implemented!" ) }
173
173
getComputedStyle ( _element : any /** TODO #9100 */ ) : any { throw new Error ( "Not implemented!" ) }
@@ -179,7 +179,7 @@ export class NativeScriptDomAdapter implements ɵDomAdapter {
179
179
getTransitionEnd ( ) : string { throw new Error ( "Not implemented!" ) }
180
180
supportsAnimation ( ) : boolean { throw new Error ( "Not implemented!" ) }
181
181
182
- supportsCookies ( ) : boolean { throw new Error ( "Not implemented!" ) }
182
+ supportsCookies ( ) : boolean { return false ; }
183
183
getCookie ( _name : string ) : string { throw new Error ( "Not implemented!" ) }
184
184
setCookie ( _name : string , _value : string ) : any /** TODO #9100 */ { throw new Error ( "Not implemented!" ) }
185
185
}
You can’t perform that action at this time.
0 commit comments