Граф коммитов

561 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione cd5c5d6f7f Bug 1383215: Part 5 - Update tests that relied on loading the same JSM from multiple URLs.
MozReview-Commit-ID: KEXGiMrauH7

--HG--
extra : rebase_source : c1b5a1e22c00bdc42cc7cdfae2f4718248c7965d
extra : histedit_source : 968e9daffc7505853aac4b892178f27c3386aec1
2017-07-21 18:01:42 -07:00
Johann Hofmann 3eac596d72 Bug 1371219 - Add an inputSource attribute to XULCommandEvent. r=smaug
In the frontend we need to know if XUL buttons in the toolbar were
triggered by a touch event, so we're passing on the inputSource
in the command event.

MozReview-Commit-ID: DMvgZULk9hT

--HG--
extra : rebase_source : c455c8ec77e439bf02c1e3e8d34a36e1fb5e3bd0
2017-07-20 17:45:56 +02:00
Sebastian Hengst d5768897c3 Backed out changeset cf72ce758a61 (bug 1381554) for failing browser_ext_popup_corners.js, at least on OS X opt. r=backout 2017-07-20 18:28:20 +02:00
darcese 3b48b858ec Bug 1381554 - Remove rounded corners in doorhangers. r=dao
MozReview-Commit-ID: 3EF2OEUJPgP

--HG--
extra : rebase_source : cfcb2fe5cc0a0eebbb2a531f19200de58a681875
2017-07-17 12:45:38 -04:00
Zibi Braniecki 86a8ec763b Bug 1373061 - Fallback on en-US in sdk/l10n.get. r=Pike
Users of getPreferedLocales method expect to always have `en-US` as a last resort.
This patch brings back the behavior which regressed with the landing of bug 1346616.

MozReview-Commit-ID: 8bgm7PJnSRJ

--HG--
extra : rebase_source : c63ba6e4508117a6d4bd9d2a18a2c8665dd52bbe
2017-07-07 11:32:53 -07:00
Thomas Nguyen 62625fef28 Bug 1297614 - Refactor and remove dead code in toolkit/components/url-classifier/content r=francois
MozReview-Commit-ID: GzVGS1ZTRGL

--HG--
extra : rebase_source : ee868b5fb590f4965b17535383327df98504e963
2017-06-30 13:31:03 -07:00
Marco Bonardo d3bad38937 Bug 1376929 - Fix places-related mochitests in chrome/ for async-transactions. r=standard8
MozReview-Commit-ID: ILrvOGzu1zo

--HG--
extra : rebase_source : de00f7f734711e2d2c8521626ad8857ab858bb97
2017-07-03 15:46:56 +02:00
Florian Quèze 66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Nathan Froyd b28fcc5c4b Bug 1372670 - part 5 - add nsIThreadManager::spinEventLoopUntilEmpty; r=erahm,florian
A number of places in JS need to drain the current thread's event queue,
which cannot be done with nsIThreadManager::spinEventLoopUntil, since we
need to not wait for an incoming event when attempting to process one.
2017-06-21 12:59:28 -04:00
Nathan Froyd 27c58cf89f Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Paolo Amadini 10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Gijs Kruitbosch db6ab29731 Bug 1372309 - make test-ui-action-button turn off photon and make it work on hidpi devices, r=aswan
MozReview-Commit-ID: Jwwxvv8LQST

--HG--
extra : rebase_source : a923aef5c25e231771aeca63a83de04259d7c879
2017-06-14 11:47:28 +01:00
Julian Descottes 6c96a9f344 Bug 1367424 - use DevTools shim in addon SDK;r=rpl
MozReview-Commit-ID: 2ZoAU1pRxzx

--HG--
extra : rebase_source : 4d80c6388343db4d91899a20a737bea173184b86
2017-06-12 20:55:09 +02:00
Sebastian Hengst 1ca7a41d99 Backed out changeset 638eb8e2b170 (bug 1367424) 2017-06-12 18:24:53 +02:00
Julian Descottes 9524a4e7b6 Bug 1367424 - use DevTools shim in addon SDK;r=rpl
MozReview-Commit-ID: 2ZoAU1pRxzx

--HG--
extra : rebase_source : 1c54cbf9b9d0ab345e4257e74c9af9b64e525452
2017-05-29 18:20:01 +02:00
Sebastian Hengst 0efe4f6af5 Backed out changeset 6f17a72e69cc (bug 1367424) 2017-06-06 13:02:29 +02:00
Julian Descottes ab7e9c525d Bug 1367424 - use DevTools shim in addon SDK;r=rpl
MozReview-Commit-ID: 2ZoAU1pRxzx

