Closed
Bug 1464102
Opened 6 years ago
Closed 6 years ago
Fix support for todo from within ContentTasks and add support for todo_is
Categories
(Firefox :: General, enhancement)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: jaws, Assigned: jaws)
References
Details
Attachments
(5 files)
59 bytes,
text/x-review-board-request
|
Gijs
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
Gijs
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
MattN
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
johannh
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
jdescottes
:
review+
|
Details |
Bug 1236991 attempted to add support for todo() from within ContentTask but missed adding the event listener for the message. While fixing this I'll also add support for todo_is() which is needed to uncomment the code at https://searchfox.org/mozilla-central/rev/dc6d85680539cb7e5fe2843d38a30a0581bfefe1/browser/components/payments/test/browser/browser_request_serialization.js#38-51
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•6 years ago
|
||
mozreview-review |
Comment on attachment 8980344 [details] Bug 1464102 - Add message listener for content-task:test-todo so todo from within ContentTask will work. https://reviewboard.mozilla.org/r/246512/#review252602 D'oh.
Attachment #8980344 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 5•6 years ago
|
||
mozreview-review |
Comment on attachment 8980345 [details] Bug 1464102 - Add support for todo_is within ContentTask. https://reviewboard.mozilla.org/r/246514/#review252604
Attachment #8980345 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8980346 [details] Bug 1464102 - Uncomment the shippingOptions portion of browser_request_serialization now that todo_is is supported. https://reviewboard.mozilla.org/r/246516/#review252650 Thanks ::: browser/components/payments/test/browser/browser_request_serialization.js:41 (Diff revision 1) > ok(state, "got request store state"); > > - // let expected = details; > - // let actual = state.request.paymentDetails; > - // if (expected.shippingOptions) { > - // is(actual.shippingOptions.length, expected.shippingOptions.length, > + // The following test cases are conditionally todo because > + // the spec currently does not state the shippingOptions > + // should be null when requestShipping is not set. A future > + // spec change (bug 1436903 comments 7-12) will fix this. Unrelated to this patch… would you mind following up on that spec issue and and/or getting a new bug filed for it.
Attachment #8980346 -
Flags: review?(MattN+bmo) → review+
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/43b864db2e34 Add message listener for content-task:test-todo so todo from within ContentTask will work. r=Gijs https://hg.mozilla.org/integration/autoland/rev/3c227d911b2f Add support for todo_is within ContentTask. r=Gijs https://hg.mozilla.org/integration/autoland/rev/460cd874757f Uncomment the shippingOptions portion of browser_request_serialization now that todo_is is supported. r=MattN
Comment 8•6 years ago
|
||
Backed out for browser chrome and devtools failures. Push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=460cd874757f800379e749392152dc0b35200416 Backout: https://hg.mozilla.org/integration/autoland/rev/2d538ade0306540dd73123ea8898f3745c57fd0e BC log link: https://treeherder.mozilla.org/logviewer.html#?job_id=180105779&repo=autoland&lineNumber=2333 DT log link: https://treeherder.mozilla.org/logviewer.html#?job_id=180118614&repo=autoland&lineNumber=4279
Flags: needinfo?(jaws)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 14•6 years ago
|
||
mozreview-review |
Comment on attachment 8980689 [details] Bug 1464102 - Change the todos in browser_siteData.js to is() now that todo is working and the conditions are passing. https://reviewboard.mozilla.org/r/246858/#review252962 Note that these were todo'd because the assertion was intermittent (I didn't understand that todo in ContentTasks was broken and should actually fail). I'd be willing to let this go intermittent again for checking if the problem persists. Thanks!
Attachment #8980689 -
Flags: review?(jhofmann) → review+
Assignee | ||
Comment 15•6 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #14) > Note that these were todo'd because the assertion was intermittent (I didn't > understand that todo in ContentTasks was broken and should actually fail). > I'd be willing to let this go intermittent again for checking if the problem > persists. Yeah, I'll comment in the original intermittent bug saying that we're going to try this again now.
Flags: needinfo?(jaws)
Comment 16•6 years ago
|
||
mozreview-review |
Comment on attachment 8980690 [details] Bug 1464102 - Update the pageError.js test now that content-task.js has been updated. https://reviewboard.mozilla.org/r/246860/#review252968 Update looks good, thanks!
Attachment #8980690 -
Flags: review?(jdescottes) → review+
Comment 17•6 years ago
|
||
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9eff44581f49 Add message listener for content-task:test-todo so todo from within ContentTask will work. r=Gijs https://hg.mozilla.org/integration/autoland/rev/b9d9ed3b2ee1 Add support for todo_is within ContentTask. r=Gijs https://hg.mozilla.org/integration/autoland/rev/d576bdf165b7 Uncomment the shippingOptions portion of browser_request_serialization now that todo_is is supported. r=MattN https://hg.mozilla.org/integration/autoland/rev/9675ad8f3c22 Change the todos in browser_siteData.js to is() now that todo is working and the conditions are passing. r=johannh https://hg.mozilla.org/integration/autoland/rev/9c6b035eedf6 Update the pageError.js test now that content-task.js has been updated. r=jdescottes
Comment 18•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9eff44581f49 https://hg.mozilla.org/mozilla-central/rev/b9d9ed3b2ee1 https://hg.mozilla.org/mozilla-central/rev/d576bdf165b7 https://hg.mozilla.org/mozilla-central/rev/9675ad8f3c22 https://hg.mozilla.org/mozilla-central/rev/9c6b035eedf6
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
You need to log in
before you can comment on or make changes to this bug.
Description
•