google-closure-compiler 20161024.3.0 → 20170409.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +327 -0
  2. package/compiler.jar +0 -0
  3. package/contrib/externs/angular-1.3-resource.js +6 -0
  4. package/contrib/externs/angular-1.3.js +4 -3
  5. package/contrib/externs/angular-1.4-resource.js +6 -0
  6. package/contrib/externs/angular-1.4.js +2 -2
  7. package/contrib/externs/angular-1.5-q_templated.js +19 -1
  8. package/contrib/externs/angular-1.5-resource.js +6 -0
  9. package/contrib/externs/angular-1.5.js +44 -9
  10. package/contrib/externs/angular-1.6-http-promise_templated.js +61 -0
  11. package/contrib/externs/angular-1.6-mocks.js +267 -0
  12. package/contrib/externs/angular-1.6-q_templated.js +194 -0
  13. package/contrib/externs/angular-1.6-resource.js +332 -0
  14. package/contrib/externs/{w3c_css.js → angular-1.6-test.js} +8 -6
  15. package/contrib/externs/angular-1.6.js +2646 -0
  16. package/contrib/externs/angular-cache-4.6.js +316 -0
  17. package/contrib/externs/angular-material-1.1.js +92 -33
  18. package/contrib/externs/angular-material.js +36 -5
  19. package/contrib/externs/chai-3.5.js +101 -2
  20. package/contrib/externs/chrome_extensions.js +267 -95
  21. package/contrib/externs/jasmine-2.0.js +23 -3
  22. package/contrib/externs/jquery-1.4.4.js +1 -1
  23. package/contrib/externs/jquery-1.5.js +1 -1
  24. package/contrib/externs/jquery-1.6.js +1 -1
  25. package/contrib/externs/jquery-3.0.js +2037 -0
  26. package/contrib/externs/jquery-3.1.js +2045 -0
  27. package/contrib/externs/maps/google_maps_api_v3.js +306 -263
  28. package/contrib/externs/maps/google_maps_api_v3_27.js +6732 -0
  29. package/contrib/externs/maps/google_maps_api_v3_28.js +6637 -0
  30. package/contrib/externs/maps/google_maps_api_v3_exp.js +41 -106
  31. package/contrib/externs/mocha-2.5.js +65 -14
  32. package/contrib/externs/polymer-1.0.js +43 -5
  33. package/contrib/externs/safari.js +58 -0
  34. package/contrib/externs/sinon-1.17.js +719 -10
  35. package/contrib/externs/sinon-chai-2.7.js +78 -0
  36. package/contrib/externs/w3c_eventsource.js +6 -17
  37. package/contrib/externs/web_component_tester-4.2.js +6 -0
  38. package/contrib/nodejs/crypto.js +6 -6
  39. package/lib/gulp/index.js +2 -2
  40. package/lib/node/closure-compiler.js +3 -1
  41. package/package.json +8 -9
  42. package/contrib/externs/jquery-1.3.2.externs.js +0 -714
  43. package/contrib/externs/w3c_gamepad.js +0 -91
  44. package/contrib/externs/w3c_midi.js +0 -293
  45. package/contrib/externs/w3c_pointer_events.js +0 -105
@@ -26,11 +26,702 @@
26
26
  * @see http://sinonjs.org/docs/
27
27
  */
28
28
 
29
- var sinon;
29
+ /** @const */
30
+ var sinon = {};
30
31
 
31
32
 
32
33
 
33
- sinon.sandbox;
34
+ /**
35
+ * @constructor
36
+ * @implements {EventListener}
37
+ * @extends {Function}
38
+ */
39
+ var SinonSpyCallApi = function() {};
40
+
41
+ /**
42
+ * NOTE: This function doesn't exist on the sinon spy, it exists to be able to
43
+ * satisfy the EventListener interface so that the spy can be used with
44
+ * addEventListener calls.
45
+ *
46
+ * @param {!Event} event
47
+ * @override
48
+ * @deprecated This function doesn't exist on the sinon spy.
49
+ */
50
+ SinonSpyCallApi.prototype.handleEvent = function(event) {};
51
+
52
+
53
+ /** @type {*} */
54
+ SinonSpyCallApi.prototype.thisValue;
55
+
56
+ /** @type {!Array<*>} */
57
+ SinonSpyCallApi.prototype.args;
58
+
59
+ /** @type {*} */
60
+ SinonSpyCallApi.prototype.exception;
61
+
62
+ /** @type {*} */
63
+ SinonSpyCallApi.prototype.returnValue;
64
+
65
+ /**
66
+ * @param {*} obj
67
+ * @return {boolean}
68
+ */
69
+ SinonSpyCallApi.prototype.calledOn = function(obj) {};
70
+
71
+ /**
72
+ * @param {...*} args
73
+ * @return {boolean}
74
+ */
75
+ SinonSpyCallApi.prototype.calledWith = function(args) {};
76
+
77
+ /**
78
+ * @param {...*} args
79
+ * @return {boolean}
80
+ */
81
+ SinonSpyCallApi.prototype.calledWithExactly = function(args) {};
82
+
83
+ /**
84
+ * @param {...*} args
85
+ * @return {boolean}
86
+ */
87
+ SinonSpyCallApi.prototype.calledWithMatch = function(args) {};
88
+
89
+ /**
90
+ * @param {...*} args
91
+ * @return {boolean}
92
+ */
93
+ SinonSpyCallApi.prototype.notCalledWith = function(args) {};
94
+
95
+ /**
96
+ * @param {...*} args
97
+ * @return {boolean}
98
+ */
99
+ SinonSpyCallApi.prototype.notCalledWithMatch = function(args) {};
100
+
101
+ /**
102
+ * @param {*} value
103
+ * @return {boolean}
104
+ */
105
+ SinonSpyCallApi.prototype.returned = function(value) {};
106
+
107
+ /**
108
+ * @param {*=} obj
109
+ * @return {boolean}
110
+ */
111
+ SinonSpyCallApi.prototype.threw = function(obj) {};
112
+
113
+ /**
114
+ * @param {number} pos
115
+ */
116
+ SinonSpyCallApi.prototype.callArg = function(pos) {};
117
+
118
+ /**
119
+ * @param {number} pos
120
+ * @param {*} obj
121
+ * @param {...*} args
122
+ */
123
+ SinonSpyCallApi.prototype.callArgOn = function(pos, obj, args) {};
124
+
125
+ /**
126
+ * @param {number} pos
127
+ * @param {...*} args
128
+ */
129
+ SinonSpyCallApi.prototype.callArgWith = function(pos, args) {};
130
+
131
+ /**
132
+ * @param {number} pos
133
+ * @param {*} obj
134
+ * @param {...*} args
135
+ */
136
+ SinonSpyCallApi.prototype.callArgOnWith = function(pos, obj, args) {};
137
+
138
+ /**
139
+ * @param {...*} args
140
+ */
141
+ SinonSpyCallApi.prototype.yield = function(args) {};
142
+
143
+ /**
144
+ * @param {*} obj
145
+ * @param {...*} args
146
+ */
147
+ SinonSpyCallApi.prototype.yieldOn = function(obj, args) {};
148
+
149
+ /**
150
+ * @param {string} property
151
+ * @param {...*} args
152
+ */
153
+ SinonSpyCallApi.prototype.yieldTo = function(property, args) {};
154
+
155
+ /**
156
+ * @param {string} property
157
+ * @param {*} obj
158
+ * @param {...*} args
159
+ */
160
+ SinonSpyCallApi.prototype.yieldToOn = function(property, obj, args) {};
161
+
162
+
163
+
164
+ /**
165
+ * @constructor
166
+ * @extends {SinonSpyCallApi}
167
+ */
168
+ var SinonSpyCall = function() {};
169
+
170
+ /**
171
+ * @param {!SinonSpyCall} call
172
+ * @return {boolean}
173
+ */
174
+ SinonSpyCall.prototype.calledBefore = function(call) {};
175
+
176
+ /**
177
+ * @param {!SinonSpyCall} call
178
+ * @return {boolean}
179
+ */
180
+ SinonSpyCall.prototype.calledAfter = function(call) {};
181
+
182
+ /**
183
+ * @param {!SinonSpyCall} call
184
+ * @return {boolean}
185
+ */
186
+ SinonSpyCall.prototype.calledWithNew = function(call) {};
187
+
188
+
189
+
190
+ /**
191
+ * @constructor
192
+ * @extends {SinonSpyCallApi}
193
+ */
194
+ var SinonSpy = function() {};
195
+
196
+ /** @type {number} */
197
+ SinonSpy.prototype.callCount;
198
+
199
+ /** @type {boolean} */
200
+ SinonSpy.prototype.called;
201
+
202
+ /** @type {boolean} */
203
+ SinonSpy.prototype.notCalled;
204
+
205
+ /** @type {boolean} */
206
+ SinonSpy.prototype.calledOnce;
207
+
208
+ /** @type {boolean} */
209
+ SinonSpy.prototype.calledTwice;
210
+
211
+ /** @type {boolean} */
212
+ SinonSpy.prototype.calledThrice;
213
+
214
+ /** @type {!SinonSpyCall} */
215
+ SinonSpy.prototype.firstCall;
216
+
217
+ /** @type {!SinonSpyCall} */
218
+ SinonSpy.prototype.secondCall;
219
+
220
+ /** @type {!SinonSpyCall} */
221
+ SinonSpy.prototype.thirdCall;
222
+
223
+ /** @type {!SinonSpyCall} */
224
+ SinonSpy.prototype.lastCall;
225
+
226
+ /** @type {!Array<*>} */
227
+ SinonSpy.prototype.thisValues;
228
+
229
+ /** @type {!Array<!Array<*>>} */
230
+ SinonSpy.prototype.args;
231
+
232
+ /** @type {!Array<*>} */
233
+ SinonSpy.prototype.exceptions;
234
+
235
+ /** @type {!Array<*>} */
236
+ SinonSpy.prototype.returnValues;
237
+
238
+ /**
239
+ * @param {!SinonSpy} anotherSpy
240
+ * @return {boolean}
241
+ */
242
+ SinonSpy.prototype.calledBefore = function(anotherSpy) {};
243
+
244
+ /**
245
+ * @param {!SinonSpy} anotherSpy
246
+ * @return {boolean}
247
+ */
248
+ SinonSpy.prototype.calledAfter = function(anotherSpy) {};
249
+
250
+ /**
251
+ * @return {boolean}
252
+ */
253
+ SinonSpy.prototype.calledWithNew = function() {};
254
+
255
+ /**
256
+ * @param {...*} args
257
+ * @return {!SinonSpy}
258
+ */
259
+ SinonSpy.prototype.withArgs = function(args) {};
260
+
261
+ /**
262
+ * @param {*} obj
263
+ * @return {boolean}
264
+ */
265
+ SinonSpy.prototype.alwaysCalledOn = function(obj) {};
266
+
267
+ /**
268
+ * @param {...*} args
269
+ * @return {boolean}
270
+ */
271
+ SinonSpy.prototype.alwaysCalledWith = function(args) {};
272
+
273
+ /**
274
+ * @param {...*} args
275
+ * @return {boolean}
276
+ */
277
+ SinonSpy.prototype.alwaysCalledWithExactly = function(args) {};
278
+
279
+ /**
280
+ * @param {...*} args
281
+ * @return {boolean}
282
+ */
283
+ SinonSpy.prototype.alwaysCalledWithMatch = function(args) {};
284
+
285
+ /**
286
+ * @param {...*} args
287
+ * @return {boolean}
288
+ */
289
+ SinonSpy.prototype.neverCalledWith = function(args) {};
290
+
291
+ /**
292
+ * @param {...*} args
293
+ * @return {boolean}
294
+ */
295
+ SinonSpy.prototype.neverCalledWithMatch = function(args) {};
296
+
297
+ /**
298
+ * @param {*=} obj
299
+ * @return {boolean}
300
+ */
301
+ SinonSpy.prototype.alwaysThrew = function(obj) {};
302
+
303
+ /**
304
+ * @param {*} obj
305
+ * @return {boolean}
306
+ */
307
+ SinonSpy.prototype.alwaysReturned = function(obj) {};
308
+
309
+ /**
310
+ * @param {...*} args
311
+ */
312
+ SinonSpy.prototype.invokeCallback = function(args) {};
313
+
314
+ /**
315
+ * @param {number} n
316
+ * @return {!SinonSpyCall}
317
+ */
318
+ SinonSpy.prototype.getCall = function(n) {};
319
+
320
+ SinonSpy.prototype.reset = function() {};
321
+
322
+ /**
323
+ * @param {string} format
324
+ * @param {...*} args
325
+ * @return {string}
326
+ */
327
+ SinonSpy.prototype.printf = function(format, args) {};
328
+
329
+ SinonSpy.prototype.restore = function() {};
330
+
331
+
332
+
333
+ /**
334
+ * @param {*=} objectOrFunction
335
+ * @param {string=} method
336
+ * @return {!SinonSpy}
337
+ */
338
+ sinon.spy = function(objectOrFunction, method) {};
339
+
340
+
341
+
342
+ /**
343
+ * @constructor
344
+ * @extends {SinonSpy}
345
+ */
346
+ var SinonStub = function() {};
347
+
348
+ SinonStub.prototype.resetBehavior = function() {};
349
+
350
+ /**
351
+ * @param {*} obj
352
+ * @return {!SinonStub}
353
+ */
354
+ SinonStub.prototype.returns = function(obj) {};
355
+
356
+ /**
357
+ * @param {number} index
358
+ * @return {!SinonStub}
359
+ */
360
+ SinonStub.prototype.returnsArg = function(index) {};
361
+
362
+ /**
363
+ * @return {!SinonStub}
364
+ */
365
+ SinonStub.prototype.returnsThis = function() {};
366
+
367
+ /**
368
+ * @param {*=} obj
369
+ * @return {!SinonStub}
370
+ */
371
+ SinonStub.prototype.throws = function(obj) {};
372
+
373
+ /**
374
+ * @param {number} index
375
+ * @return {!SinonStub}
376
+ */
377
+ SinonStub.prototype.callsArg = function(index) {};
378
+
379
+ /**
380
+ * @param {number} index
381
+ * @param {*} context
382
+ * @return {!SinonStub}
383
+ */
384
+ SinonStub.prototype.callsArgOn = function(index, context) {};
385
+
386
+ /**
387
+ * @param {number} index
388
+ * @param {...*} args
389
+ * @return {!SinonStub}
390
+ */
391
+ SinonStub.prototype.callsArgWith = function(index, args) {};
392
+
393
+ /**
394
+ * @param {number} index
395
+ * @param {*} context
396
+ * @param {...*} args
397
+ * @return {!SinonStub}
398
+ */
399
+ SinonStub.prototype.callsArgOnWith = function(index, context, args) {};
400
+
401
+ /**
402
+ * @param {number} index
403
+ * @return {!SinonStub}
404
+ */
405
+ SinonStub.prototype.callsArgAsync = function(index) {};
406
+
407
+ /**
408
+ * @param {number} index
409
+ * @param {*} context
410
+ * @return {!SinonStub}
411
+ */
412
+ SinonStub.prototype.callsArgOnAsync = function(index, context) {};
413
+
414
+ /**
415
+ * @param {number} index
416
+ * @param {...*} args
417
+ * @return {!SinonStub}
418
+ */
419
+ SinonStub.prototype.callsArgWithAsync = function(index, args) {};
420
+
421
+ /**
422
+ * @param {number} index
423
+ * @param {*} context
424
+ * @param {...*} args
425
+ * @return {!SinonStub}
426
+ */
427
+ SinonStub.prototype.callsArgOnWithAsync = function(index, context, args) {};
428
+
429
+ /**
430
+ * @param {number} n
431
+ * @return {!SinonStub}
432
+ */
433
+ SinonStub.prototype.onCall = function(n) {};
434
+
435
+ /**
436
+ * @return {!SinonStub}
437
+ */
438
+ SinonStub.prototype.onFirstCall = function() {};
439
+
440
+ /**
441
+ * @return {!SinonStub}
442
+ */
443
+ SinonStub.prototype.onSecondCall = function() {};
444
+
445
+ /**
446
+ * @return {!SinonStub}
447
+ */
448
+ SinonStub.prototype.onThirdCall = function() {};
449
+
450
+ /**
451
+ * @param {...*} args
452
+ * @return {!SinonStub}
453
+ */
454
+ SinonStub.prototype.yields = function(args) {};
455
+
456
+ /**
457
+ * @param {*} context
458
+ * @param {...*} args
459
+ * @return {!SinonStub}
460
+ */
461
+ SinonStub.prototype.yieldsOn = function(context, args) {};
462
+
463
+ /**
464
+ * @param {string} property
465
+ * @param {...*} args
466
+ * @return {!SinonStub}
467
+ */
468
+ SinonStub.prototype.yieldsTo = function(property, args) {};
469
+
470
+ /**
471
+ * @param {string} property
472
+ * @param {*} context
473
+ * @param {...*} args
474
+ * @return {!SinonStub}
475
+ */
476
+ SinonStub.prototype.yieldsToOn = function(property, context, args) {};
477
+
478
+ /**
479
+ * @param {...*} args
480
+ * @return {!SinonStub}
481
+ */
482
+ SinonStub.prototype.yieldsAsync = function(args) {};
483
+
484
+ /**
485
+ * @param {*} context
486
+ * @param {...*} args
487
+ * @return {!SinonStub}
488
+ */
489
+ SinonStub.prototype.yieldsOnAsync = function(context, args) {};
490
+
491
+ /**
492
+ * @param {string} property
493
+ * @param {...*} args
494
+ * @return {!SinonStub}
495
+ */
496
+ SinonStub.prototype.yieldsToAsync = function(property, args) {};
497
+
498
+ /**
499
+ * @param {string} property
500
+ * @param {*} context
501
+ * @param {...*} args
502
+ * @return {!SinonStub}
503
+ */
504
+ SinonStub.prototype.yieldsToOnAsync = function(property, context, args) {};
505
+
506
+ /**
507
+ * @param {...*} args
508
+ * @return {!SinonStub}
509
+ * @override
510
+ */
511
+ SinonStub.prototype.withArgs = function(args) {};
512
+
513
+
514
+
515
+ /**
516
+ * @param {*=} obj
517
+ * @param {string=} method
518
+ * @param {*=} func
519
+ * @return {!SinonStub}
520
+ */
521
+ sinon.stub = function(obj, method, func) {};
522
+
523
+
524
+
525
+ /**
526
+ * @constructor
527
+ * @extends {SinonStub}
528
+ */
529
+ var SinonExpectation = function() {};
530
+
531
+ /**
532
+ * @param {number} n
533
+ * @return {!SinonExpectation}
534
+ */
535
+ SinonExpectation.prototype.atLeast = function(n) {};
536
+
537
+ /**
538
+ * @param {number} n
539
+ * @return {!SinonExpectation}
540
+ */
541
+ SinonExpectation.prototype.atMost = function(n) {};
542
+
543
+ /**
544
+ * @return {!SinonExpectation}
545
+ */
546
+ SinonExpectation.prototype.never = function() {};
547
+
548
+ /**
549
+ * @return {!SinonExpectation}
550
+ */
551
+ SinonExpectation.prototype.once = function() {};
552
+
553
+ /**
554
+ * @return {!SinonExpectation}
555
+ */
556
+ SinonExpectation.prototype.twice = function() {};
557
+
558
+ /**
559
+ * @return {!SinonExpectation}
560
+ */
561
+ SinonExpectation.prototype.thrice = function() {};
562
+
563
+ /**
564
+ * @param {number} n
565
+ * @return {!SinonExpectation}
566
+ */
567
+ SinonExpectation.prototype.exactly = function(n) {};
568
+
569
+ /**
570
+ * @param {...*} args
571
+ * @return {!SinonExpectation}
572
+ * @override
573
+ */
574
+ SinonExpectation.prototype.withArgs = function(args) {};
575
+
576
+ /**
577
+ * @param {...*} args
578
+ * @return {!SinonExpectation}
579
+ */
580
+ SinonExpectation.prototype.withExactArgs = function(args) {};
581
+
582
+ /**
583
+ * @param {*} obj
584
+ * @return {!SinonExpectation}
585
+ */
586
+ SinonExpectation.prototype.on = function(obj) {};
587
+
588
+ /**
589
+ * @return {!SinonExpectation}
590
+ */
591
+ SinonExpectation.prototype.verify = function() {};
592
+
593
+
594
+
595
+ sinon.expectation = {};
596
+
597
+ /**
598
+ * @param {string} methodName
599
+ * @return {!SinonExpectation}
600
+ */
601
+ sinon.expectation.create = function(methodName) {};
602
+
603
+
604
+
605
+ /**
606
+ * @constructor
607
+ */
608
+ var SinonMock = function() {};
609
+
610
+ /**
611
+ * @param {string} method
612
+ * @return {!SinonExpectation}
613
+ */
614
+ SinonMock.prototype.expects = function(method) {};
615
+
616
+ SinonMock.prototype.restore = function() {};
617
+
618
+ SinonMock.prototype.verify = function() {};
619
+
620
+
621
+
622
+ /**
623
+ * @param {*} obj
624
+ * @return {!SinonMock}
625
+ */
626
+ sinon.mock = function(obj) {};
627
+
628
+
629
+
630
+ /** @interface */
631
+ var SinonMatcher = function() {};
632
+
633
+ /**
634
+ * @param {!SinonMatcher} expr
635
+ * @return {!SinonMatcher}
636
+ */
637
+ SinonMatcher.prototype.and = function(expr) {};
638
+
639
+ /**
640
+ * @param {!SinonMatcher} expr
641
+ * @return {!SinonMatcher}
642
+ */
643
+ SinonMatcher.prototype.or = function(expr) {};
644
+
645
+
646
+
647
+ /**
648
+ * @param {number|string|RegExp|*|function(*): boolean} value
649
+ * @return {!SinonMatcher}
650
+ */
651
+ sinon.match = function(value) {};
652
+
653
+ /** @type {!SinonMatcher} */
654
+
655
+ sinon.match.any;
656
+
657
+ /** @type {!SinonMatcher} */
658
+ sinon.match.defined;
659
+
660
+ /** @type {!SinonMatcher} */
661
+ sinon.match.truthy;
662
+
663
+ /** @type {!SinonMatcher} */
664
+ sinon.match.falsy;
665
+
666
+ /** @type {!SinonMatcher} */
667
+ sinon.match.bool;
668
+
669
+ /** @type {!SinonMatcher} */
670
+ sinon.match.number;
671
+
672
+ /** @type {!SinonMatcher} */
673
+ sinon.match.string;
674
+
675
+ /** @type {!SinonMatcher} */
676
+ sinon.match.object;
677
+
678
+ /** @type {!SinonMatcher} */
679
+ sinon.match.func;
680
+
681
+ /** @type {!SinonMatcher} */
682
+ sinon.match.array;
683
+
684
+ /** @type {!SinonMatcher} */
685
+ sinon.match.regexp;
686
+
687
+ /** @type {!SinonMatcher} */
688
+ sinon.match.date;
689
+
690
+ /**
691
+ * @param {*} obj
692
+ * @return {!SinonMatcher}
693
+ */
694
+ sinon.match.same = function(obj) {};
695
+
696
+ /**
697
+ * @param {string} type
698
+ * @return {!SinonMatcher}
699
+ */
700
+ sinon.match.typeOf = function(type) {};
701
+
702
+ /**
703
+ * @param {*} type
704
+ * @return {!SinonMatcher}
705
+ */
706
+ sinon.match.instanceOf = function(type) {};
707
+
708
+ /**
709
+ * @param {string} property
710
+ * @param {*=} expect
711
+ * @return {!SinonMatcher}
712
+ */
713
+ sinon.match.has = function(property, expect) {};
714
+
715
+ /**
716
+ * @param {string} property
717
+ * @param {*=} expect
718
+ * @return {!SinonMatcher}
719
+ */
720
+ sinon.match.hasOwn = function(property, expect) {};
721
+
722
+
723
+
724
+ sinon.sandbox = {};
34
725
 
35
726
  /**
36
727
  * @param {!Object=} opt_config
@@ -57,14 +748,7 @@ SinonSandbox.prototype.stub = function() {};
57
748
 
58
749
 
59
750
 
60
- /**
61
- * @constructor
62
- */
63
- var SinonStub = function() {};
64
-
65
-
66
-
67
- sinon.fakeServer;
751
+ sinon.fakeServer = {};
68
752
 
69
753
  /**
70
754
  * @param {!Object=} opt_config
@@ -87,6 +771,8 @@ SinonFakeServer.prototype.requests;
87
771
  */
88
772
  SinonFakeServer.prototype.respondImmediately;
89
773
 
774
+ SinonFakeServer.prototype.respond = function() {};
775
+
90
776
  SinonFakeServer.prototype.restore = function() {};
91
777
 
92
778
  /**
@@ -108,9 +794,32 @@ var SinonFakeXmlHttpRequest = function() {};
108
794
  */
109
795
  SinonFakeXmlHttpRequest.prototype.requestBody;
110
796
 
797
+ /**
798
+ * @type {?Object<string, string>}
799
+ */
800
+ SinonFakeXmlHttpRequest.prototype.requestHeaders;
801
+
802
+ /**
803
+ * @type {?string}
804
+ */
805
+ SinonFakeXmlHttpRequest.prototype.method;
806
+
807
+ /**
808
+ * @type {?string}
809
+ */
810
+ SinonFakeXmlHttpRequest.prototype.url;
811
+
111
812
  /**
112
813
  * @param {?number} status
113
814
  * @param {?Object<string, string>} headers
114
815
  * @param {?string} body
115
816
  */
116
817
  SinonFakeXmlHttpRequest.prototype.respond = function(status, headers, body) {};
818
+
819
+
820
+
821
+ /**
822
+ * @param {...?} params
823
+ * @return {Object}
824
+ */
825
+ sinon.useFakeTimers = function(params) {};