Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36316 Eliminate user-agent sniffing where possible
  3. MDL-39966

Course format supports_ajax() no longer supports the property testedbrowsers

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: Course, JavaScript
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      $testedbrowsers used to be a way to say brower x of version y is supported.

      By the looks of the code, we don't actually respect those properties (see course_format_ajax_support)

      Now for 2.6.. we shouldn't support it, I want to get rid of browser sniffing. but for <2.6 we might want to add it (depends how long its been broken).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: