Closed
Bug 1472421
Opened 6 years ago
Closed 6 years ago
[FIX] nsRange should not use uncomposed doc
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
3.44 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
3.45 KB,
patch
|
Details | Diff | Splinter Review | |
3.58 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Updated•6 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•6 years ago
|
||
this needed a test remote: View your change here: remote: https://hg.mozilla.org/try/rev/0fd9b64bac533ea5b400ae39333ea1c648342d50 remote: remote: Follow the progress of your build on Treeherder: remote: https://treeherder.mozilla.org/#/jobs?repo=try&revision=0fd9b64bac533ea5b400ae39333ea1c648342d50 remote: recorded changegroup in replication log in 0.109s
Attachment #8989269 -
Flags: review?(mrbkap)
Assignee | ||
Comment 2•6 years ago
|
||
could have passed function to the pushPrefEnv without the nameless function, in the test.
Assignee | ||
Updated•6 years ago
|
Summary: nsRange should not use uncomposed doc → [FIX] nsRange should not use uncomposed doc
Comment 3•6 years ago
|
||
Comment on attachment 8989269 [details] [diff] [review] range_composed_with_test.diff Review of attachment 8989269 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/test/test_range_bounds.html @@ +289,5 @@ > isTransformed = true; > root.style.transform = "translate(30px,50px)"; > doTest(); > > + SpecialPowers.pushPrefEnv({"set":[["dom.webcomponents.shadowdom.enabled", true]]}, function() { As you mentioned, you can pass `testShadowDOM` directly to pushPrefEnv but in the future, current JS style is to use `() => { ... }` for closures.
Attachment #8989269 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 4•6 years ago
|
||
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/2d12737168b1 nsRange should use composeddoc so that it works in shadow DOM, r=mrbkap
Comment 6•6 years ago
|
||
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=2d12737168b11f9abd01461d2bd0a9c68bd2794a&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&selectedJob=186203926 Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=186203926&repo=mozilla-inbound Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/fdba9973982ab484d78323840e7e80c1a45bf093
Flags: needinfo?(bugs)
Assignee | ||
Comment 7•6 years ago
|
||
oh, crap, should have called finish inside the callback.
Flags: needinfo?(bugs)
Assignee | ||
Comment 8•6 years ago
|
||
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/59874f1c664c nsRange should use composeddoc so that it works in shadow DOM, r=mrbkap
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/59874f1c664c
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•