Closed
Bug 1394101
Opened 6 years ago
Closed 6 years ago
Port Bug 1374282 [Switch to async/await from Task.jsm/yield] to SeaMonkey
Categories
(SeaMonkey :: General, defect)
Tracking
(seamonkey2.54 fixed, seamonkey2.55 fixed, seamonkey2.53 fixed)
RESOLVED
FIXED
seamonkey2.55
People
(Reporter: bugZ, Assigned: frg)
References
Details
Attachments
(3 files, 4 obsolete files)
11.62 KB,
image/png
|
Details | |
26.03 KB,
patch
|
frg
:
review+
iannbugzilla
:
approval-comm-beta+
iannbugzilla
:
approval-comm-release+
|
Details | Diff | Splinter Review |
2.64 KB,
patch
|
frg
:
review+
iannbugzilla
:
approval-comm-beta+
iannbugzilla
:
approval-comm-release+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 SeaMonkey/2.54a1 Build ID: 20170815055359 Steps to reproduce: Starting with the 2017-08-16 build (both Win32 and Win64), Data Manager appears broken. 1. Start the browser 2. In the location bar, enter about:data Actual results: Data Manager is blank. The error console shows 3 errors (will attach screenshot): ReferenceError:gDataman is not defined ReferenceError:gTabs is not defined Syntax Error: yield expression is only valid in generators The 2017-08-26 build also shows: FullZoom is undefined Expected results: Expected Data Manager to show the domains and what is stored for each.
![]() |
Assignee | |
Updated•6 years ago
|
Assignee: nobody → frgrahl
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Summary: Data Manager looks empty - gDataman is not defined → Port Bug 1374282 [Switch to async/await from Task.jsm/yield] to SeaMonkey
![]() |
Assignee | |
Updated•6 years ago
|
Blocks: 2.55BulkMalfunctions
![]() |
Assignee | |
Comment 1•6 years ago
|
||
The startup error is gone but still need to do the Data Manager patch.
![]() |
Assignee | |
Comment 2•6 years ago
|
||
Attachment #8901498 -
Attachment is obsolete: true
![]() |
Assignee | |
Comment 3•6 years ago
|
||
Ran the script from bug 1374282 against suite. This only left the Data Manager and these two were an easy fix. Looks like just the declarations to make it generator funtions were missing. I wonder if this was an error before or I miss something? Tested and working as far as I see it.
Attachment #8901517 -
Attachment is obsolete: true
Attachment #8901583 -
Flags: review?(iann_bugzilla)
![]() |
Assignee | |
Comment 4•6 years ago
|
||
Comment adjusted. Bug number was missing. Patch not changed.
Attachment #8901583 -
Attachment is obsolete: true
Attachment #8901583 -
Flags: review?(iann_bugzilla)
Attachment #8902003 -
Flags: review?(iann_bugzilla)
Is this bug the likely reason form field "suggestions" also stopped working?
![]() |
Assignee | |
Comment 6•6 years ago
|
||
Probably but might be Bug 1392929. They are working in my local build with both patches applied.
Comment on attachment 8902003 [details] [diff] [review] 1394101-yield.patch >+++ b/suite/common/dataman/dataman.js >- function loader() { >+ function* loader() { >- function loader() { >+ >+ function* loader() { Are these changes to do with Task/yield as I cannot find similar in the reference patch. >+++ b/suite/common/places/tests/autocomplete/test_enabled.js >@@ -27,17 +27,17 @@ var gTests = [ > ["3: resume normal search", > "url", [0], () => setSearch(1)], > ]; > > function setSearch(aSearch) { > prefs.setBoolPref("browser.urlbar.autocomplete.enabled", !!aSearch); > } > >-add_task(function* test_sync_enabled() { >+add_task(async function test_sync_enabled() { > // Initialize autocomplete component. > Cc["@mozilla.org/autocomplete/search;1?name=history"] > .getService(Ci.mozIPlacesAutoComplete); > > let types = [ "history", "bookmark", "openpage" ]; > > // Test the service keeps browser.urlbar.autocomplete.enabled synchronized > // with browser.urlbar.suggest prefs. Is this change correct as there is no yield in the function? r=me with those points answered/addressed
Attachment #8902003 -
Flags: review?(iann_bugzilla) → review+
![]() |
Assignee | |
Comment 8•6 years ago
|
||
> Are these changes to do with Task/yield as I cannot find similar in the reference patch. I think the code was incorrect but there were many changes in this area and I didn't find the bug where syntax checking was tighted up. I am splitting up the patch into two parts and change the comment. If needed we can take this on to other trees or back it out and put in a new comment. > Is this change correct as there is no yield in the function? The corresponding file is mozilla/toolkit/components/places/tests/unifiedcomplete/test_enabled.js It was changed in Bug 1353542 https://bug1353542.bmoattachments.org/attachment.cgi?id=8865250 I believe the test is and was broken and needs to be adapted. Previously maybe called as a generator but I am not seeing it now. I will add Bug 1353542 to the comment. This seem to be the main bug for the changes.
![]() |
Assignee | |
Comment 9•6 years ago
|
||
Split patch Part 1 addressing reviewer comments. r+ from IanN carried forward. Drat! Thought I had time till Monday but Merges just started. Well I wanted it in former Beta which is now release anyway :) [Approval Request Comment] Regression caused by (bug #): 1394101 User impact if declined: 2.54 broken Testing completed (on m-c, etc.): c-c c-b Risk to taking this patch (and alternatives if risky): low risk. Tested. String changes made by this patch: none.
Attachment #8902003 -
Attachment is obsolete: true
Attachment #8911203 -
Flags: review+
Attachment #8911203 -
Flags: approval-comm-release?
Attachment #8911203 -
Flags: approval-comm-beta?
![]() |
Assignee | |
Comment 10•6 years ago
|
||
Split patch Part 2 for Data Manager. Addressing reviewer comments. r+ from IanN carried forward. [Approval Request Comment] Regression caused by (bug #): 1394101 User impact if declined: 2.54 Data Manager broken Testing completed (on m-c, etc.): c-c c-b Risk to taking this patch (and alternatives if risky): low risk. Tested. String changes made by this patch: none.
Attachment #8911205 -
Flags: review+
Attachment #8911205 -
Flags: approval-comm-release?
Attachment #8911205 -
Flags: approval-comm-beta?
Comment 11•6 years ago
|
||
Pushed by frgrahl@gmx.net: https://hg.mozilla.org/comm-central/rev/56a768de610b Part 1 Port Bug 1374282 [Switch to async/await from Task.jsm/yield] to SeaMonkey. r=IanN https://hg.mozilla.org/comm-central/rev/264f1743605c Part 2 Add missing generator function declare in Data Manager. r=IanN
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
![]() |
Assignee | |
Updated•6 years ago
|
status-seamonkey2.53:
--- → affected
status-seamonkey2.54:
--- → affected
status-seamonkey2.55:
--- → fixed
Target Milestone: --- → seamonkey2.55
Comment 12•6 years ago
|
||
Comment on attachment 8911203 [details] [diff] [review] 1394101-part1-yield.patch a=me
Attachment #8911203 -
Flags: approval-comm-release?
Attachment #8911203 -
Flags: approval-comm-release+
Attachment #8911203 -
Flags: approval-comm-beta?
Attachment #8911203 -
Flags: approval-comm-beta+
Comment 13•6 years ago
|
||
Comment on attachment 8911205 [details] [diff] [review] 1394101-part2-yield.patch a=me
Attachment #8911205 -
Flags: approval-comm-release?
Attachment #8911205 -
Flags: approval-comm-release+
Attachment #8911205 -
Flags: approval-comm-beta?
Attachment #8911205 -
Flags: approval-comm-beta+
![]() |
Assignee | |
Comment 14•6 years ago
|
||
part 1 https://hg.mozilla.org/releases/comm-beta/rev/7ccb550f060e70551fde6309b96789f157190f8f https://hg.mozilla.org/releases/comm-release/rev/1f21d91b6b924a0326a34aee81fa67d0bd45278a part 2 https://hg.mozilla.org/releases/comm-beta/rev/f001cdeb5a34fda154a0c66e56e985c732ee7341 https://hg.mozilla.org/releases/comm-release/rev/b8b1280b35a3831b86f9ec14e5fb449c1e1e49b3
![]() |
Assignee | |
Updated•5 years ago
|
Blocks: 2.56BulkMalfunctions
![]() |
Assignee | |
Updated•5 years ago
|
No longer blocks: 2.56BulkMalfunctions
You need to log in
before you can comment on or make changes to this bug.
Description
•