Commit Graph

460393 Commits

Author SHA1 Message Date
Mark Banner
177c4a246c Bug 1239828 - Support Loop's localisation mechanisms for Loop as a system-addon. r=glandium
--HG--
extra : commitid : GVXJo173Ueh
2016-02-04 10:42:19 +00:00
Mark Banner
a01ba067f3 Bug 1239828 - Update Loop to the latest version. r=Standard8 for import of already reviewed code.
--HG--
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/af/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ar/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/as/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ast/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/be/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/en-GB/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ga/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/gl/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/gu-IN/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/hr/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ht/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/km/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ku/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/mk/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/mn/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ms/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/my/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ne-NP/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/or/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/son/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/te/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/ur/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/vi/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/xh/loop.properties
rename : browser/extensions/loop/chrome/locale/en-US/loop.properties => browser/extensions/loop/chrome/locale/zu/loop.properties
rename : browser/extensions/loop/chrome/skin/windows/toolbar.png => browser/extensions/loop/chrome/skin/windows/toolbar-win8.png
rename : browser/extensions/loop/chrome/skin/windows/toolbar@2x.png => browser/extensions/loop/chrome/skin/windows/toolbar-win8@2x.png
extra : commitid : IjiomiE0TmL
2016-02-04 10:42:18 +00:00
Alexandre Poirot
8178c87f2b Bug 1188405 - Convert gDevTools/gDevToolsBrowser into modules. r=jryans
gDevTools.jsm isn't properly reloadable as JSM as meant to be long-lived singletons.
Also, it contains browser related code (gDevToolsBrowser) mixed with more generic one (gDevTools).
This move is going to help hot reloading devtools codebase while improve readability of
one of our core piece of code (devtools startup and browser hooks).

--HG--
rename : devtools/client/framework/gDevTools.jsm => devtools/client/framework/devtools-browser.js
2016-02-04 02:20:56 -08:00
Alexandre Poirot
5a1faaaf7f Bug 1214352 - Add telemetry for Scratchpad as top level window. r=jryans,p=bsmedberg 2016-02-04 02:20:55 -08:00
Alexandre Poirot
dd4512a3dd Bug 1214352 - Enable scratchpad in tab toolboxes. r=jryans 2016-02-04 02:20:55 -08:00
Patrick Brosset
035fd15b5c Bug 1229913 - Prevent race conditions when there are many animation mutations; r=miker
--HG--
extra : commitid : JrTgOvAJCi5
extra : rebase_source : 4066b697ea64fadca846a596f467d6f579acacd4
extra : histedit_source : 38fe9058a240185ee0453ad09f9be89a9386a303
2016-02-01 15:58:04 +01:00
Patrick Brosset
0be846b452 Bug 1245420 - Sort devtools/client/framework tests and clean-up browser_toolbox_tabsswitch_shortcuts.js; r=ochameau
--HG--
extra : commitid : 7K3BCxxznLO
extra : rebase_source : 40f867068b6bb224a2e9b9dabc01588548977c6a
extra : histedit_source : c8e5f9a52764120c5f670194d7a8e8272b0dc6dc%2C178cc34ed4b2f07e7ebaf70057eacaeac77324a3
2016-02-04 10:47:21 +01:00
Patrick Brosset
c9bb161dae Bug 1244120 - Enable browser_rules_content_02.js with e10s; r=bgrins
Extracted a shared helper to open the browser context menu and choose
the 'inspect element' item. This helper works with e10s.
Adapted it a little bit so it waits for the right events in order to
make sure the inspector is ready.

This also involved modifying inspectNode in nsContextMenu.js to make it
wait until the node was selected and the node was ready.

Used this in browser_inspector_initialization.js,
browser_rules_content_02.js and browser_markup_keybindings_04.js

Also removed a now useless inspector-updated event that was trigger from
the animation-inspector panel in some situation. This was left behind
from a long time ago but didn't serve any purpose anymore.

--HG--
extra : commitid : BUtFyFVXwYi
extra : rebase_source : 1553c9ebc1d8da035058552924e4ad3cd1b09f09
2016-02-03 18:52:02 +01:00
David Rajchenbach-Teller
6c74e5a50c Bug 1245371 - PERF_MONITORING_SLOW_ADDON_* should not expire in Firefox 49. r=Yoric
--HG--
extra : transplant_source : %9DV%DD.%0D%BF%06%8A%10%0CSC%11sv%8Cs%9C%DA%D6
2016-02-03 18:41:12 +01:00
Tracy Walker
da45f722b7 Bug 1245225 - [e10s] Renabled working test cases. Simple case of removing relevant skip-if e10s in toolkit/components/thumbnails/test/browser.ini for browser_thumbnails_bg_crash_during_capture.js, browser_thumbnails_bg_crash_while_idle.js, browser_thumbnails_bg_no_cookies_sent.js, browser_thumbnails_bug727765.js and browser_thumbnails_capture.js. r=jimm 2016-02-02 13:49:18 -06:00
David Rajchenbach-Teller
68a3dd828b Bug 1243241 - Make RDTSC monotonic. r=jandem
We assume that the total number of cycles spent executing JS code
during an event is equal to the number of cycles in the "top group",
i.e. a group to which everything belongs. While this is true in
theory, RDTSC is actually non-monotonic, so we can end up with fewer
cycles reported for the top group than for some groups whose execution
was actually shorter. When we end up in this situation, groups with
more cycles than the top group will be reported as using more CPU than
was actually used.

This patch fixes the situation by proxying RDTSC behind a trivial API
that ensures that values are monotonic during each tick.

--HG--
extra : transplant_source : %3E%8Aj%12e%B9%A7%08i%8Ef%28%F5%5D69q%15%8E%99
2016-01-28 14:33:30 +01:00
David Rajchenbach-Teller
8402fc035a Bug 1142937 - AddonWatcher now communicates through nsIObserverService. r=felipe
The current API of AddonWatcher only supports a single callback. That's pretty unfriendly to testing, debugging, add-ons, etc.

This patch replaces the mechanism with a notification through the nsIObserverService.

--HG--
extra : transplant_source : %C2%88%B1%DF%B2%B2.%A7%C7Ti%C8%A8%C0%CA0%15f%8D%C5
2016-01-27 13:34:58 +01:00
Nick Fitzgerald
e9084b82df Bug 1245302 - Wait for the HeapAnalysesWorker to reply before considering deleting a snapshot done; r=jsantell 2016-02-02 15:09:00 +01:00
Nick Fitzgerald
085857d538 Bug 1245301 - Alphabetize memory tool's browser tests and use consistent naming; r=jimb
--HG--
rename : devtools/client/memory/test/browser/browser_memory-breakdowns-01.js => devtools/client/memory/test/browser/browser_memory_breakdowns_01.js
rename : devtools/client/memory/test/browser/browser_memory-clear-snapshots.js => devtools/client/memory/test/browser/browser_memory_clear_snapshots.js
rename : devtools/client/memory/test/browser/browser_memory-simple-01.js => devtools/client/memory/test/browser/browser_memory_simple_01.js
2016-02-02 15:09:00 +01:00
Helen V. Holmes
a7e26f049a Bug 1234349 - Land high-level design docs. r=bgrinstead
Optimize images

Move illustrator + sketch information into main svg.md file, r=bgrins
2016-02-03 09:45:00 +01:00
Mark Finkle
e897d0b8f5 Bug 1245576 - Add missing unsave.1 UI Telemetry for removing bookmarks and readinglist items from Home Panels r=margaret 2016-02-04 02:45:02 -05:00
Mark Finkle
68ee1f4957 Bug 1227662 - Video background is white instead of textured gray r=margaret 2016-02-04 02:44:57 -05:00
Nick Alexander
b266bd6df2 Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)

--HG--
extra : commitid : FNz3fg58MOy
extra : amend_source : e24ac7d8fd3911a7e12ca71d8bb7e618aa1e78ac
2016-02-03 23:15:00 -08:00
Nick Alexander
3c755e524d Bug 1163082 - Part 2: Extract Android distribution from packaged assets rather than APK root. r=rnewman
This reads from "assets/distribution/**" in the APK and writes to
"distribution/**" in the data directory.  That output is the same, but
the input used to read from "distribution/**", which is not really
supported by modern build tooling (Gradle), which doesn't allow to
write files directly into the APK root.

I manually tested this without issue.  I see no way to add meaningful
tests to our current Robocop test suite; the long term testing
approach is to develop a new test for this functionality and only run
it against the "distribution" build type that was added in Bug
1163080.  However, that's a larger project than I have time for now.

--HG--
extra : commitid : JnQ0skxiHW4
extra : rebase_source : 56bdfd947334bd03035046cb24f6bebfbce32d12
extra : histedit_source : aabcffd7434755a4978971a8da238253b15948b6
2016-01-26 10:36:09 -08:00
Nick Alexander
609e5edb32 Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.

