<!DOCTYPE html>
<!-- This test should be kept in sync with the element version of this test (so long as the element
offscreen context attribute APIs remain identical). -->
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

<script>

var testScenarios = [
    // defaults
    {testDescription: "Test default offscreen context creation attributes",
        canvasContextAttributes: {},
        expectedContextAttributes: {
            alpha: true,
          