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

229 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 7050737f77 Bug 1493978 - Recognize Mac newlines as well as Windows newlines in the string passed to alert/confirm r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D8896

--HG--
extra : moz-landing-system : lando
2018-10-17 17:36:11 +00:00
Ehsan Akhgari ecd5aada04 Bug 1498370 - Update the storage access flag when storage access is granted/denied r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8550

--HG--
extra : moz-landing-system : lando
2018-10-15 10:29:33 +00:00
Ehsan Akhgari e5c47b59c8 Bug 1494476 - Part 1: Make AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() accept a principal argument instead of a string r=baku
Depends on D8238

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

--HG--
extra : moz-landing-system : lando
2018-10-10 15:47:40 +00:00
Dorel Luca d58af2c1f9 Backed out 4 changesets (bug 1494476) for build bustage and lining failure. CLOSED TREE
Backed out changeset 70d95bda8458 (bug 1494476)
Backed out changeset f89516a277dc (bug 1494476)
Backed out changeset 3c38fad722a6 (bug 1494476)
Backed out changeset 473362250320 (bug 1494476)
2018-10-10 18:29:04 +03:00
Ehsan Akhgari 7b4b59474c Bug 1494476 - Part 1: Make AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() accept a principal argument instead of a string r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8155

--HG--
extra : moz-landing-system : lando
2018-10-10 14:49:22 +00:00
Gijs Kruitbosch e61cc054ca Bug 1493634 - make docshell responsible for outer window IDs, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D7702

--HG--
extra : moz-landing-system : lando
2018-10-10 10:20:36 +00:00
Boris Zbarsky aacae7bf6b Bug 1497658 part 2. Stop using GetCurrentJSContext in CallerInnerWindow. r=mccr8
We're always called from script, so just pass through the JSContext.
2018-10-09 17:02:13 -04:00
Boris Zbarsky 71af18de28 Bug 1497658 part 1. Remove a useless GetCurrentJSContext check in MakeScriptDialogTitle. r=mccr8
We want to just use the subject principal URI.  In practice, all our callers
are script anyway, it turns out...
2018-10-09 17:02:13 -04:00
Olli Pettay 8aab677101 Bug 1492823 - Ensure user input suppression works correctly even after document.open. r=peterv
--HG--
extra : rebase_source : 8203c52cd64dea17d5127a625fa043b1d7a6d3b3
2018-10-09 08:56:01 -04:00
Ehsan Akhgari 079e3e2790 Bug 1493563 - Part 9: Notify about trackers being unblocked when being granted a first-party exception; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6599
2018-09-28 14:46:02 -04:00
Ehsan Akhgari 744b459820 Bug 1493563 - Part 6: Only restrict notifying same loading URI channels to tracking protection notifications; r=baku
This check was originally added for tracking protection, and we need to keep
the state of the document updated for the rest of our blocking states even
for third-party channels.

Differential Revision: https://phabricator.services.mozilla.com/D6596
2018-09-28 14:46:02 -04:00
Ehsan Akhgari 355485be9f Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6594
2018-09-28 14:46:02 -04:00
Ehsan Akhgari 807e9dc488 Bug 1493563 - Part 2: Record a log of content blocking actions on each top-level document; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6592
2018-09-28 14:46:02 -04:00
Noemi Erli 4419e20e14 Backed out 12 changesets (bug 1493563) for failures in test_css-logic-getCssPath.html CLOSED TREE
Backed out changeset d2e83655082f (bug 1493563)
Backed out changeset 1ce58f004593 (bug 1493563)
Backed out changeset 344298c73ee7 (bug 1493563)
Backed out changeset 02b8b073f7d7 (bug 1493563)
Backed out changeset 3ef707008502 (bug 1493563)
Backed out changeset bb2720a401fe (bug 1493563)
Backed out changeset ce0211be57a1 (bug 1493563)
Backed out changeset 83d6c2bf8dc6 (bug 1493563)
Backed out changeset 1844af4cc25b (bug 1493563)
Backed out changeset c8ab17addb7a (bug 1493563)
Backed out changeset a1ff0cd62563 (bug 1493563)
Backed out changeset 932b41e211e0 (bug 1493563)
2018-09-28 21:31:18 +03:00
Ehsan Akhgari c245436170 Bug 1493563 - Part 9: Notify about trackers being unblocked when being granted a first-party exception; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6599
2018-09-28 13:24:43 -04:00
Ehsan Akhgari 4452a449eb Bug 1493563 - Part 6: Only restrict notifying same loading URI channels to tracking protection notifications; r=baku
This check was originally added for tracking protection, and we need to keep
the state of the document updated for the rest of our blocking states even
for third-party channels.

