Commit Graph

460571 Commits

Author SHA1 Message Date
Brian Grinstead
0e1946feb5 Bug 1243992 - e10s fixes for browser_webconsole_bug_585991_autocomplete_keys.js;r=linclark
--HG--
extra : commitid : 6Z1BoCt5uQQ
2016-02-04 09:08:30 -08:00
Brian Grinstead
2f23d69d21 Bug 1243970 - e10s fixes for browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js;r=linclark
--HG--
extra : commitid : L7k9xSJfXJW
2016-02-04 09:07:51 -08:00
Carsten "Tomcat" Book
628cee03d9 Backed out changeset 3cd839e515b9 (bug 1245420) for timeouts in browser_responsiveruleview.js 2016-02-04 16:42:01 +01:00
Carsten "Tomcat" Book
f04b97e3ce Backed out changeset f09ea2712445 (bug 1229913) 2016-02-04 16:41:33 +01:00
Dave Townsend
16cd1b6be9 Bug 1245712: Fix the XBL processor's handling of columns and leading and trailing whitespace.
--HG--
extra : commitid : 8j5aSAX6UVU
extra : rebase_source : 640c982879e58f5ae10ca57eda4226262ecced5c
2016-02-03 16:50:01 -08:00
Edouard Oger
d9f2e6e1c0 Bug 1245505 - Localize correctly the last sync date. r=markh 2016-02-04 05:08:00 -05:00
David Rajchenbach-Teller
5ad17c3a22 Bug 1243549 - Make sure that startup sanitization doesn't throw because it can't find a tabbrowser. r=mak 2016-02-04 09:40:40 -05:00
David Rajchenbach-Teller
2e0b046d19 Bug 1243549 - SessionFile.wipe() now waits until SessionFile has been properly initialized. r=mconley
While investigating bug 1243549, we encountered several instances of the following error message during each startup:

*************************
A coding exception was thrown and uncaught in a Task.

Full message: TypeError: this.Paths is null
Full stack: Agent.wipe@resource:///modules/sessionstore/SessionWorker.js:296:7
worker.dispatch@resource:///modules/sessionstore/SessionWorker.js:21:24
anonymous/AbstractWorker.prototype.handleMessage@resource://gre/modules/workers/PromiseWorker.js:122:16
@resource:///modules/sessionstore/SessionWorker.js:30:41

*************************

These messages can be explained as follows:

* If sanitization has failed during shutdown, it attempts again to
  sanitize during startup. This happens more often than it used to,
  because of 1/ startup bug fixes in bug 1089695; 2/ new shutdown bugs
  most likely also added by or around bug 1089695.

* Sanitization during startup doesn't wait until Session Restore has
  properly started to sanitize the session. So sanitization of Session
  Restore file fails. This has probably always been the case, except
  we never noticed.

* For some reason I do not understand, it attempts to sanitize several
  times.

* I suspect that this can cause problems during startup, as
  sanitization and Session Restore race to use/remove the files of
  Session Restore.

This patch makes sure that SessionFile.wipe() waits until
initialization of SessionFile is complete before proceeding.
2016-02-02 12:56:11 +01:00
Ryan VanderMeulen
408516b48d Bug 1245832 - Update pdf.js to version 1.4.42. r=bdahl 2016-02-04 09:29:47 -05:00
Mike de Boer
0d14a55807 Bug 1154277: follow-up - fix linting error by removing a leftover break statement. rs=me 2016-02-04 14:59:28 +01:00
Mike de Boer
0634370662 Bug 1154277: Part 4 - Update the loop add-on and introduce a pref to switch e10s support for Loop/ Hello on or off. The default for now is off. r=Standard8 2016-02-04 14:02:04 +01:00
Mike de Boer
441868100d Bug 1154277: Part 3 - implement test changes to work in e10s mode as well. r=mixedpuppy,Standard8 2016-02-04 13:42:10 +01:00
Mike de Boer
a8f73b8d27 Bug 1154277: Part 2 - support running Social API documents to run in a remote browser, i.e. the content process. f=mixedpuppy, r=Standard8 2016-02-04 12:50:06 +01:00
Mike de Boer
4af5fc2b24 Bug 1154277: Part 1 - allow to swap docShells on remote browsers that are not a child of a BrowserDOMWindow. r=smaug 2016-02-04 12:50:03 +01:00
Carsten "Tomcat" Book
641304978c Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
Carsten "Tomcat" Book
55b4ed8c4c merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Mark Banner
806b3d664c Bug 1239828 - Now that Loop's system-addon L10n is hooked up, remove redundant strings. r=Mardak
--HG--
extra : commitid : 20rYj3R1kLr
2016-02-04 10:42:19 +00:00
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
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
CJKu
eae7e3b398 Bug 1244628: compare nsStyleImageLayers::mAttachmentCount in nsStyleImageLayers::CalcDifference. r=dbaron.
--HG--
extra : commitid : JlCMq3C9wwB
extra : rebase_source : f9da96c973cc556b091623611157d25d94f5fd87
2016-02-04 14:11:35 +08:00
CJKu
5690fd95cb Bug 1244598 - Move resource files of w3c-css/masking into ./support subdir. r=dbaron
--HG--
rename : layout/reftests/w3c-css/submitted/masking/blue-100x50-transparent-100X50.png => layout/reftests/w3c-css/submitted/masking/support/blue-100x50-transparent-100x50.png
rename : layout/reftests/w3c-css/submitted/masking/blue-100x50-transparent-100X50.svg => layout/reftests/w3c-css/submitted/masking/support/blue-100x50-transparent-100x50.svg
rename : layout/reftests/w3c-css/submitted/masking/transparent-100x50-blue-100X50.png => layout/reftests/w3c-css/submitted/masking/support/transparent-100x50-blue-100x50.png
rename : layout/reftests/w3c-css/submitted/masking/transparent-100x50-blue-100X50.svg => layout/reftests/w3c-css/submitted/masking/support/transparent-100x50-blue-100x50.svg
extra : commitid : 8cbhfOPgU6d
extra : rebase_source : c35dbfeae9c57d978b19ef59993efce9813a0293
2016-02-04 13:58:44 +08:00
Phil Ringnalda
e8bf2f165a Back out 3 changesets (bug 1245285) for e10s failures in test_layerization.html
Backed out changeset e0c8fb70a095 (bug 1245285)
Backed out changeset a211643de3b6 (bug 1245285)
Backed out changeset 41ea5de656a9 (bug 1245285)
2016-02-03 21:46:11 -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
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