summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/test-bug-595934-canvas-css.js
blob: ee1ebd4251e4072cb2e56a3932eb61e9e0e5ed7d (plain)
1
2
3
4
5
6
7
8
9
10
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

window.addEventListener("DOMContentLoaded", function () {
  var canvas = document.querySelector("canvas");
  var context = canvas.getContext("2d");
  context.strokeStyle = "foobarCanvasCssParser";
}, false);