Differential Revision: https://phabricator.services.mozilla.com/D6596
2018-09-28 13:24:41 -04:00
Ehsan Akhgari 4895fd4963 Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6594
2018-09-28 13:24:40 -04:00
Ehsan Akhgari 6aba052a44 Bug 1493563 - Part 2: Record a log of content blocking actions on each top-level document; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6592
2018-09-28 13:24:39 -04:00
Tiberius Oros 70e8d3a299 Backed out 11 changesets (bug 1493563) for failures on dom/workers/test/test_sharedworker_event_listener_leaks.html on a CLOSED TREE
Backed out changeset 0bb55b604bfd (bug 1493563)
Backed out changeset 8e25c301675a (bug 1493563)
Backed out changeset 4f608b8801d4 (bug 1493563)
Backed out changeset f58d0b1ca088 (bug 1493563)
Backed out changeset eae105f2bf6d (bug 1493563)
Backed out changeset 7a8a0d1cfd69 (bug 1493563)
Backed out changeset dbba8451aab1 (bug 1493563)
Backed out changeset a6141dbd0328 (bug 1493563)
Backed out changeset f4ca3d8fa90e (bug 1493563)
Backed out changeset 56bab7fae64d (bug 1493563)
Backed out changeset 66787e603401 (bug 1493563)
2018-09-26 06:16:22 +03:00
Ehsan Akhgari 2f969011be Bug 1493563 - Part 9: Notify about trackers being unblocked when being granted a first-party exception; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6599
2018-09-25 21:02:51 -04:00
Ehsan Akhgari dbc610f1b8 Bug 1493563 - Part 6: Only restrict notifying same loading URI channels to tracking protection notifications; r=baku
This check was originally added for tracking protection, and we need to keep
the state of the document updated for the rest of our blocking states even
for third-party channels.

Differential Revision: https://phabricator.services.mozilla.com/D6596
2018-09-25 21:02:51 -04:00
Ehsan Akhgari 69860e8e2e Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6594
2018-09-25 21:02:51 -04:00
Ehsan Akhgari b4ad6261a0 Bug 1493563 - Part 2: Record a log of content blocking actions on each top-level document; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6592
2018-09-25 21:02:51 -04:00
Tiberius Oros 8acb878ef1 Backed out 11 changesets (bug 1493563) for failures on browser_blockingCookies.js on a CLOSED TREE
Backed out changeset d755b96837ac (bug 1493563)
Backed out changeset 651f87dca51f (bug 1493563)
Backed out changeset 68de8f0866d0 (bug 1493563)
Backed out changeset 205d69890f50 (bug 1493563)
Backed out changeset 5f922cd6c21e (bug 1493563)
Backed out changeset 84dc54c1a9c1 (bug 1493563)
Backed out changeset 287666ecdd17 (bug 1493563)
Backed out changeset c64a2ea15b7b (bug 1493563)
Backed out changeset 9085269938cd (bug 1493563)
Backed out changeset de06604fefcb (bug 1493563)
Backed out changeset f9bac5e73bd4 (bug 1493563)
2018-09-25 23:12:03 +03:00
Ehsan Akhgari acfc3a0d0f Bug 1493563 - Part 9: Notify about trackers being unblocked when being granted a first-party exception; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6599
2018-09-25 13:51:47 -04:00
Ehsan Akhgari 04f99daed0 Bug 1493563 - Part 6: Only restrict notifying same loading URI channels to tracking protection notifications; r=baku
This check was originally added for tracking protection, and we need to keep
the state of the document updated for the rest of our blocking states even
for third-party channels.

