File tree 3 files changed +2501
-6
lines changed
3 files changed +2501
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ NativeDispatcher.prototype._initPublicInterface = function() {
17
17
publicInterface . abortForAuth = this . _abortForAuth . bind ( this ) ;
18
18
publicInterface . abortWithError = this . _abortWithError . bind ( this ) ;
19
19
publicInterface . addCrossOriginException = this . _addCrossOriginException . bind ( this ) ;
20
- publicInterface . addSharedCookiesException = this . _addSharedCookiesException . bind ( this ) ;
20
+ publicInterface . enableCookiePersistence = this . _enableCookiePersistence . bind ( this ) ;
21
21
publicInterface . log = this . _log . bind ( this ) ;
22
22
publicInterface . submit = this . _submit . bind ( this ) ;
23
23
publicInterface . reportProgress = this . _reportProgress . bind ( this ) ;
@@ -37,8 +37,8 @@ NativeDispatcher.prototype._addCrossOriginException = function(destOriginList) {
37
37
this . nativeApiRootObj . WDCBridge_Api_addCrossOriginException . api ( destOriginList ) ;
38
38
}
39
39
40
- NativeDispatcher . prototype . _addSharedCookiesException = function ( urlList ) {
41
- this . nativeApiRootObj . WDCBridge_Api_addSharedCookiesException . api ( urlList ) ;
40
+ NativeDispatcher . prototype . _enableCookiePersistence = function ( ) {
41
+ this . nativeApiRootObj . WDCBridge_Api_enableCookiePersistence . api ( ) ;
42
42
}
43
43
44
44
NativeDispatcher . prototype . _log = function ( msg ) {
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ SimulatorDispatcher.prototype._initPublicInterface = function() {
239
239
publicInterface . abortForAuth = this . _abortForAuth . bind ( this ) ;
240
240
publicInterface . abortWithError = this . _abortWithError . bind ( this ) ;
241
241
publicInterface . addCrossOriginException = this . _addCrossOriginException . bind ( this ) ;
242
- publicInterface . addSharedCookiesException = this . _addSharedCookiesException . bind ( this ) ;
242
+ publicInterface . enableCookiePersistence = this . _enableCookiePersistence . bind ( this ) ;
243
243
publicInterface . log = this . _log . bind ( this ) ;
244
244
publicInterface . reportProgress = this . _reportProgress . bind ( this ) ;
245
245
publicInterface . submit = this . _submit . bind ( this ) ;
@@ -265,14 +265,15 @@ SimulatorDispatcher.prototype._addCrossOriginException = function(destOriginList
265
265
} . bind ( this ) , 0 ) ;
266
266
}
267
267
268
- SimulatorDispatcher . prototype . _addSharedCookiesException = function ( destOriginList ) {
268
+ SimulatorDispatcher . prototype . _enableCookiePersistence = function ( ) {
269
269
// Don't bother passing this back to the simulator since there's nothing it can
270
270
// do. Just call back to the WDC indicating that it worked
271
271
console . log ( "Shared Cookies Exception requested in the simulator. Pretending to work." )
272
272
setTimeout ( function ( ) {
273
- this . globalObj . _wdc . addSharedCookiesExceptionCompleted ( destOriginList ) ;
273
+ this . globalObj . _wdc . enableCookiePersistenceCompleted ( ) ;
274
274
} . bind ( this ) , 0 ) ;
275
275
}
276
+
276
277
SimulatorDispatcher . prototype . _log = function ( msg ) {
277
278
this . _sendMessage ( "log" , { "logMsg" : msg } ) ;
278
279
}
You can’t perform that action at this time.
0 commit comments