--HG--
extra : rebase_source : 10551df8d5aa69f523d9b4e4387299b9e6e8b7e1
2017-05-29 18:20:01 +02:00
Gijs Kruitbosch 66d9dd944f Bug 1369446, fix a typo in add-on SDK, r=garvan
MozReview-Commit-ID: 8jiObSWls1y

--HG--
extra : rebase_source : b3739565acd9874a2fd91f97481cf6cba13185d4
2017-06-01 18:00:11 +01:00
Alexandre Poirot f131594dd6 Bug 1355994 - Stop flagging DevTools sandboxes with an Addon ID. r=kmag
MozReview-Commit-ID: 5aJ5osJIt5i

--HG--
extra : rebase_source : b37230366178f5dbaf10263dcedb55eec7a838f1
2017-04-24 11:38:13 +02:00
Mike Cooper 94879bdf84 Bug 1361578 - Remove SelfSupport, since it is obsoleted by shield-recipe-client. r=Gijs
MozReview-Commit-ID: 1FCqNa5wxZk

--HG--
extra : rebase_source : a7a20b4376ecaf2d4e91da27a7b7b32091f03dbd
2017-05-19 10:02:11 -07:00
Francois Marier 39b6d88744 Bug 1364959 - Clean up Safe Browsing preferences in tests. r=dimi
Remove the forbiddenURI pref which was removed in bug 1274893 as well
as browser.safebrowsing.enabled which got renamed in bug 1025965.

Set dummy URLs for all of the network endpoints.

MozReview-Commit-ID: Efk2fv6cC3g

--HG--
extra : rebase_source : 9fbb3eb0fa7f002fe24577a8a0870ec4d1b7cf31
2017-05-18 16:18:59 -07:00
Brian Grinstead 5bf51d8dd7 Bug 1355324 - Create a popup to switch between sidebars from the sidebar header;r=Gijs
MozReview-Commit-ID: HBwIfmtKybi

--HG--
rename : browser/base/content/test/general/browser_bug409481.js => browser/base/content/test/sidebar/browser_bug409481.js
extra : rebase_source : ae9d07e61e997c60b9633126296f20b9c3bed7f4
2017-05-16 10:31:00 -07:00
Honza Bambas d6d727a69e backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher 0a1e1fe23b Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Kris Maglione 164faaff44 Bug 1358846: Disable Jetpack child_process test. r=me
MozReview-Commit-ID: 65a0bfbtskU

--HG--
extra : rebase_source : 48d3b3d3ef88b76b3538d7857a8513490ff82cbe
extra : source : b533d7f9b9c2c574175cbdd6a965bd85133a25ef
2017-05-09 21:04:35 -07:00
Honza Bambas 70f62bdec1 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Iris Hsiao 6559420d58 Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
Backed out changeset 96ea13bb00c5 (bug 1358846)
Backed out changeset b533d7f9b9c2 (bug 1358846)
Backed out changeset 7dcb80a051a3 (bug 1358846)
Backed out changeset 26825f1e33dd (bug 1358846)
Backed out changeset 98b57ff82a54 (bug 1358846)
Backed out changeset b9088593e34f (bug 1358846)
Backed out changeset cb2518673c56 (bug 1358846)
Backed out changeset 889c487a5d41 (bug 1358846)
Backed out changeset 459b36092b7a (bug 1356826)
Backed out changeset c861e23ec8ef (bug 1356826)
Backed out changeset d47998fa24cd (bug 1356826)
Backed out changeset b02e89c67132 (bug 1356826)
Backed out changeset c46fed6e4f6a (bug 1356826)
Backed out changeset 237268e3d9d2 (bug 1356826)
Backed out changeset 527435fc20db (bug 1356826)
2017-05-12 17:45:21 +08:00
Kris Maglione 695828f6ff Bug 1358846: Disable Jetpack child_process test. r=me
MozReview-Commit-ID: 65a0bfbtskU

--HG--
extra : rebase_source : e0d9e8a6f6927ab999b2a29fa6a9fd6a33dde5a9
2017-05-09 21:04:35 -07:00
Ed Lee b7eda53134 Bug 1241390 - Remove Suggested Tiles and related features. r=adw,emtwo
Remove suggested and enhanced tiles along with related campaign, frequency-cap, inadjacency, pings, preferences, strings, styles, tests.

MozReview-Commit-ID: FkjaSpSFQHu

--HG--
extra : rebase_source : 1c58ac542180f0abb290639ec1c61b9edf3d0a51
2017-05-02 17:09:16 -07:00
btian bc058622e6 Bug 1351795 - part 2: Remove console.markTimeline. r=baku
MozReview-Commit-ID: EmbscFp9oD4

