Repository navigation
Implement window indexed getter - #20615
Conversation
|
Heads up! This PR modifies the following files:
|
|
r? @asajeffrey |
| index as usize, | ||
| result_sender | ||
| )); | ||
| return result_receiver.recv().ok().and_then(|maybe_proxy| maybe_proxy).map(|proxy| proxy.root()); |
There was a problem hiding this comment.
I think this will cause a deadlock since this will block the script thread on itself. We should probably call a method on the ScriptThread instead.
There was a problem hiding this comment.
Ohh, so that's why. I knew I overlooked something...
495ff56 to
f859696
Compare
|
@bors-servo try |
[WIP] Implement window indexed getter Fixes #4589. This does not work properly right now, local testing reveals that servo hangs even in the simplest form of `window[0]`. I suspect the receivers are being blocked on receiving data, but I cannot find anything obvious yet as to why it is not receiving anything. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20615) <!-- Reviewable:end -->
f859696 to
4288da6
Compare
|
@bors-servo try |
[WIP] Implement window indexed getter Fixes #4589. This does not work properly right now, local testing reveals that servo hangs even in the simplest form of `window[0]`. I suspect the receivers are being blocked on receiving data, but I cannot find anything obvious yet as to why it is not receiving anything. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20615) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel-wpt |
4288da6 to
9803388
Compare
|
@bors-servo try |
[WIP] Implement window indexed getter Fixes #4589. This does not work properly right now, local testing reveals that servo hangs even in the simplest form of `window[0]`. I suspect the receivers are being blocked on receiving data, but I cannot find anything obvious yet as to why it is not receiving anything. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20615) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel-wpt |
9803388 to
3f22981
Compare
|
@bors-servo try |
[WIP] Implement window indexed getter Fixes #4589. This does not work properly right now, local testing reveals that servo hangs even in the simplest form of `window[0]`. I suspect the receivers are being blocked on receiving data, but I cannot find anything obvious yet as to why it is not receiving anything. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20615) <!-- Reviewable:end -->
|
@bors-servo retry
|
|
⚡ Previous build results for android, arm32, arm64, linux-dev, mac-rel-css2, mac-rel-wpt2, windows-msvc-dev are reusable. Rebuilding only linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-wpt1, mac-rel-wpt3, mac-rel-wpt4... |
|
💔 Test failed - mac-rel-css1 |
|
@bors-servo retry
|
|
⚡ Previous build results for android, arm32, arm64, linux-dev, mac-rel-css2, mac-rel-wpt2, windows-msvc-dev are reusable. Rebuilding only linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-wpt1, mac-rel-wpt3, mac-rel-wpt4... |
|
💔 Test failed - mac-dev-unit |
|
@bors-servo retry |
Implement window indexed getter Fixes #4589. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20615) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-wpt1 |
|
|
That's a fun error, I didn't even touch properties.mako.rs in my PR at all! |
|
Indeed. |
Implement window indexed getter Fixes #4589. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20615) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
Fixes #4589.
This change is