Commit Graph

52715 Commits

Author SHA1 Message Date
Shane Caraveo
2f65e17f02 Bug 1345474 - Check incognito access for webNavigation api, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D12337

--HG--
extra : moz-landing-system : lando
2018-12-12 14:34:19 +00:00
Shane Caraveo
0758a6a1dc Bug 1345474 - Check incognito access for theme api, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D11709

--HG--
extra : moz-landing-system : lando
2018-12-10 21:32:14 +00:00
Shane Caraveo
7760ed3ea3 Bug 1345474 - Check incognito access for cookies api, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D11699

--HG--
extra : moz-landing-system : lando
2018-12-12 14:35:17 +00:00
Shane Caraveo
19887c0e90 Bug 1345474 - Check incognito access for webRequest api r=kmag
Depends on D4112

Differential Revision: https://phabricator.services.mozilla.com/D5571

--HG--
extra : moz-landing-system : lando
2018-12-10 21:30:43 +00:00
Shane Caraveo
712e57664e Bug 1345474 - protect access to base window and tab classes r=rpl
Depends on D4109

Differential Revision: https://phabricator.services.mozilla.com/D4110

--HG--
extra : moz-landing-system : lando
2018-12-10 21:28:33 +00:00
Shane Caraveo
593042d7b1 Bug 1345474 - Check incognito access for content scripts r=rpl
Depends on D4100

Differential Revision: https://phabricator.services.mozilla.com/D4109

--HG--
extra : moz-landing-system : lando
2018-12-10 21:27:45 +00:00
Shane Caraveo
ed2e4c07aa Bug 1345474 - Add policy flags to support incognito settings r=rpl,kmag
Differential Revision: https://phabricator.services.mozilla.com/D4100

--HG--
extra : moz-landing-system : lando
2018-12-10 21:27:22 +00:00
Razvan Maries
d177dac620 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-12-12 18:35:39 +02:00
Razvan Maries
cef33be47c Merge mozilla-inbound to mozilla-central a=merge 2018-12-12 18:32:14 +02:00
Tim Nguyen
823afa17ad Bug 1513349 - Remove now erroneous tree cell editing styles. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14189

--HG--
extra : moz-landing-system : lando
2018-12-12 08:55:50 +00:00
Dimi Lee
bb6cc32d45 Bug 1510559 - Add .desktop to the list of executable extensions in download protection. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D14238

--HG--
extra : moz-landing-system : lando
2018-12-12 10:57:50 +00:00
Belén Albeza
6f4781eae9 Bug 1509470 - Add license for react-router-dom. r=jdescottes,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D14152

--HG--
extra : moz-landing-system : lando
2018-12-11 16:52:48 +00:00
Coroiu Cristina
51cd68a168 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-12-12 07:26:06 +02:00
Coroiu Cristina
3160ddc1f0 Merge inbound to mozilla-central a=merge 2018-12-12 07:12:07 +02:00
alwu
aba79e9edc Bug 1511235 - part2 : add test. r=jya,baku
Add new webidl method for testing only and a test.

Differential Revision: https://phabricator.services.mozilla.com/D13805

--HG--
extra : moz-landing-system : lando
2018-12-12 02:16:55 +00:00
Daniel Varga
9be61b1c47 Backed out changeset 1a06654dd1ba (bug 1513152) for test-android-em failure at dom/security/test/csp/test_punycode_host_src.html on a CLOSED TREE 2018-12-12 03:29:20 +02:00
Lina Cambridge
38d15752db Bug 1512868 - Simplify merge triggers in the Sync mirror. r=mak
This commit consolidates the `insertNewLocalItems` and
`updateExistingLocalItems` triggers into a single trigger that uses
an upsert, and removes the last vestiges of annotations from the
mirror.

Differential Revision: https://phabricator.services.mozilla.com/D14035

--HG--
extra : moz-landing-system : lando
2018-12-12 00:56:29 +00:00
Lina Cambridge
a51c634adf Bug 1512867 - Always update or upload synced bookmarks that only exist on one side. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D14034

--HG--
extra : moz-landing-system : lando
2018-12-12 01:00:13 +00:00
Mark Banner
0304564ac7 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Mark Banner
e2234d6da6 Bug 1415483 - Extend reject-importGlobalProperties to reject any priviliged items already in scope. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13753

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:38 +00:00
Eric Rahm
73803235e2 Bug 1511919 - Enable INPUT_EVENT_RESPONSE_MS in release. r=chutten
--HG--
extra : rebase_source : ca7dc7c9ae60b5bcdbacb3aa551eea568caf9f2e
2018-12-03 16:53:34 -08:00
Eric Rahm
eeda7215cb Bug 1511918 - Enable MEMORY_TOTAL telemetry in release. r=chutten
--HG--
extra : rebase_source : b9de99179cfbef9e755013c8d626d4b56ad387e8
2018-12-03 16:51:34 -08:00
Coroiu Cristina
59f79d44b0 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-12-12 00:01:36 +02:00
Coroiu Cristina
123fb1bc4c Backed out changeset 4db0d3e10cb1 (bug 1498027) for a11y failures on a CLOSED TREE 2018-12-11 20:27:17 +02:00
Andrew Swan
fb177e0571 Bug 1498027 Defer window/browser creation for extension pages r=kmag
Also, use a single hidden window to hold <browser> elements
for multiple extensions.

Differential Revision: https://phabricator.services.mozilla.com/D14163

--HG--
extra : moz-landing-system : lando
2018-12-11 17:27:06 +00:00
Csoregi Natalia
9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Csoregi Natalia
354257650e Merge mozilla-central to autoland. CLOSED TREE 2018-12-11 18:29:02 +02:00
Csoregi Natalia
e9a6129f64 Merge inbound to mozilla-central. a=merge 2018-12-11 18:24:56 +02:00
Mark Banner
1abdc8687f Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Mark Banner
4d543888a6 Bug 1415483 - Extend reject-importGlobalProperties to reject any priviliged items already in scope. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13753

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:24 +00:00
Mark Banner
ff9179a99e Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

Differential Revision: https://phabricator.services.mozilla.com/D13299

--HG--
extra : moz-landing-system : lando
2018-12-11 09:31:26 +00:00
matthias
a562daf54e Bug 1512889 - Changed button colour to inherit. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14116

--HG--
extra : moz-landing-system : lando
2018-12-11 08:08:56 +00:00
matthias
3543b427c6 Bug 1512842 - Adjusted Button Background colour according to photon spec. r=ntim,dao
Differential Revision: https://phabricator.services.mozilla.com/D14117

--HG--
extra : moz-landing-system : lando
2018-12-11 09:19:43 +00:00
Emilio Cobos Álvarez
b6deca5eb0 Bug 1442466 - Fix bogus IsInNativeAnonymousSubtree function in nsWebBrowserFind. r=bzbarsky
This is ultimately the root cause of the issue. I'm landing a test to ensure we
notice the behavior change if we make it, in addition to a test for this issue
itself, to ensure that we don't get stuck, since after bug 1510485 we don't
return such nodes from nsFind when window.find is called anyway.

This code made no sense, it only returned true if the binding parent is the node
itself, which as far as I can tell cannot happen, so it was just a very
expensive way to return false.

Differential Revision: https://phabricator.services.mozilla.com/D14122

--HG--
extra : moz-landing-system : lando
2018-12-11 04:18:11 +00:00
Narcis Beleuzu
208387527a Merge mozilla-central to inbound. a=merge 2018-12-11 07:26:37 +02:00
Brindusan Cristian
cab76a96b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-11 00:11:47 +02:00
Brindusan Cristian
c0be6a4290 Merge inbound to mozilla-central. a=merge 2018-12-11 00:05:18 +02:00
June Wilde
b24cf79204 Bug 1508782 - Add moz.yaml for bspatch in toolkit/mozapps/update; r=mhowell
Moves bspatch.h and bspatch.cpp into new folder
Adds LICENSE, moz.yaml, and moz.build for bspatch
Alters bsdiff and updater build files to account for the new location of bspatch
Renames toolkit/mozapps/update/common/errors.h to toolkit/mozapps/update/common/updatererrors.h for
breaking windows builds. It collided with MSVCRT's exported errors.h after being added to the export list for
the 'updatercommon' library

Differential Revision: https://phabricator.services.mozilla.com/D13735

--HG--
rename : toolkit/mozapps/update/common/errors.h => toolkit/mozapps/update/common/updatererrors.h
rename : toolkit/mozapps/update/updater/bspatch.cpp => toolkit/mozapps/update/updater/bspatch/bspatch.cpp
rename : toolkit/mozapps/update/updater/bspatch.h => toolkit/mozapps/update/updater/bspatch/bspatch.h
extra : moz-landing-system : lando
2018-12-10 19:07:42 +00:00
Jason Orendorff
4499193a01 Backed out 2 changesets (bug 1488417, bug 1259822) for web compat issues.
Backed out changeset b58b7cd29a0b (bug 1488417)
Backed out changeset f0c6e521429c (bug 1259822)

--HG--
extra : rebase_source : 8c06ed65ee33eddad7131694beb9740abeca82cb
2018-12-10 10:47:47 -06:00
Cosmin Sabou
e3d5f2a521 Backed out changeset 6f69dc19ed7c (bug 1507487) for devtools failures on browser_scratchpad_pprint.js CLOSED TREE 2018-12-10 19:04:49 +02:00
Emilio Cobos Álvarez
1288b871bf Bug 1510485 - Properly handle errors in nsFind when returning a range. r=bzbarsky
Bug 1505887 changed the behavior here from content calling into nsFind via
window.find(), by making the SetStart and SetEnd calls here fail instead of
succeed for NAC (like the text in textareas).

This patch makes us handle that error gracefully moving on to the next match,
instead of trying to preserve the previous behavior.

This means that we'll fail to highlight textarea content and such from
window.find, which Chromium does, looks like. Though Chromium doesn't expose
the ranges as selection either. In any case I don't think that this is a very
common thing given bugs like bug 1442466, which this bug fixes.

I haven't found anything close to a spec for what window.find() should do... If
we decide to go with this patch then I'll add a crashtest for this and a test
for bug 1442466 as well. Otherwise I'll add a way to skip the security check in
nsFind somehow for NAC, or relax the security restrictions in SetStart /
SetEnd, I guess.

Differential Revision: https://phabricator.services.mozilla.com/D14013

--HG--
extra : moz-landing-system : lando
2018-12-11 01:06:32 +00:00
Brindusan Cristian
989d78f3d0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-11 00:10:08 +02:00
Jeff Walden
87c8fc7bca Bug 1513152 - Load .sjs scripts in httpd.js as UTF-8, updating consumers of the in-tree .sjs scripts as necessary for the change. r=kmag
--HG--
extra : rebase_source : ff77d84433fa3fc78aea9a6c2a0e897981fd7b84
2018-12-08 18:00:33 -05:00
Mark Banner
d4cd673de5 Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

Differential Revision: https://phabricator.services.mozilla.com/D13299

--HG--
extra : moz-landing-system : lando
2018-12-06 17:27:56 +00:00
Jan-Erik Rediger
9e4c5adb58 Bug 1504613 - Remove now-default-true skipEmpty argument r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D14062

--HG--
extra : moz-landing-system : lando
2018-12-10 14:16:47 +00:00
Marco Bonardo
c918d5c8b5 Bug 1510281 - Use a private and isolated context for search suggestions. r=mkaply,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13329

--HG--
extra : moz-landing-system : lando
2018-12-07 16:21:27 +00:00
Marco Bonardo
4df6b25ace Bug 1510281 - Backed out changeset 093960021b8b because we want to use a different approach. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D13328

--HG--
extra : moz-landing-system : lando
2018-12-08 17:32:27 +00:00
Raphael Pierzina
6196563d5e Bug 1301776 - Verify window_open_event_count scalar data in telemetry-tests-client; r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D13559

--HG--
extra : moz-landing-system : lando
2018-12-07 15:37:55 +00:00
Andrea Marchesini
562202c9bd Bug 1512485 - Introduce nsIClearDataService.deleteDataFromOriginAttributesPattern, r=johannh 2018-12-09 13:19:04 +01:00
Brindusan Cristian
c706eee030 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-09 11:38:48 +02:00