diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 428a9777495..177eddf056e 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -8,7 +8,7 @@ - + diff --git a/browser/locales/Makefile.in b/browser/locales/Makefile.in index 6f75776caf6..f7e680767a8 100644 --- a/browser/locales/Makefile.in +++ b/browser/locales/Makefile.in @@ -189,7 +189,7 @@ ident: merge-%: ifdef LOCALE_MERGEDIR $(RM) -rf $(LOCALE_MERGEDIR) - MACOSX_DEPLOYMENT_TARGET= compare-locales -m $(LOCALE_MERGEDIR) $(srcdir)/l10n.ini $(L10NBASEDIR) $* + $(topsrcdir)/mach compare-locales --merge-dir $(LOCALE_MERGEDIR) $* endif @echo diff --git a/browser/locales/en-US/chrome/browser/loop/loop.properties b/browser/locales/en-US/chrome/browser/loop/loop.properties index 34906a9e830..ba9bbe2e088 100644 --- a/browser/locales/en-US/chrome/browser/loop/loop.properties +++ b/browser/locales/en-US/chrome/browser/loop/loop.properties @@ -12,7 +12,7 @@ clientSuperShortname=Hello ## LOCALIZATION_NOTE(loopMenuItem_label): Label of the menu item that is placed ## inside the browser 'Tools' menu. Use the unicode ellipsis char, \u2026, or ## use "..." if \u2026 doesn't suit traditions in your locale. -loopMenuItem_label=Start a conversation… +loopMenuItem_label=Start a Conversation… loopMenuItem_accesskey=t ## LOCALIZATION_NOTE(sign_in_again_title_line_one, sign_in_again_title_line_two2): diff --git a/devtools/bootstrap.js b/devtools/bootstrap.js index 109d56a3f77..46c1fe3026d 100644 --- a/devtools/bootstrap.js +++ b/devtools/bootstrap.js @@ -80,6 +80,10 @@ function reload(event) { // Ask the loader to update itself and reopen the toolbox if needed const {devtools} = Cu.import("resource://devtools/shared/Loader.jsm", {}); devtools.reload(reloadToolbox); + + // Also tells gDevTools to reload its dependencies + const {gDevTools} = Cu.import("resource://devtools/client/framework/gDevTools.jsm", {}); + gDevTools.reload(); } let listener; diff --git a/devtools/client/debugger/test/mochitest/browser.ini b/devtools/client/debugger/test/mochitest/browser.ini index 0b564dfad4f..011cfaa874f 100644 --- a/devtools/client/debugger/test/mochitest/browser.ini +++ b/devtools/client/debugger/test/mochitest/browser.ini @@ -326,6 +326,8 @@ skip-if = e10s && debug skip-if = e10s && debug [browser_dbg_parser-10.js] skip-if = e10s && debug +[browser_dbg_parser-11.js] +skip-if = e10s && debug [browser_dbg_pause-exceptions-01.js] skip-if = e10s && debug [browser_dbg_pause-exceptions-02.js] diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-11.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-11.js new file mode 100644 index 00000000000..428cab8e070 --- /dev/null +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-11.js @@ -0,0 +1,39 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +/** + * Checks if self-closing ', + ].join("\n"); + let parser = new Parser(); + let parsed = parser.get(source); + + is(parser.errors.length, 0, + "There should be no errors logged when parsing."); + is(parsed.scriptCount, 5, + "There should be 5 scripts parsed in the parent HTML source."); + + is(parsed.getScriptInfo(source.indexOf("foo.js\"/>") + 1).toSource(), "({start:-1, length:-1, index:-1})", + "the first script is empty"); + is(parsed.getScriptInfo(source.indexOf("baz.js\"/>") + 1).toSource(), "({start:-1, length:-1, index:-1})", + "the second script is empty"); + is(parsed.getScriptInfo(source.indexOf("foobar.js\"/>") + 1).toSource(), "({start:-1, length:-1, index:-1})", + "the third script is empty"); + + is(parsed.getScriptInfo(source.indexOf("hello third!")).toSource(), "({start:-1, length:-1, index:-1})", + "Inline script on self-closing tag not considered a script"); + is(parsed.getScriptInfo(source.indexOf("hello fourth")).toSource(), "({start:267, length:14, index:4})", + "The fourth script was located correctly."); + + finish(); +} diff --git a/devtools/client/eyedropper/eyedropper.xul b/devtools/client/eyedropper/eyedropper.xul index b7c70e3b91e..7a5d1fe2f15 100644 --- a/devtools/client/eyedropper/eyedropper.xul +++ b/devtools/client/eyedropper/eyedropper.xul @@ -9,7 +9,10 @@ - + +