Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.7.0
    • Component/s: mobile-spec
    • Labels:
      None

      Description

      There are many tests that test the existence of interfaces where duck-typing should be employed.
      ex. The geolocation tests test if the code can create a Coordinates object.
      The spec says that the Coordinates object has certain properties, but it does NOT specify that window.Coordinates is a function, or that typeof on a returned Coordinates object should be of type Coordinates.
      We should be testing solely on the existence of the properties defined in the spec.

      Realistically, there is no reason for a developer to create a Coordinates object as none of the APIs expect this object.

        Activity

        Filip Maj made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Filip Maj made changes -
        Parent CB-458 [ 12550083 ]
        Issue Type Bug [ 1 ] Sub-task [ 7 ]
        Filip Maj made changes -
        Fix Version/s 1.7.0 [ 12319549 ]
        Filip Maj made changes -
        Field Original Value New Value
        Assignee Filip Maj [ filmaj ]
        Jesse MacFadyen created issue -

          People

          • Assignee:
            Filip Maj
            Reporter:
            Jesse MacFadyen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development