Closed Bug 1443457 Opened 6 years ago Closed 6 years ago

Stop referencing the "addon-sdk" loader in devtools code

Categories

(DevTools :: Console, enhancement, P2)

enhancement

Tracking

(firefox61 fixed)

RESOLVED FIXED
Firefox 61
Tracking Status
firefox61 --- fixed

People

(Reporter: miker, Assigned: miker)

Details

Attachments

(1 file)

The addon-sdk loader was completely copied over to devtools, so "addon-sdk loader" will make less and less sense in the future.

We should rename everything that refers to addonsdk loader (including the test names) to devtools loader?
The original comment referred to devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js
Component: Developer Tools → Developer Tools: Console
Summary: Rename everything that refers to addonsdk loader (including the test name) to devtools loader → Stop referencing the "addon-sdk" loader in browser_console_addonsdk_loader_exception.js
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Has Regression Range: --- → irrelevant
Has STR: --- → irrelevant
Summary: Stop referencing the "addon-sdk" loader in browser_console_addonsdk_loader_exception.js → Stop referencing the "addon-sdk" loader in devtools code
Comment on attachment 8957562 [details]
Bug 1443457 - Stop referencing the addon-sdk loader in devtools code

https://reviewboard.mozilla.org/r/226448/#review232364

Thanks Mike, I really only intended to cleanup the test that we migrated, but I guess a bigger cleanup doesn't hurt :)

Let's wait for 61 cycle before landing this and I would also like to get a confirmation about the mochitest json file.

::: devtools/client/debugger/test/mochitest/addon-source/browser_dbg_addon3/lib/main.js:12
(Diff revision 1)
>    }
>  };
>  
>  observerService.addObserver(observer, "debuggerAttached");
>  
>  var sdkLoaderDestroyObserver = {

Maybe rename this variable as well?

::: testing/runtimes/mochitest-devtools-chrome-e10s.runtimes.json:860
(Diff revision 1)
> -    "devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js": 3748, 
> -    "devtools/client/webconsole/test/browser_console_consolejsm_output.js": 4138, 
> -    "devtools/client/webconsole/test/browser_console_filters.js": 4025, 
> +    "devtools/client/webconsole/test/browser_console_consolejsm_output.js": 4138,
> +    "devtools/client/webconsole/test/browser_console_devtools_loader_exception.js": 3748,
> +    "devtools/client/webconsole/test/browser_console_filters.js": 4025,

it's not clear to me if we should modify this file, let's ask :ahal or :jmaher
Attachment #8957562 - Flags: review?(jdescottes) → review+
Joel, can you confirm if we should update the json file when renaming a test?
Flags: needinfo?(jmaher)
it would be a good idea to update the json file, that helps balance the runtimes a bit between chunks.  Hopefully we get to a position where we don't need to have these stored in-tree or it is not so delicate in the future.  We update the files very irregularly- possibly it is time to do that or switch our chunking :)
Flags: needinfo?(jmaher)
Thanks for the feedback, marking the issue as resolved then!
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.

hg error in cmd: hg rebase -s a981656640cc0ffee1c05b4b77b1f802b28ac64c -d df0f95483846: rebasing 451912:a981656640cc "Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes" (tip)
merging devtools/client/framework/devtools-browser.js
merging devtools/client/framework/devtools.js
merging devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js and devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js to devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js
merging devtools/server/main.js
merging devtools/server/tests/mochitest/test_getProcess.html
merging devtools/shared/base-loader.js
merging devtools/shared/builtin-modules.js
warning: conflicts while merging devtools/server/tests/mochitest/test_getProcess.html! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2c8540f7800f
Stop referencing the addon-sdk loader in devtools code r=jdescottes
Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ae1924aff61b
Stop referencing the addon-sdk loader in devtools code r=jdescottes
Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b98d3bc2333f
Stop referencing the addon-sdk loader in devtools code r=jdescottes
Backout by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b4fefc4bb90
Backed out changeset ae1924aff61b as requested by developer
https://hg.mozilla.org/mozilla-central/rev/b98d3bc2333f
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Flags: needinfo?(mratcliffe)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: