Closed Bug 1338069 Opened 6 years ago Closed 6 years ago

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


(Core :: DOM: Animation, defect)

54 Branch
Not set



Tracking Status
firefox54 --- wontfix
firefox55 --- fixed


(Reporter: mantaroh, Assigned: mantaroh)




(1 file)

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.
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 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)
(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.
Assignee: nobody → mantaroh
Flags: needinfo?(mantaroh)
Pushed by
Don't use 'window' object when using getComputedStyle in tests. r=birtles
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.