gecko-dev/testing/web-platform/tests/presentation-api
James Graham ee29b04f1c Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly
MozReview-Commit-ID: 2Z26QRXPNuK


--HG--
rename : testing/web-platform/tests/encrypted-media/Google/test-encrypted-different-av-keys.webm => testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted-different-av-keys.webm
rename : testing/web-platform/tests/encrypted-media/Google/test-encrypted.webm => testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted.webm
rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html
rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
2016-08-04 23:34:05 +01:00
..
controlling-ua Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly 2016-08-04 23:34:05 +01:00
receiving-ua Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly 2016-08-04 23:34:05 +01:00
README.md

Presentation API Tests

This test suite is currently tracking the Editor Draft of the Presentation API. The Presentation API describes the conformance criteria for two classes of user agents (controlling user agent and receiving user agent). Each of the two subfolders controlling-ua and receiving-ua contains the Presentation API tests for each class of user agents.

IDL Tests

Each of the controlling-ua and receiving-ua subfolders contains a file idlharness.html that defines IDL tests of the Presentation API for controlling and receiving user agents. The WebIDL of the Presentation API spec is extracted from the Editor Draft by running the following JavaScript code in the Dev. console of the Browser.

(function(){
  var s = "";
  [].forEach.call(document.getElementsByClassName("idl"), function(idl) {
    if (!idl.classList.contains("extract"))
      s += idl.textContent + "\n\n";
  });
  document.body.innerHTML = '<pre></pre>';
  document.body.firstChild.textContent = s;
  })();