@@ -544,8 +544,12 @@ <h2>
544
544
method steps are:
545
545
</ p >
546
546
< ol class ="algorithm ">
547
- < li > [=Request position=], passing |successCallback|, |errorCallback|,
548
- |options|, and (repeats) false.
547
+ < li > If the [=current settings object=]'s [=associated `Document`=] is
548
+ not [=Document/fully active=], [=call back with error=]
549
+ |errorCallback| and {{GeolocationPositionError/POSITION_UNAVAILABLE}}.
550
+ </ li >
551
+ < li > Otherwise, [=request position=], passing |successCallback|,
552
+ |errorCallback|, |options|, and (repeats) false.
549
553
</ li >
550
554
< li > Return `undefined`.
551
555
</ li >
@@ -562,6 +566,16 @@ <h2>
562
566
method steps are:
563
567
</ p >
564
568
< ol class ="algorithm ">
569
+ < li > If the [=current settings object=]'s [=associated `Document`=] is
570
+ not [=Document/fully active=]:
571
+ < ol >
572
+ < li > [=Call back with error=] |errorCallback| and
573
+ {{GeolocationPositionError/POSITION_UNAVAILABLE}}.
574
+ </ li >
575
+ < li > Return an [=implementation-defined=] {{long}}.
576
+ </ li >
577
+ </ ol >
578
+ </ li >
565
579
< li > Let |watchId:long| be [=request position=], passing
566
580
|successCallback|, |errorCallback|, |options|, and (repeats) true.
567
581
</ li >
@@ -595,10 +609,6 @@ <h2>
595
609
optionally (and only if |repeats| is true) a |previousId:long|.
596
610
</ p >
597
611
< ol class ="algorithm ">
598
- < li > If the [=current settings object=]'s [=associated `Document`=] is
599
- not [=Document/fully active=], return an [=implementation-defined=]
600
- {{long}}.
601
- </ li >
602
612
< li > Let |watchTasks:Set| be [=this=]'s
603
613
{{Geolocation/[[watchTasks]]}}.
604
614
</ li >
0 commit comments