Don't use window object when using getComputedStyle in dom/animation/test.

RESOLVED FIXED in Firefox 55



2 years ago
2 years ago


(Reporter: mantaroh, Assigned: mantaroh)


54 Branch

Firefox Tracking Flags

(firefox54 wontfix, firefox55 fixed)



(1 attachment)



2 years ago
It's small change.

In bug 1302648, we didn't specify the 'window' object when using getComputedStyle.
For consistency, I drop 'window' object when using getComputedStyle in the animation tests.
Comment hidden (mozreview-request)
I'm not completely sure this is worth doing, at least not for now. There are various upstream changes happening and a big cross-cutting change like this here is going to make merging those really hard work for James. We should probably hold off a couple of weeks.

Also, we need to update the checksums of all these files we're changing by running 'mach web-platform-tests --manifest-update yer' otherwise anyone else running that command on m-c will get a bunch of unrelated changes.
I haven't forgotten about this. I'm just waiting for the latest web-platform-tests sync to hit mozilla central (should be next 1~2 days).

Comment 4

2 years ago
Comment on attachment 8835333 [details]
Bug 1338069 - Don't use 'window' object when using getComputedStyle in tests.

web-platform-tests has finally been synced so I think this is ok to land.
Attachment #8835333 - Flags: review?(bbirtles) → review+
Mantaroh, are you going to land this?
Flags: needinfo?(mantaroh)
Comment hidden (mozreview-request)

Comment 7

2 years ago
(In reply to Brian Birtles (:birtles) from comment #5)
> Mantaroh, are you going to land this?

Sorry, I forgot to land it.

Try :
You can specify "--artifact" syntax for test file only changes.  It does not work on stylo for now though.


2 years ago
Assignee: nobody → mantaroh
Flags: needinfo?(mantaroh)

Comment 9

2 years ago
Pushed by
Don't use 'window' object when using getComputedStyle in tests. r=birtles

Comment 10

2 years ago
Last Resolved: 2 years ago
status-firefox55: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
status-firefox54: affected → wontfix
You need to log in before you can comment on or make changes to this bug.