Closed
Bug 1132557
Opened 10 years ago
Closed 9 years ago
Upgrade to CodeMirror 5.7.0
Categories
(DevTools :: Source Editor, defect, P1)
DevTools
Source Editor
Tracking
(firefox44 fixed)
RESOLVED
FIXED
Firefox 44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: Kwan, Assigned: gl)
References
(Blocks 1 open bug)
Details
(Whiteboard: [polish-backlog])
Attachments
(15 files, 24 obsolete files)
(deleted),
text/plain
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
patch
|
gl
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
tromey
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
So once CodeMirror 4.13 is out it'd be nice to upgrade to it since I've added support for CSS variables (which currently break parsing slightly), and fixed @supports and @-moz-document blocks so they highlight properly (bug 977665)
I have a rough python script I'm attaching that handles most of the legwork for me (actually the first time I've written any python, so I apologise in advance. I think adding error handling to try and make using it friendlier made the code rather less friendly). I figure it might be nice to have on record/possibly reuseable in future.
Currently the main issue is changes introduced in 4.7 break a number of tests
TEST-UNEXPECTED-FAIL | Tern is (currently) defined on the window
https://dxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/test/browser_editor_autocomplete_basic.js#31
#36, #51
https://dxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/test/browser_editor_autocomplete_js.js#26
TEST-UNEXPECTED-FAIL | (gutters|folderGutters) is correct
https://dxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/test/browser_editor_prefs.js#63
#81, #92
I think there are also some failures of the CodeMirrors tests that I can/have fixed by updating imports, but I can worry about that more once these main issues are fixed.
Comment 1•10 years ago
|
||
> Currently the main issue is changes introduced in 4.7 break a number of tests
> TEST-UNEXPECTED-FAIL | Tern is (currently) defined on the window
> https://dxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/
> test/browser_editor_autocomplete_basic.js#31
> #36, #51
> https://dxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/
> test/browser_editor_autocomplete_js.js#26
>
> TEST-UNEXPECTED-FAIL | (gutters|folderGutters) is correct
> https://dxr.mozilla.org/mozilla-central/source/browser/devtools/sourceeditor/
> test/browser_editor_prefs.js#63
> #81, #92
>
Just to narrow down the issue to see if it is test-only or if functionality is broken after the upgrade:
1) Does autocompletion work for JS (in scratchpad) with the new version applied? The easiest way to check is to press ctrl+space and see if you see a listing show up of normal window variables.
2) Do you see gutters for code folding in the style editor?
If either of these aren't working, are you seeing any errors in the browser console when the editor opens up?
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #1)
> Just to narrow down the issue to see if it is test-only or if functionality
> is broken after the upgrade:
> 1) Does autocompletion work for JS (in scratchpad) with the new version
> applied? The easiest way to check is to press ctrl+space and see if you see
> a listing show up of normal window variables.
> 2) Do you see gutters for code folding in the style editor?
>
> If either of these aren't working, are you seeing any errors in the browser
> console when the editor opens up?
Well what do you know, both of those are working fine. And not an error in the console in sight. That was with 4.7, since that's the upgrade that was at the top of my patch queue, but I'll double check master works okay as well... yep, exactly the same results.
Comment 3•10 years ago
|
||
(In reply to Ian Moody [:Kwan] from comment #2)
> Created attachment 8564380 [details]
> workingOk.png
>
> (In reply to Brian Grinstead [:bgrins] from comment #1)
> > Just to narrow down the issue to see if it is test-only or if functionality
> > is broken after the upgrade:
> > 1) Does autocompletion work for JS (in scratchpad) with the new version
> > applied? The easiest way to check is to press ctrl+space and see if you see
> > a listing show up of normal window variables.
> > 2) Do you see gutters for code folding in the style editor?
> >
> > If either of these aren't working, are you seeing any errors in the browser
> > console when the editor opens up?
> Well what do you know, both of those are working fine. And not an error in
> the console in sight. That was with 4.7, since that's the upgrade that was
> at the top of my patch queue, but I'll double check master works okay as
> well... yep, exactly the same results.
So the functionality is working but the tests aren't? Or are the tests also working now with the latest patch?
Reporter | ||
Comment 4•10 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #3)
> So the functionality is working but the tests aren't?
Correct.
Reporter | ||
Comment 5•10 years ago
|
||
I assume we'll want to update to 5.0 rather than 4.13, since 5 seems to have the changes you want for bug 1088804.
I cannot for the life of me figure out why browser_editor_autocomplete_js.js is failing. Though I have noted that even hopping into the test editor window and manually hitting ctrl+space does nothing, whereas it does in Scratchpad, so maybe the test editor just isn't being setup properly?
And what should be done about the win.tern tests? Just toggling them to !win.tern is obviously enough to get them to pass, but then they seem a bit pointless.
Manually checked still working:
Scratchpad autocompletion using ctrl+space
Style Editor autocompletion with auto-popup + enter
Note to self: vim tests needs Pos = CodeMirror.Pos setting, and probably import adjustments, to pass.
Status: NEW → ASSIGNED
Flags: needinfo?(bgrinstead)
Summary: Upgrade CodeMirror to 4.13 (once it's out) → Upgrade to CodeMirror 5.0
Reporter | ||
Comment 6•10 years ago
|
||
I've also tested cold folding in both the Style Editor and Scratchpad, and it works in both places.
Things of note:
Pre-upgrade:
The in-tree codemirror/README claims that "In cm_comment_test.js [...] fallbackToBlock and fallbackToLine tests" must be commented out. This is not currently the case. Why don't they fail then? Because this line
https://hg.mozilla.org/mozilla-central/file/0cefb584fd1a/browser/devtools/sourceeditor/test/codemirror.html#l65
means they never run, nor do any of the other tests before the 2nd driver.js import. Removing that import, they now do run, and need to be commented out.
In addition, running all tests by removing the 2nd driver import reveals that doc_docKeepsMode also currently fails (since it relies on the markdown mode existing) and must be commented out.
cm_mode_javascript_test.js never runs because it isn't in test/browser.ini
CSS and XML modes tests are currently in the "editor doesn't use these modes" list, even though it does.
Post-upgrade:
core_collapsedRangeCoordsChar, core_wrappingAndResizing, core_moveVstuck all fail, I don't know why, and need to be commented out.
Comment 7•10 years ago
|
||
(In reply to Ian Moody [:Kwan] from comment #5)
> I assume we'll want to update to 5.0 rather than 4.13, since 5 seems to have
> the changes you want for bug 1088804.
I wouldn't want to do the work to upgrade to 4.13 if we are going to very quickly switch to 5, so let's check about the relative stability of 5.0. Marijn, how do you feel about Dev Tools upgrading to the mobile edition, in terms of stability and partformance? I notice it's listed at 'experimental' in the release notes.
Flags: needinfo?(bgrinstead) → needinfo?(marijnh)
Comment 8•10 years ago
|
||
> I cannot for the life of me figure out why browser_editor_autocomplete_js.js
> is failing. Though I have noted that even hopping into the test editor
> window and manually hitting ctrl+space does nothing, whereas it does in
> Scratchpad, so maybe the test editor just isn't being setup properly?
>
> And what should be done about the win.tern tests? Just toggling them to
> !win.tern is obviously enough to get them to pass, but then they seem a bit
> pointless.
Can you attach a patch with your current work? I will see if there is anything sticking out. Feel free to re-enable any tests that you mention in Comment 6, but please don't comment out any failing ones yet.
Flags: needinfo?(moz-ian)
Reporter | ||
Comment 9•10 years ago
|
||
copies the new files over
Reporter | ||
Comment 10•10 years ago
|
||
Perform the Mozilla-specific patching, as mentioned in the README. Includes the previous missing disabling of the fallback tests, and disabling the docKeepsMode test.
Reporter | ||
Comment 11•10 years ago
|
||
Flags: needinfo?(moz-ian)
Comment 12•10 years ago
|
||
> Marijn, how do you feel about Dev Tools upgrading to the mobile edition, in terms of stability and partformance? I notice it's listed at 'experimental' in the release notes.
The old textarea-based input implementation should be stable, so as long as you are on a desktop browser and don't explicitly enable the contenteditable-based one, you are unlikely to run into any problems.
However, since I get the impression screen reader support is important for Mozilla, you might want to consider turning on the contenteditable implementation, to test it and help me get it to a point where we can consider it stable. That's a call you have to make.
Flags: needinfo?(marijnh)
Comment 13•10 years ago
|
||
Alright, let's proceed by upgrading to 5.0 without turning on contentEditable in this bug, and then do further testing to decide whether we should enable that in Bug 1088804
Comment 14•10 years ago
|
||
Comment on attachment 8568896 [details] [diff] [review]
Part 2 - Apply Mozilla customisations
Review of attachment 8568896 [details] [diff] [review]:
-----------------------------------------------------------------
> Perform the Mozilla-specific patching, as mentioned in the README. Includes the previous missing disabling of the fallback tests, and disabling the docKeepsMode test.
Can you please update the README with any relevant info?
Comment 15•10 years ago
|
||
Try push with the patch queue: https://treeherder.mozilla.org/#/jobs?repo=try&revision=87f3d993d310
Assignee | ||
Updated•9 years ago
|
Summary: Upgrade to CodeMirror 5.0 → Upgrade to CodeMirror 5.6.0
Updated•9 years ago
|
Whiteboard: [polish-backlog]
Assignee | ||
Updated•9 years ago
|
Assignee: moz-ian → gabriel.luong
Assignee | ||
Comment 18•9 years ago
|
||
Assignee | ||
Comment 19•9 years ago
|
||
Assignee | ||
Comment 20•9 years ago
|
||
Assignee | ||
Comment 21•9 years ago
|
||
Assignee | ||
Comment 22•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8656283 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8656730 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8656731 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8656735 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8656736 -
Attachment is obsolete: true
Assignee | ||
Comment 23•9 years ago
|
||
Assignee | ||
Comment 24•9 years ago
|
||
Assignee | ||
Comment 25•9 years ago
|
||
Assignee | ||
Comment 26•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8661387 -
Attachment description: 1132557-4.patch → Part 4: Upgrade existing CodeMirror mode to 5.6.0
Assignee | ||
Comment 27•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8661387 -
Attachment description: Part 4: Upgrade existing CodeMirror mode to 5.6.0 → Part 4: Upgrade existing CodeMirror keymap to 5.6.0
Assignee | ||
Comment 28•9 years ago
|
||
Assignee | ||
Comment 29•9 years ago
|
||
Assignee | ||
Comment 30•9 years ago
|
||
Attachment #8661424 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8661519 -
Attachment description: Bug 1132557 - Part 7: Upgrade existing CodeMirror tests to 5.6.0 → Part 7: Upgrade existing CodeMirror tests to 5.6.0
Assignee | ||
Comment 31•9 years ago
|
||
Assignee | ||
Comment 32•9 years ago
|
||
Assignee | ||
Comment 33•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8568898 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8568896 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8568894 -
Attachment is obsolete: true
Assignee | ||
Comment 34•9 years ago
|
||
Assignee | ||
Comment 35•9 years ago
|
||
Assignee | ||
Comment 36•9 years ago
|
||
Assignee | ||
Comment 37•9 years ago
|
||
Assignee | ||
Comment 38•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8661369 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8661373 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8661384 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8661387 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8661420 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8661422 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8661519 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8661521 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8662089 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8662528 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8662612 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8662676 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8662695 -
Flags: review?(bgrinstead)
Assignee | ||
Comment 39•9 years ago
|
||
Attachment #8663332 -
Flags: review?(bgrinstead)
Assignee | ||
Comment 40•9 years ago
|
||
Comment 41•9 years ago
|
||
Gabriel, all of these patches are going to need to be rebased on top of Bug 912121 (assuming that sticks on fx-team), sorry :(. I can still do the reviews in the meantime. I think you could find/replace on the patch files to do something like:
browser/devtools/ -> devtools/client/
toolkit/devtools/server -> devtools/server
toolkit/devtools -> devtools/shared
browser/themes/shared/devtools -> devtools/client/themes
And that should get you most of the way. Also see https://github.com/jryans/devtools-migrate#updating-your-patches
Comment 42•9 years ago
|
||
I made a simple script that can migrate the file paths on a patch file: https://gist.github.com/bgrins/8be6ad65a2fd41602f18
Updated•9 years ago
|
Updated•9 years ago
|
Attachment #8661369 -
Flags: review?(bgrinstead) → review+
Comment 43•9 years ago
|
||
From what I understand we are going to land 1206425 before this. Is that right Gabriel? I'm going to clear reviews for now since these need rebasing anyway, and the patches will change quite a bit after the reorg. We may also want to bump to 5.7 (up to you if you want to do that now or in another bug)
Updated•9 years ago
|
Attachment #8661373 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8661384 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8661387 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8661420 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8661422 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8661519 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8661521 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8662089 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8662528 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8662612 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8662676 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8662695 -
Flags: review?(bgrinstead)
Updated•9 years ago
|
Attachment #8663332 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Summary: Upgrade to CodeMirror 5.6.0 → Upgrade to CodeMirror 5.7.0
Assignee | ||
Comment 44•9 years ago
|
||
Attachment #8661369 -
Attachment is obsolete: true
Attachment #8665664 -
Flags: review+
Assignee | ||
Comment 45•9 years ago
|
||
Attachment #8661373 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8665664 -
Attachment description: 1132557-1.patch [1.0] → Part 1: Update CodeMirror License [1.0]
Assignee | ||
Comment 46•9 years ago
|
||
Attachment #8661384 -
Attachment is obsolete: true
Assignee | ||
Comment 47•9 years ago
|
||
Attachment #8661387 -
Attachment is obsolete: true
Updated•9 years ago
|
Priority: -- → P1
Assignee | ||
Comment 48•9 years ago
|
||
Attachment #8661420 -
Attachment is obsolete: true
Assignee | ||
Comment 49•9 years ago
|
||
Attachment #8661422 -
Attachment is obsolete: true
Assignee | ||
Comment 50•9 years ago
|
||
Attachment #8661519 -
Attachment is obsolete: true
Assignee | ||
Comment 51•9 years ago
|
||
Attachment #8661521 -
Attachment is obsolete: true
Assignee | ||
Comment 52•9 years ago
|
||
Attachment #8662089 -
Attachment is obsolete: true
Assignee | ||
Comment 53•9 years ago
|
||
Attachment #8662528 -
Attachment is obsolete: true
Assignee | ||
Comment 54•9 years ago
|
||
Attachment #8662612 -
Attachment is obsolete: true
Assignee | ||
Comment 55•9 years ago
|
||
Attachment #8662676 -
Attachment is obsolete: true
Assignee | ||
Comment 56•9 years ago
|
||
Attachment #8665875 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8663332 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8662695 -
Attachment is obsolete: true
Assignee | ||
Comment 57•9 years ago
|
||
Attachment #8665897 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665683 -
Flags: review?(bgrinstead)
Assignee | ||
Comment 58•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8665698 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665706 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665848 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665854 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665878 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665879 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665882 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665884 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665887 -
Flags: review?(bgrinstead)
Assignee | ||
Updated•9 years ago
|
Attachment #8665890 -
Flags: review?(bgrinstead)
Assignee | ||
Comment 59•9 years ago
|
||
Assignee | ||
Comment 60•9 years ago
|
||
Updated•9 years ago
|
Attachment #8665683 -
Flags: review?(bgrinstead) → review+
Updated•9 years ago
|
Attachment #8665706 -
Flags: review?(bgrinstead) → review+
Updated•9 years ago
|
Attachment #8665848 -
Flags: review?(bgrinstead) → review+
Updated•9 years ago
|
Attachment #8665854 -
Flags: review?(bgrinstead) → review+
Updated•9 years ago
|
Attachment #8665882 -
Flags: review?(bgrinstead) → review+
Updated•9 years ago
|
Attachment #8665884 -
Flags: review?(bgrinstead) → review+
Comment 61•9 years ago
|
||
Comment on attachment 8665887 [details] [diff] [review]
Part 12: Stylesheet Editor should always batch up updates [1.0]
Review of attachment 8665887 [details] [diff] [review]:
-----------------------------------------------------------------
Tom, just a heads up that we are planning to remove the 'immediate' functionality inside updateStyleSheet on the frontend. We couldn't find anywhere this was intentionally being called, and the event object was being passed in as the first parameter so the truthy check on line 482 was incorrectly being hit. Seem alright with you?
Attachment #8665887 -
Flags: review?(bgrinstead) → review?(ttromey)
Updated•9 years ago
|
Attachment #8665890 -
Flags: review?(bgrinstead) → review+
Updated•9 years ago
|
Attachment #8665897 -
Flags: review?(bgrinstead) → review+
Comment 62•9 years ago
|
||
Gabe, a note about landing this: let's fold all the upgrade stuff into one patch. Believe that's Parts 1, 2, 4, 5, 6, 7, and 13. Then the various fixes needed for the upgrade could fold into a second patch - 3, 8, 9, 10, 11, and 12.
Updated•9 years ago
|
Attachment #8665698 -
Flags: review?(bgrinstead) → review+
Comment 63•9 years ago
|
||
Comment on attachment 8665878 [details] [diff] [review]
Part 8: Editor config option should be updated [1.0]
Review of attachment 8665878 [details] [diff] [review]:
-----------------------------------------------------------------
::: devtools/client/sourceeditor/editor.js
@@ +1023,5 @@
> this.config.autocomplete = v;
> this.setupAutoCompletion();
> } else {
> cm.setOption(o, v);
> + this.config[o] = v;
I can't remember why we needed to do this. Do you? It does make sense that we'd keep the config state up to date though (as we do with config.autocomplete above)
Attachment #8665878 -
Flags: review?(bgrinstead) → review+
Comment 65•9 years ago
|
||
Comment on attachment 8665887 [details] [diff] [review]
Part 12: Stylesheet Editor should always batch up updates [1.0]
Review of attachment 8665887 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good; and fwiw won't cause any problems with the authored series.
Attachment #8665887 -
Flags: review?(ttromey) → review+
Comment 66•9 years ago
|
||
Comment on attachment 8665879 [details] [diff] [review]
Part 9: Editor should emit a cursorActivity on setCursor [1.0]
Review of attachment 8665879 [details] [diff] [review]:
-----------------------------------------------------------------
Ship it!
Attachment #8665879 -
Flags: review?(bgrinstead) → review+
Assignee | ||
Comment 67•9 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #63)
> Comment on attachment 8665878 [details] [diff] [review]
> Part 8: Editor config option should be updated [1.0]
>
> Review of attachment 8665878 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: devtools/client/sourceeditor/editor.js
> @@ +1023,5 @@
> > this.config.autocomplete = v;
> > this.setupAutoCompletion();
> > } else {
> > cm.setOption(o, v);
> > + this.config[o] = v;
>
> I can't remember why we needed to do this. Do you? It does make sense that
> we'd keep the config state up to date though (as we do with
> config.autocomplete above)
I believe this was because the autocomplete test was failing since the config is not actually saved.
Flags: needinfo?(gabriel.luong)
Assignee | ||
Comment 68•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0390e740bfc55c2e99cfed3654c1f888e5da95e0
Bug 1132557 - Part 1: Upgrade to CodeMirror 5.7.0 r=bgrins
https://hg.mozilla.org/integration/fx-team/rev/2bfe5435c1d1e2784af3b225d629a210023daecd
Bug 1132557 - Part 2: Apply fixes for CodeMirror 5.7.0 upgrade r=bgrins
Comment 69•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0390e740bfc5
https://hg.mozilla.org/mozilla-central/rev/2bfe5435c1d1
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•