Skip to content

Cache XHR JSON responses - #9621

Merged
bors-servo merged 1 commit into
servo:masterfrom
KiChjang:xhr-response-json
Feb 15, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
KiChjang:xhr-response-json

Conversation

@KiChjang

Copy link
Copy Markdown
Contributor

Fixes #3919.

Review on Reviewable

@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 12, 2016
@jdm

jdm commented Feb 12, 2016

Copy link
Copy Markdown
Member

This isn't a thorough review, just a couple things that jumped out at me:

  • I'm not convinced that having the MutJSHeapValue size be reported as 0 is better than selectively ignoring the field with a useful explanation
  • I'm pretty sure we want is_null() instead of comparing the JS value against a null handle value

@KiChjang

Copy link
Copy Markdown
Contributor Author

Not sure what the explanation should be though, "managed through JS GC"?

@KiChjang
KiChjang force-pushed the xhr-response-json branch 3 times, most recently from 514114a to 3e5220a Compare February 12, 2016 21:04
@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #9629) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Feb 15, 2016
@jdm jdm removed the S-needs-rebase There are merge conflict errors. label Feb 15, 2016
@Ms2ger

Ms2ger commented Feb 15, 2016

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 6be5218 has been approved by Ms2ger

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6be5218 with merge 94d6ca2...

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Feb 15, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Feb 15, 2016
@KiChjang

Copy link
Copy Markdown
Contributor Author

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux-dev, mac-dev-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only linux-rel...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Feb 15, 2016
@KiChjang

Copy link
Copy Markdown
Contributor Author

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6be5218 with merge 5ee5ce0...

@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. label Feb 15, 2016
@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 15, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Feb 15, 2016
@jdm

jdm commented Feb 15, 2016

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux-dev, mac-dev-unit, mac-rel-css are reusable. Rebuilding only linux-rel, mac-rel-wpt...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Feb 15, 2016
@jdm

jdm commented Feb 15, 2016

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux-dev, mac-dev-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only linux-rel...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Feb 15, 2016
@KiChjang

Copy link
Copy Markdown
Contributor Author

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux-dev, mac-dev-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only linux-rel...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 6be5218 into servo:master Feb 15, 2016
@KiChjang
KiChjang deleted the xhr-response-json branch February 15, 2016 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants