Revision 9abffa9df6d283dd32468e2e56adccb4590e8c09 authored by Brian Birtles on 25 April 2018, 09:41:56 UTC, committed by moz-wptsync-bot on 25 April 2018, 10:03:11 UTC
The test added in this patch fails without the corresponding code changes (specifically the second gGetComputedTimingTests test fails the comparison of the 'easing' member). bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1456688 gecko-commit: e786f1edbbefa7dadbb2e0ba5b7939f2bf4f1273 gecko-integration-branch: central gecko-reviewers: hiro
1 parent e3cd92d
WorkerLocation_pathname.htm
<!DOCTYPE html>
<title> WorkerLocation URL decomposition IDL attribute: pathname </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function(t) {
var worker = new Worker('./support/WorkerLocation.js');
worker.onmessage = t.step_func_done(function(e) {
var pathname = location.pathname;
var expected = pathname.substring(0, pathname.lastIndexOf('/')) + '/support/WorkerLocation.js';
assert_equals(e.data.pathname, expected);
});
});
</script>
Computing file changes ...