Differential Revision: https://phabricator.services.mozilla.com/D6596
2018-09-25 13:51:47 -04:00
Ehsan Akhgari 4765aaccd1 Bug 1493563 - Part 4: Present the old state and the content blocking log to the security event sink; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6594
2018-09-25 13:51:47 -04:00
Ehsan Akhgari 9a26b7fd29 Bug 1493563 - Part 2: Record a log of content blocking actions on each top-level document; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6592
2018-09-25 13:51:47 -04:00
Ehsan Akhgari a7981b7ace Bug 1491061 - Part 1: Make Disable Protection honour both the Content Blocking UI pref and the pref controlling whether Third-Party Cookies section appears under Content Blocking UI; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5887
2018-09-20 13:43:05 -04:00
Ehsan Akhgari 711c013b44 Bug 1469714 - Part 9: Ensure that the granted storage access permission is available for non-sandboxed third-party contexts upon navigation; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5818
2018-09-17 13:00:38 -04:00
Ehsan Akhgari d0b639de57 Bug 1469714 - Part 2: Implement the Storage Access API to grant first-party storage access to 3rd party trackers; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5811
2018-09-17 13:00:38 -04:00
Gurzau Raul 78e7d3e5c7 Backed out 13 changesets (bug 1469714, bug 1491061) for bustages at src/dom/base/nsDocument.cpp, failures at test_browserGlue_bookmarkshtml.js and browser_startup.js on a CLOSED TREE
Backed out changeset 494e23ba027e (bug 1491061)
Backed out changeset 43552fcae4a4 (bug 1491061)
Backed out changeset 0fb2ac9ad5ec (bug 1469714)
Backed out changeset 4a88ff107478 (bug 1469714)
Backed out changeset 158def1e0b8c (bug 1469714)
Backed out changeset 61dc8b46e7f6 (bug 1469714)
Backed out changeset 453370408672 (bug 1469714)
Backed out changeset ff443966e3d9 (bug 1469714)
Backed out changeset 88f414c8cecc (bug 1469714)
Backed out changeset 36e5c9e69f10 (bug 1469714)
Backed out changeset f90b4272f420 (bug 1469714)
Backed out changeset 4db771422e75 (bug 1469714)
Backed out changeset fe750643da13 (bug 1469714)
2018-09-17 18:06:50 +03:00
Ehsan Akhgari 04762303c7 Bug 1491061 - Part 1: Make Disable Protection honour both the Content Blocking UI pref and the pref controlling whether Third-Party Cookies section appears under Content Blocking UI; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5887
2018-09-17 10:07:58 -04:00
Ehsan Akhgari 69e558a801 Bug 1469714 - Part 9: Ensure that the granted storage access permission is available for non-sandboxed third-party contexts upon navigation; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5818
2018-09-17 10:04:21 -04:00
Ehsan Akhgari ade52cfaa6 Bug 1469714 - Part 2: Implement the Storage Access API to grant first-party storage access to 3rd party trackers; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5811
2018-09-17 10:04:21 -04:00
Ehsan Akhgari 79b7b4ad24 Bug 1491387 - Remove NS_NewXULControllers(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5927
2018-09-17 09:52:18 -04:00
Ehsan Akhgari 34ac769d9e Bug 1491019 - Remove the XPCOM component registration for nsXULControllers; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5774
2018-09-14 13:32:45 -04:00
Xidorn Quan 30703bafcb Bug 1490539 part 1 - Change FullScreen to Fullscreen in various names. r=smaug
Some methods on Window are not changed because they are part of public
interface. Method names from widget are also unchanged.

Many "full-screen" in comments are also updated to "fullscreen" instead.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 15:51:30 +00:00
Ehsan Akhgari 71ac39ed09 Bug 1489790 - Part 5: Remove the XPCOM component registration for @mozilla.org/dom/window-controller;1; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5360
2018-09-11 09:58:33 -04:00
Andrea Marchesini f7df966db8 Bug 1489077 - Report to console when cookie permission is granted for trackers, r=ehsan 2018-09-09 20:03:09 +02:00
Nicholas Nethercote 534cc02919 Bug 1488628 - Change nsIWebBrowsing.searchString to an AString. r=froydnj
--HG--
extra : rebase_source : b7c2bdded7dbd278bfbb2297c0d1ea6c4ca4934c
2018-09-05 13:38:51 +10:00
Jan de Mooij cbb67627a3 Bug 722345 part 3 - Remove request API. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D4424

--HG--
extra : rebase_source : 1842588c00dbc8fb4294ce5436cdb787190909b4
2018-08-28 09:53:30 +02:00
Ehsan Akhgari 8ee774da84 Bug 1487396 - Part 1: Enable the secure browser UI object to keep track of the newly added content blocking states for each document; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D4809
2018-09-04 14:20:22 -04:00
Boris Zbarsky 1fcc87c931 Bug 1486932 part 1. Stop using nsIDOMStorage in xpidl APIs. r=mccr8 2018-08-31 13:56:54 -04:00
Andrea Marchesini 40a8c122d3 Bug 1487331 - STATE_BLOCKED_TRACKING_COOKIES must tell why cookies are blocked, r=ehsan
Introduce these new blocking state values:

const unsigned long STATE_COOKIES_BLOCKED_BY_PERMISSION = 0x10000000;
const unsigned long STATE_COOKIES_BLOCKED_TRACKER       = 0x20000000;
const unsigned long STATE_COOKIES_BLOCKED_ALL           = 0x40000000;
const unsigned long STATE_COOKIES_BLOCKED_FOREIGN       = 0x80000000;
2018-08-31 11:02:33 +02:00
Daniel Varga 9355025fd5 Merge mozilla-central to mozilla-inbound 2018-08-14 01:09:48 +03:00
Ting-Yu Lin 48d02834a5 Bug 1482665 Part 2 - Remove nsPresContext::AppUnitsPerCSSPixel() and replace it with mozilla::AppUnitsPerCSSPixel(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D3155
2018-08-13 14:29:28 -07:00
Ehsan Akhgari 4f8fa911eb Bug 1480899 - Do not activate the window.open() heuristic for allowing storage access if opener access hasn't been granted; r=englehardt 2018-08-13 17:14:54 -04:00
Adrian Wielgosik be0c1a4f55 Bug 1481645 - Remove some redundant uses of do_QueryInterface. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D2893

--HG--
extra : moz-landing-system : lando
2018-08-13 09:05:19 +00:00
Brendan Dahl 027788b3ce Bug 1481286 - Move command dispatcher from XULDocument to Document. r=bz
Allows non-XUL chrome privilege documents to also use the command
dispatcher. The command dispatcher is created lazily since it will not
always be used.

Update test to reflect removal of the XUL attribute "commandDispatcher"
from content privilege XUL.

MozReview-Commit-ID: HUXMG9kx4ft
2018-08-08 09:02:03 -07:00