--HG--
extra : rebase_source : 3f620c05faf82731d384dfca369db62ae8eb871e
2017-05-09 15:34:18 +08:00
btian c28f35b424 Bug 1351795 - part 1: Remove console.timeline and timelineEnd. r=baku
MozReview-Commit-ID: DLoqGD5NDwt

--HG--
extra : rebase_source : 43b55175f9ba1671e8269a227078e205581c8f1c
2017-05-09 11:39:27 +08:00
Carsten "Tomcat" Book 6ae9b7bb71 Merge mozilla-central to autoland
--HG--
rename : browser/base/content/gcli_sec_bad.svg => devtools/client/themes/images/gcli_sec_bad.svg
rename : browser/base/content/gcli_sec_good.svg => devtools/client/themes/images/gcli_sec_good.svg
rename : browser/base/content/gcli_sec_moderate.svg => devtools/client/themes/images/gcli_sec_moderate.svg
2017-05-05 15:27:55 +02:00
Julian Descottes b7e19500fe Bug 1359085 - remove unused devtools util content-globals.js;r=ochameau
MozReview-Commit-ID: K8Knz9B0Gav

--HG--
extra : rebase_source : 1d2200ea18a8782f3fe4bfe49815363e999231a7
2017-04-25 16:53:54 +02:00
Honza Bambas a1b64b4694 Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Michal Novotny 133308dd0d Bug 1361435 - Remove references to unused pref network.http.bypass-cachelock-threshold, r=mcmanus
Removes references to now unused pref that was added in bug 868441 and removed in bugs 913807 and 1054572. It also removes some leftovers from http channel which have not been removed in those 2 bugs.
2017-05-04 17:37:42 +02:00
André Bargull 3bf8ccfaa5 Bug 1317383 - Part 6: Update error message matching for addon sdk. r=mossop
--HG--
extra : rebase_source : c480f5aba127ce488ac5481808a42417dffbb337
2017-05-02 14:21:18 -07:00
Florian Queze 4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Kris Maglione 726576d314 Bug 1356810: Follow-up: Fix SDK worker tests. a=merge
MozReview-Commit-ID: 8ObX3OKozCF

--HG--
extra : source : bf8468e259dce509bfe0c4cc51874a0797932e36
2017-04-19 14:10:52 -07:00
Mike Hommey 34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
Zibi Braniecki a1a4f0b7c9 Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst 7b30105d39 Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki cce53c69bc Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Florian Queze 4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Kris Maglione 56000a9cb0 Bug 1314861: Lazily load most SDK module imports. r=rpl
MozReview-Commit-ID: 3mneEkzljiU

--HG--
extra : rebase_source : 72e988994ec70c643d869949967bdec3202d92c9
2017-04-07 18:11:32 -07:00
Kris Maglione b9b75a06d8 Bug 1314861: Lazily load UI modules, as much as possible. r=rpl
MozReview-Commit-ID: JdHHw639Lwv

--HG--
extra : rebase_source : a575e65cb5d15913541cbbc02aec2da08167b7e6
2017-04-07 16:28:42 -07:00
Kris Maglione 27b14b143b Bug 1314861: Lazily create view for Panels. r=rpl
This is the one change that's slightly risky, since it may impact add-ons that
depend on panel documents loading immediately, rather than only when they're
needed. It may require some developer outreach.

MozReview-Commit-ID: 4ICPKcvLiQR

--HG--
extra : rebase_source : a08640c3a753b20c7457e7ec025698cce501b30f
2017-04-07 18:21:12 -07:00
Kris Maglione 1ed499730b Bug 1314861: Lazily initialize l10n code. r=rpl
MozReview-Commit-ID: DgmrEMQGrtw

--HG--
extra : rebase_source : 0017656c28df95d00f9d2990fd8e06964662a66c
2016-10-30 16:53:37 -07:00
Kris Maglione f8c1ebdfda Bug 1314861: Minor optimization: Avoid the more expensive parts of path joining and normalization where possible. r=ochameau
MozReview-Commit-ID: Jh71D8XulVp

--HG--
extra : rebase_source : 533d148ee91839e2cb56169cf32d0d8f97105754
2017-04-07 16:37:47 -07:00
Kris Maglione 0930ff384d Bug 1314861: Add caching to some of the more expensive and repetitive parts of module resolution. r=ochameau
MozReview-Commit-ID: 8vHcu4c8jDe

--HG--
extra : rebase_source : 051523f98e582b1246893e985a0464d671c0d822
2017-04-07 18:22:33 -07:00
Kris Maglione 7ad7cc25be Bug 1314861: Some trivial optimizations that add up something significant. r=ochameau
MozReview-Commit-ID: FmiH8daYxK8

--HG--
extra : rebase_source : 4a6b8dbfe38984f4b469157faf19c08284f06b56
2017-04-07 18:05:18 -07:00