Commit Graph

283033 Commits

Author SHA1 Message Date
Mike de Boer
f72d46f1cc 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
6c7fdd37b9 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
2a07da30de Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
Carsten "Tomcat" Book
f84c32592e merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Mark Banner
d7de75fdb7 Bug 1239828 - Now that Loop's system-addon L10n is hooked up, remove redundant strings. r=Mardak 2016-02-04 10:42:19 +00:00
Mark Banner
ccb2f3658b Bug 1239828 - Support Loop's localisation mechanisms for Loop as a system-addon. r=glandium 2016-02-04 10:42:19 +00:00
Mark Banner
6d6e584df4 Bug 1239828 - Update Loop to the latest version. r=Standard8 for import of already reviewed code. 2016-02-04 10:42:18 +00:00
Alexandre Poirot
0c63115a50 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).
2016-02-04 02:20:56 -08:00
Alexandre Poirot
888f223469 Bug 1214352 - Add telemetry for Scratchpad as top level window. r=jryans,p=bsmedberg 2016-02-04 02:20:55 -08:00
Alexandre Poirot
8114cc3121 Bug 1214352 - Enable scratchpad in tab toolboxes. r=jryans 2016-02-04 02:20:55 -08:00
Nick Alexander
212a46e40e Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)
2016-02-03 23:15:00 -08:00
CJKu
a0ef27d251 Bug 1244628: compare nsStyleImageLayers::mAttachmentCount in nsStyleImageLayers::CalcDifference. r=dbaron. 2016-02-04 14:11:35 +08:00
CJKu
1360e68dd1 Bug 1244598 - Move resource files of w3c-css/masking into ./support subdir. r=dbaron 2016-02-04 13:58:44 +08:00
Phil Ringnalda
e0559feff1 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
22b822662e Bug 1229913 - Prevent race conditions when there are many animation mutations; r=miker 2016-02-01 15:58:04 +01:00
Patrick Brosset
ce9397cb21 Bug 1245420 - Sort devtools/client/framework tests and clean-up browser_toolbox_tabsswitch_shortcuts.js; r=ochameau 2016-02-04 10:47:21 +01:00
Patrick Brosset
692812f45a 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.
2016-02-03 18:52:02 +01:00
David Rajchenbach-Teller
05b949b15f Bug 1245371 - PERF_MONITORING_SLOW_ADDON_* should not expire in Firefox 49. r=Yoric 2016-02-03 18:41:12 +01:00
Tracy Walker
89ed8c18ef 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
e42408288d 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.
2016-01-28 14:33:30 +01:00
David Rajchenbach-Teller
a0c73a47cb 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.
2016-01-27 13:34:58 +01:00
Nick Fitzgerald
88834b127e 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
4888de9fea Bug 1245301 - Alphabetize memory tool's browser tests and use consistent naming; r=jimb 2016-02-02 15:09:00 +01:00
Helen V. Holmes
4e9527c3b0 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
5f9cd7a039 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
f38e40bb17 Bug 1227662 - Video background is white instead of textured gray r=margaret 2016-02-04 02:44:57 -05:00
Nick Alexander
59ab1804e4 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.
2016-01-26 10:36:09 -08:00
Nick Alexander
406f06596d 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/.
2016-01-27 12:25:04 -08:00
Nick Alexander
040223ed15 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.
2016-01-29 13:47:20 -08:00
Brian Grinstead
602fba82a9 Bug 1245287 - Add toolbox API for isToolRegistered and events for tool-registered and tool-unregistered;r=jryans 2016-02-03 16:00:21 -08:00
Andrzej Hunt
39237fa17b Bug 1243307 - Post: convert AsyncTask to ThreadUtils.postToBackgroundThread r=liuche 2016-02-01 15:38:35 -08:00
Andrzej Hunt
9b1ca4ca41 Bug 1243307 - Post: clarify where onPromptFinished is run r=liuche 2016-02-01 15:37:47 -08:00
Andrzej Hunt
ca01440bdb Bug 1243307 - Part 2: Ensure homescreen shortcut creation happens on background thread r=liuche 2016-02-01 15:36:38 -08:00
Andrzej Hunt
ff01801dc7 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.
2016-02-01 15:07:47 -08:00
Matthew Noorenberghe
cc582d55f0 Bug 1244908 - Remove privacy.clearOnShutdown.passwords migration code. r=dolske 2016-02-03 15:26:14 -08:00
Vladan Djeric
f5b6b70bc8 Bug 1193535 - Store Heartbeat Scores in Unified Telemetry. r=MattN 2016-02-03 15:25:53 -08:00
Matthew Wein
3d7905c366 Bug 1242588 fix how tab.create handles missing URLs. r=kmag 2016-01-30 17:09:49 -08:00
Michael Comella
65c9462b35 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.
2016-01-29 15:21:50 -08:00
Jordan Santell
003fbd01cf Bug 1176056 - Tests for the JITOptimizations react component. r=fitzgen 2016-02-03 12:04:51 -08:00
Dão Gottwald
e3a02bd145 Backed out changeset 97c27a348f09 / bug 1241837, CLOSED TREE 2016-02-03 17:59:35 +01:00
J. Ryan Stinnett
42893a9807 Bug 1245121 - Enable JSON Viewer on RELEASE_BUILD. r=Honza 2016-02-03 09:55:17 -06:00
AJ Kerrigan
5173a3d137 Bug 1244514 - webconsole.js eslint: fix spacing and line length; r=linclark 2016-02-01 14:16:04 -05:00
David Rajchenbach-Teller
324e4d9127 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.
2016-01-28 11:17:49 +01:00
Margaret Leibovic
fde5c8e182 Bug 1241566 - Put malware download protection behind a switchboard flag. r=liuche 2016-01-29 16:30:35 -05:00
Allasso Travesser
69fe7145a9 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
7b30a85240 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
52d209f702 Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-02-03 12:58:03 +00:00
Marco Bonardo
b1e3341f2d Bug 1244723 - xpcshell should shutdown profile after all the registered cleanup functions, not before them. r=ted 2016-02-03 12:35:07 +01:00
Carsten "Tomcat" Book
2868eff347 Merge mozilla-central to fx-team 2016-02-03 12:29:21 +01:00
Carsten "Tomcat" Book
a636b23432 merge mozilla-inbound to mozilla-central a=merge 2016-02-03 11:59:20 +01:00