Boris Zbarsky
357b6b1348
Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D2669
--HG--
extra : moz-landing-system : lando
2018-08-03 00:05:07 +00:00
Drew Willcoxon
9987b543d1
Bug 1462790 - Update Save to Pocket icons to use outline icon treatment. r=jaws
...
Update the Save to Pocket svg icons in the urlbar, page action panel, and reader view. There's another Save to Pocket icon in activity stream that the bug doesn't mention but that should probably be updated too. I'll make a different revision for it.
Differential Revision: https://phabricator.services.mozilla.com/D2676
--HG--
extra : moz-landing-system : lando
2018-08-02 20:13:13 +00:00
Geoff Lankow
a01dc6a50a
Bug 1468667 - [webext] Enable webextensions tests for Thunderbird r=aswan
...
MozReview-Commit-ID: AktrEd91ROz
--HG--
extra : rebase_source : b61f811e7fb576419fee6401b661bede0013340d
2018-08-02 20:12:06 +12:00
Narcis Beleuzu
31527185b4
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-08-03 01:34:26 +03:00
Narcis Beleuzu
4684ccf98e
Merge inbound to mozilla-central. a=merge
2018-08-03 01:28:14 +03:00
Boris Zbarsky
ae576db7db
Bug 1476142 part 1. Remove some unnecessary QIs in toolkit. r=gijs
2018-08-02 15:26:47 -04:00
Jan de Mooij
3af36d3d86
Bug 1479363 part 10 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in other directories. r=mrbkap
2018-08-02 19:30:17 +02:00
Shane Caraveo
d99b32ea60
Bug 1476570 - allow proxy to work on restricted domains, r=aswan
...
Proxies must work with all requests, however the new onRequest proxy api
has maching logic using ChannelWrapper which uses WebExtensionPolicy which
checks against restricted domains. We need to bypass that check when
matching for proxy requests.
MozReview-Commit-ID: 5zCdmV1b9M7
--HG--
extra : rebase_source : 4bc0f2735a8c2cc4f42934877783dbc68f6067ab
2018-08-02 14:03:00 -03:00
Cosmin Sabou
de8c2bd891
Backed out changeset 5950c9d63c3b (bug 1090497) for build bustages on several files. CLOSED TREE
2018-08-02 19:59:53 +03:00
Masatoshi Kimura
feea19030c
Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
...
--HG--
extra : rebase_source : a62521fdc66def4e4d5d7bf52e68365a786b5c55
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Shane Caraveo
626f82368e
Bug 1479565 - add speculative filter type for webRequest and proxy API, r=aswan
...
MozReview-Commit-ID: 5iaZYMnWuwN
--HG--
extra : rebase_source : bdb40c7c93004155bb8d634678d060512af072dc
2018-07-30 17:58:58 -03:00
Lina Cambridge
981e1b094f
Bug 1478918 - Inflate outgoing records and notify observers outside the bookmarks mirror's merge transaction. r=mak
...
Neither of these should block the main Places connection from writing
to the database. `itemsToUpload` stores a snapshot of the local items,
so we don't need to keep a transaction open when we read from this
table to inflate records.
`noteObserverChanges` did this to ensure we passed the correct params
to the observers, in case the database changed between merging and
notifying, but this is already racy.
This patch also adds a forgotten `AFTER DELETE` trigger to update
the global Sync change counter for successfully uploaded tombstones.
Differential Revision: https://phabricator.services.mozilla.com/D2454
--HG--
extra : moz-landing-system : lando
2018-08-02 16:41:35 +00:00
Rob Wu
49b6bca477
Bug 1477688 - Enable test_ext_contexts_gc on Android r=rpl
...
MozReview-Commit-ID: 2q8FkeCl4Ay
--HG--
extra : rebase_source : b7640092c67cfe3c218be9592195a36e98545c6a
2018-08-01 16:35:16 +02:00
Luca Greco
ceee91f76f
Bug 1473920 - Fix browser_ext_themes_ntp_colors_perwindow failures when running on Linux. r=mixedpuppy
...
MozReview-Commit-ID: LxlmZ7xx06s
--HG--
extra : rebase_source : 4d440ccb0fb638a544ff6241557d7592c23588e4
2018-07-30 21:40:35 +02:00
Olli Pettay
b9479cb08b
Bug 1480147 - Add [ChromeOnly] Node.flattenedTreeParentNode, r=mrbkap
2018-08-02 14:54:15 +03:00
Noemi Erli
58e27f3dd9
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-08-02 12:04:24 +03:00
Noemi Erli
8f66a71e70
Merge inbound to mozilla-central. a=merge
2018-08-02 11:54:46 +03:00
dvarga
956d57e7f2
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-08-02 01:26:29 +03:00
Chris H-C
e43319a671
bug 1479026 - Adjust mobile-metrics structure to match schema r=janerik
...
MozReview-Commit-ID: BvPO0IDcoSl
--HG--
extra : histedit_source : e5a84514189052e56a31b661995a7addd9816d5d
2018-07-31 08:41:00 +03:00
Kris Maglione
e90505ef2c
Bug 1479309: Don't load shield-content-frame.js until needed. r=mythmon
...
MozReview-Commit-ID: 5usNkHYjifd
--HG--
rename : toolkit/components/normandy/content/shield-content-frame.js => toolkit/components/normandy/content/ShieldFrameListener.jsm
extra : rebase_source : 519b450e365166d4e377083c5a926ad07d167fc7
2018-07-29 12:29:45 -07:00
Kris Maglione
67b4db6498
Bug 1479241: Don't eagerly load AboutPages.jsm in content processes. r=mythmon
...
MozReview-Commit-ID: 1ewRIxTVzJR
--HG--
rename : toolkit/components/normandy/content/shield-content-process.js => toolkit/components/normandy/shield-content-process.js
extra : rebase_source : 4ed1666a824418ee0b769e59b09e6bcf925f4898
2018-07-31 14:13:03 -07:00
Rob Wu
9287b6789f
Bug 1477271 - Require "search" permission for search API r=aswan
...
And re-enable the test_ext_all_apis.html test to ensure that new APIs
are only available by default if the contributor really intents to.
MozReview-Commit-ID: FWIKybrk0EE
--HG--
extra : rebase_source : 58c5bd98ddb59be74b9454995cbbd3edef6c45f9
2018-07-31 20:14:03 +02:00
Francois Marier
c370f17bbc
Bug 1461515 - Make TP test fail if it uses the wrong list. r=dimi
...
I added a test case in one of the tracking protection tests which will
fail if the annotation list gets pulled into the TP ones.
I also removed unnecessary prefs that were being set in the test.
Differential Revision: https://phabricator.services.mozilla.com/D2486
--HG--
extra : moz-landing-system : lando
2018-08-01 11:53:14 +00:00
Francois Marier
e98e918836
Bug 1461515 - Fix and expand tracking annotation test. r=dimi
...
Here's a summary of things that were wrong about this test:
1. It was setting urlclassifier.trackingTable only to be overwritten
later by addTestTrackers().
2. It was using an http event which fires before the classification has
been done.
3. It didn't disable tailing, which interferes with lowering the priority of
XHRs.
4. It was not testing that non-annotated or whitelisted resources would not
have their priority lowered.
I added more test cases both to ensure that the correct list
(urlclassifier.trackingAnnotationTable) is used but also to ensure that
whitelisted or non-blacklisted URLs preserve the normal priority (point #4 above).
I found that XHRs do not get their priority lowered because of this flag:
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/netwerk/base/nsChannelClassifier.cpp#221
which gets set here:
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/dom/xhr/XMLHttpRequestMainThread.cpp#2548
and so I had to disable tailing in the test (point #3 above).
There was also a problem where the test was resetting the prefs too early
because we were not actually waiting for the classification to finish.
We would wait for the following event: http-on-opening-request
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/netwerk/protocol/http/nsIHttpProtocolHandler.idl#85
whereas maybe a more appropriate one would be http-on-before-connect:
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/netwerk/protocol/http/nsIHttpProtocolHandler.idl#103
since that is triggerred after annotations (point #2 above):
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/netwerk/protocol/http/nsHttpChannel.cpp#6614
Differential Revision: https://phabricator.services.mozilla.com/D2485
--HG--
extra : moz-landing-system : lando
2018-08-01 11:52:03 +00:00
Francois Marier
9f161ab08f
Bug 1461515 - Split tracking annotations from tracking protection. r=dimi
...
This makes it possible to use different lists for tracking protection
and for the features that rely on tracking annotations.
Differential Revision: https://phabricator.services.mozilla.com/D2484
--HG--
extra : moz-landing-system : lando
2018-08-01 20:45:41 +00:00
Mark Banner
c7192b42df
Bug 1478305 - Remove unnecessary imports and fix ESLint warnings about unused variables for toolkit/. r=mossop
...
MozReview-Commit-ID: CB8xT8c5E4L
--HG--
extra : rebase_source : d19443e823ff4f7a6830bf97bef1257176b830af
2018-07-30 11:04:36 +01:00
Nicolas Chevobbe
d15761273f
Bug 1463104 - Instrument inspection of object expansion in the Web Console with event telemetry; r=miker.
...
This only adds the event in Events.yaml,
the actual work will happen in Github.
MozReview-Commit-ID: 4GDMiGxyp4U
--HG--
extra : rebase_source : 7470f07be10882e731c8a7e95c2d6d28210aeba9
2018-07-30 09:15:24 +02:00
Mark Banner
e72c3371d9
Bug 1479722 - Remove nsIAnnotationService::setPageAnnotation and removePageAnnotation. r=mak
...
Depends on D2582
Differential Revision: https://phabricator.services.mozilla.com/D2583
--HG--
extra : moz-landing-system : lando
2018-08-01 09:47:24 +00:00
Mark Banner
f1731211b5
Bug 1479722 - Rework PlacesUtils.setCharsetForURI to PlacesUIUtils.setCharsetForPage and avoid main thread sync io. r=mak
...
MozReview-Commit-ID: HeO3Mm5Dibo
Differential Revision: https://phabricator.services.mozilla.com/D2582
--HG--
extra : moz-landing-system : lando
2018-08-01 10:13:59 +00:00
Luca Greco
f55e636331
Bug 1477015 - Select storage.local backend on startup when the extension is not migrating its data. r=aswan,mixedpuppy
...
MozReview-Commit-ID: WzW2bFlYNg
--HG--
extra : rebase_source : 048dbd36e6bf1bfc64d02e11bf26af1392071139
2018-07-26 13:53:22 +02:00
Lina Cambridge
58d1b3ee4a
Bug 1478265 - Add a Places maintenance task to clean up duplicate URLs. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D2351
--HG--
extra : moz-landing-system : lando
2018-08-01 06:53:13 +00:00
Coroiu Cristina
248cd91be4
Backed out changeset 150241c71d9d (bug 1478265) for ESlint failure at toolkit/components/places/tests/maintenance/test_preventive_maintenance.js
2018-08-01 08:17:36 +03:00
Lina Cambridge
1f602b9b67
Bug 1478265 - Add a Places maintenance task to clean up duplicate URLs. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D2351
--HG--
extra : moz-landing-system : lando
2018-08-01 04:55:56 +00:00
Bogdan Tara
bd351673a5
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-08-01 01:05:56 +03:00
Bogdan Tara
9c44097a0d
Merge inbound to mozilla-central. a=merge
2018-08-01 00:58:55 +03:00
Andrew Swan
ad31645d25
Bug 1451513 Part 3: Make loading the mochitest extension more robust r=kmag
...
A couple of changes to ensure that the mochitest harness doesn't try to
start executing changes before the mochitest extension is loaded:
1. Fix the marionette driver to wait for an installed extension to
be started before returning from Addon:install
2. Wait for extension API onStartup() handlers to finish before
considering a webextension started.
MozReview-Commit-ID: 8YEdNn6s5qh
--HG--
extra : rebase_source : 67e9abadcda82d55ac73c33367ec65cdbf7b823d
2018-07-30 17:03:27 -07:00
Gijs Kruitbosch
dcbec7c8b6
Bug 1478404 - remove _xpcom_categories annotations as they're dead code, r=florian
...
Support for the _xpcom_categories property was removed in Bug 568691,
but we left a bunch of consumers behind, and it's been cargo-culted a bit more.
We should remove the remaining remnants.
Differential Revision: https://phabricator.services.mozilla.com/D2429
--HG--
extra : moz-landing-system : lando
2018-07-31 17:39:25 +00:00
Mark Banner
607107cbb6
Bug 1479764 - Remove nsIAnnotationObserver and annotation notifications. r=mak,lina
...
MozReview-Commit-ID: I9nNefvgch9
Differential Revision: https://phabricator.services.mozilla.com/D2565
--HG--
extra : moz-landing-system : lando
2018-07-31 21:34:42 +00:00
Dave Townsend
389a969138
Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D2489
--HG--
extra : moz-landing-system : lando
2018-07-31 19:13:38 +00:00
Mark Banner
0156f98496
Bug 1479731 - Fix incorrect references to NOMATCH (should be RESULT_NOMATCH) in autocomplete xpcshell-tests. r=adw
...
MozReview-Commit-ID: KX2ilOl3Ogp
Differential Revision: https://phabricator.services.mozilla.com/D2558
--HG--
extra : moz-landing-system : lando
2018-07-31 18:48:05 +00:00
Mark Banner
d406e4961d
Bug 1479053 - Remove unused/unnecessary methods from nsIAnnotationService. r=mak
...
MozReview-Commit-ID: I9qq71RLXYH
Depends on D2473
Differential Revision: https://phabricator.services.mozilla.com/D2474
--HG--
extra : moz-landing-system : lando
2018-07-31 11:40:55 +00:00
Mark Banner
3285ea59f0
Bug 1479053 - Remove nsIAnnotationObserver::onPageAnnotationSet/Removed. r=mak
...
MozReview-Commit-ID: JkUhtuV1fvU
Differential Revision: https://phabricator.services.mozilla.com/D2473
--HG--
extra : moz-landing-system : lando
2018-07-31 11:40:52 +00:00
Mark Banner
c79a4c7a5a
Bug 1479732 - Fix property name typo in test_asyncExecuteLegacyQueries.js. r=Gijs
...
MozReview-Commit-ID: 6XxvMKyoO0w
Differential Revision: https://phabricator.services.mozilla.com/D2560
--HG--
extra : moz-landing-system : lando
2018-07-31 11:39:08 +00:00
Bogdan Tara
cdd4e81c41
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-07-31 21:33:21 +03:00
Brindusan Cristian
b9c1a2f365
Backed out 2 changesets (bug 1408129) for browser-chrome failures on /browser/test-oop-extensions/browser_ext_user_events.js. CLOSED TREE
...
Backed out changeset d25226ca3633 (bug 1408129)
Backed out changeset 7379720ca6f5 (bug 1408129)
2018-07-31 20:40:01 +03:00
Anny Gakhokidze
469c8c4a94
Bug 1461465 - Implement async Clipboard APIs, r=nika,r=enndeakin
...
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-31 13:13:02 -04:00
Tom Schuster
ffb71eca60
Bug 1408129 - Remove dead references to InputEventManager. r=aswan
...
--HG--
extra : rebase_source : 46d6af42a0e04feca374da9af3fbad57a05a97d3
extra : histedit_source : 77eac7170e3a727bfcf17696f78203db7787603a
2018-07-31 02:33:19 +02:00
Andrew Swan
d50724f571
Bug 1477866 Fix documentation typo r=me
...
--HG--
extra : rebase_source : 1956ab9f3fd39b48cbe359eea4202a07d5e5dfbe
2018-07-30 22:23:04 -07:00
Boris Zbarsky
0fcb24c18d
Bug 1446940 part 1. Stop getting docshells from windows via getInterface in toolkit. r=gijs
...
The change to test_hiddenPrivateWindow.xul is to make sure we pass windows, not
docshells, to an API that expects windows.
2018-08-01 13:07:09 -04:00
shindli
03094b23f2
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-07-31 13:08:09 +03:00