--HG--
extra : commitid : BLgM6ZCm9AY
extra : rebase_source : 572d1ff35a02505f452fee67130b48c8df4499b5
extra : histedit_source : 0b8f087bc6d70fa42401f4a2476898139bdf606c
2016-01-27 12:25:04 -08:00
Nick Alexander
ac44079df1 Bug 1243855 - Add Java client for interacting with autopush endpoint service. r=rnewman,sebastian
A few notes: the test is live, so I've marked it @Ignore, so that it
doesn't run during |mach gradle test|.  There's some value in mocking
the service endpoint, but this is how I verify that the server works,
so it has more value right now as a live test than a mocked test.  In
the future, that probably won't be true.

There are issues running the test locally because Robolectric doesn't
provide all the cipher suites we use in GlobalConstants: in
particular, the GCM suites aren't supported.  This may improve as
Robolectric matures, or we may add a work-around in the code (like at
http://androidxref.com/4.4.4_r1/xref/libcore/support/src/test/java/libcore/java/security/StandardNames.java#68),
or we may add a test-specific flag.  For now, I'm not going to address
it directly.

Finally, I put the code in mobile/android/services, simply because the
less that goes into base, the better our build times will be.

--HG--
extra : commitid : Gw8uCqVViMC
extra : rebase_source : 7d35b78cb776fbd3892a2a95190a61846e0a3291
extra : amend_source : dfa8168eaca0a44b05a71fe6fdf4952964460d79
2016-01-29 13:47:20 -08:00
Brian Grinstead
9ebb26a99c Bug 1245287 - Add toolbox API for isToolRegistered and events for tool-registered and tool-unregistered;r=jryans
--HG--
extra : commitid : FWUAnIRnqH
2016-02-03 16:00:21 -08:00
Andrzej Hunt
970113dc9f Bug 1243307 - Post: convert AsyncTask to ThreadUtils.postToBackgroundThread r=liuche
--HG--
extra : commitid : HDD66YuzRIA
2016-02-01 15:38:35 -08:00
Andrzej Hunt
39666217d2 Bug 1243307 - Post: clarify where onPromptFinished is run r=liuche
--HG--
extra : commitid : 1ngV1DKn5ym
2016-02-01 15:37:47 -08:00
Andrzej Hunt
45f7f84915 Bug 1243307 - Part 2: Ensure homescreen shortcut creation happens on background thread r=liuche
--HG--
extra : commitid : pHSnWj1RD2
2016-02-01 15:36:38 -08:00
Andrzej Hunt
14832d54db Bug 1243307 - Part 1: Make onPromptFinished run in the UI thread again r=liuche
This seems more consistent with what Android UI callbacks do. This commit also
means all callees must be adapted to use the background thread if needed.

--HG--
extra : commitid : AlGQZ8biFZn
2016-02-01 15:07:47 -08:00
Matthew Noorenberghe
66c73b5940 Bug 1244908 - Remove privacy.clearOnShutdown.passwords migration code. r=dolske
--HG--
extra : commitid : 2HnKfq3jUZK
extra : rebase_source : 4cca79b260a18b95758bed5fbd2518b3d84d430a
2016-02-03 15:26:14 -08:00
Vladan Djeric
8d5951e924 Bug 1193535 - Store Heartbeat Scores in Unified Telemetry. r=MattN
--HG--
extra : commitid : 9Duh1Mw8t9X
extra : rebase_source : f47ea8590484c8c81409da9ba550d0a5fad51b04
2016-02-03 15:25:53 -08:00
Matthew Wein
4800c1a9aa Bug 1242588 fix how tab.create handles missing URLs. r=kmag
--HG--
extra : commitid : 9p3zXXVEsj5
extra : rebase_source : 1a02c985f3909c7ab42f87f18ffe6c9215e8c4f0
extra : amend_source : 017a1635a65747bb6b713ee341b7022e06966680
2016-01-30 17:09:49 -08:00
Michael Comella
6f74c154a6 Bug 1244293 - Don't upload telemetry if user opts out. r=mfinkle
I'm slightly concerned we're providing too much configuration information in
the debugging statements.

--HG--
extra : commitid : 6JfBA5lVkZ4
extra : rebase_source : 6cf1befef3aba37031e7fc3306b446e87114b601
2016-01-29 15:21:50 -08:00
Jordan Santell
0e5e1d2b01 Bug 1176056 - Tests for the JITOptimizations react component. r=fitzgen 2016-02-03 12:04:51 -08:00
Dão Gottwald
a007ebef44 Backed out changeset 97c27a348f09 / bug 1241837, CLOSED TREE 2016-02-03 17:59:35 +01:00
J. Ryan Stinnett
3e1c3516ad Bug 1245121 - Enable JSON Viewer on RELEASE_BUILD. r=Honza 2016-02-03 09:55:17 -06:00
AJ Kerrigan
45e6ab33d8 Bug 1244514 - webconsole.js eslint: fix spacing and line length; r=linclark 2016-02-01 14:16:04 -05:00
David Rajchenbach-Teller
17e41f6c46 Bug 1221761 - Probe.prototype.release() now swallows NS_ERROR_NOT_AVAILABLE. r=felipe
During shutdown, we may find ourselves attempting to release and shutdown a probe while the PerformanceStats service is already shutdown. In this case, since the probe is already shutdown, we can simply ignore the error.

--HG--
extra : transplant_source : %BBT%84%26.%AD%7B%23%1C%BC%3F%85%F9%18%A3%D8%84%EC%02%BE
2016-01-28 11:17:49 +01:00
Margaret Leibovic
01e2bd1f48 Bug 1241566 - Put malware download protection behind a switchboard flag. r=liuche
--HG--
extra : commitid : 284yVbI4BFQ
extra : rebase_source : 99902133788432f13cb18e4fcbdccea894e7e60b
2016-01-29 16:30:35 -05:00
Allasso Travesser
638f819fe5 Bug 1241837 - Use proxy for browsers property in tabbrowser instead of explicit array. r=dao 2016-02-03 16:05:56 +01:00
James Long
9b752e46c8 Bug 1244892 - fix unhandled promise rejection in debugger test browser_dbg_scripts-switching-03.js r=ejpbruel 2016-02-03 09:41:59 -05:00
Paolo Amadini
8b8676204b Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Marco Bonardo
00fe34957a Bug 1244723 - xpcshell should shutdown profile after all the registered cleanup functions, not before them. r=ted
--HG--
extra : commitid : 725U9rSPg8q
2016-02-03 12:35:07 +01:00
Carsten "Tomcat" Book
acbc3c41fd Merge mozilla-central to fx-team 2016-02-03 12:29:21 +01:00
Carsten "Tomcat" Book
5461ec9a92 merge mozilla-inbound to mozilla-central a=merge 2016-02-03 11:59:20 +01:00
Christoph Kerschbaumer
d8d683d81b Bug 1195173 - Test asyncopen2 security checks for stylesheets (r=bz,ehsan) 2016-02-02 20:35:42 -08:00
Christoph Kerschbaumer
c53a2ff8b7 Bug 1195173 - Apply CSP to preloaded styles within layout/style/Loader.cpp (r=bz) 2016-02-02 20:35:30 -08:00
Christoph Kerschbaumer
2f5879179c Bug 1195173 - Convert ExtensionProtocolHandler to use channel->Open2() (r=maglione) 2016-02-02 20:35:15 -08:00
Christoph Kerschbaumer
de9089189c Bug 1195173 - Use channel->ascynOpen2 layout/style/Loader.cpp (r=bz) 2016-02-02 20:35:02 -08:00
Sotaro Ikeda
20e5ba100c Bug 1241769 - Use Singleton pattern to nsScreenManagerGonk r=mwu 2016-02-02 20:37:31 -08:00
Gerald Squelart
af8cc983cf Bug 1143096 - Init all WebMBufferedParser members - r=kinetik
Initialize all WebMBufferedParser members, mainly to remove compiler warnings.
'mClusterTimecode' and 'mClusterOffset' are probably genuine potential issues,
see bug 1143096 comment 2 for details.
2016-02-03 14:25:47 +11:00
Ting-Yu Lin
f5387cf287 Bug 1240917 - Tweak ActionBar behavior when selection is collapsed. r=snorp
* Long pressing on empty input -> show the ActionBar.
* Single tapping on input (either empty or non-empty) -> do not show the
  ActionBar.

--HG--
extra : commitid : aZIT7pP6PH
extra : rebase_source : 04066a72acfe0f75a36cb52068284f9d7e3c8284
2016-02-02 14:32:31 +08:00
Ting-Yu Lin
f774444685 Bug 1240917 - Turn off caret timeout on Fennec. r=snorp
--HG--
extra : commitid : 6dYdiQZHuoR
extra : rebase_source : 54479f3a72e9fa7779c31da3cb49f026d59308a4
2016-02-02 14:32:31 +08:00