Commit Graph

2490 Commits

Author SHA1 Message Date
Csoregi Natalia
84844e05a3 Merge inbound to mozilla-central. a=merge 2018-08-13 18:42:53 +03:00
trisha
276f6f397f Bug 1476509 - Implement a new clock skew error page r=flod,johannh
MozReview-Commit-ID: 5WmgrxUcSZ6
2018-08-02 22:59:04 +05:30
Kris Maglione
c3ecbfef26 Bug 1481021: Follow-up: Fix another test that relies on bad COW behavior. r=me,test-only 2018-08-11 17:12:34 -07:00
Andreea Pavel
09c6a61b2e Merge mozilla-central to mozilla-inbound. a=backout 2018-08-11 13:50:07 +03:00
Andreea Pavel
b414d7b427 Backed out changeset ef30529d43dd (bug 1476509) for breaking localization a=backout 2018-08-11 13:45:07 +03:00
Andreea Pavel
667a9ae380 merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-08-11 13:28:47 +03:00
Matt Woodrow
3576a37a79 Bug 1481704 - Add FX_TAB_SWITCH_COMPOSITE_E10S_MS to measure total time it takes to present a tab during tab-switch. r=mconley, data-review=francois 2018-08-11 22:07:14 +12:00
Bogdan Tara
349045ca70 Backed out changeset c9b0ce46ad4f (bug 1466801) for pause-remove-from-document-networkState.html failures CLOSED TREE 2018-08-11 03:20:30 +03:00
trisha
b637a1908a Bug 1476509 - Implement a new clock skew error page r=johannh
MozReview-Commit-ID: BUR0hCnh5gb
2018-08-02 22:59:04 +05:30
Jonathan Kingston
bb6cd22c00 Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs 2018-07-16 10:17:51 +01:00
Rob Wu
cd1bdb8e47 Bug 1325814 - Add extension API to find menu target r=mixedpuppy
- Add info.targetElementId to menus.onShown event.

- Add info.targetElementId to menus.onClicked event.

- Add menus.getTargetElement API that is available to all contexts,
  including content scripts, which allows extensions to get the DOM
  element for a given targetElementId.

- Add new schema instead of re-using schemas/menus.json to avoid sending
  too much schema data (of the existing menus API) to content processes.

MozReview-Commit-ID: 6Onf7jZlIho
2018-08-04 18:09:49 +02:00
Michael Kaply
c2cc29f26f Bug 1481869 - Correct in-content reporting payload r=Dolske
Differential Revision: https://phabricator.services.mozilla.com/D3124
2018-08-10 20:34:56 +00:00
Brian Grinstead
1c86f46ecd Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):

  firstChild->firstElementChild
  lastChild->lastElementChild
  nextSibling->nextElementSibling
  previousSibling->previousElementSibling
  childNodes->children

MozReview-Commit-ID: 95NQ8syBhYw
2018-08-08 15:22:53 -07:00
Dave Townsend
ecd78e692f Bug 1478823: Start loading the default favicon as soon as the head element is complete. r=mak
We have to potentially add the root favicon both after the head element completes and when the page finishes loading in the case that there was no head element.

Differential Revision: https://phabricator.services.mozilla.com/D2803
2018-08-07 12:42:15 +00:00
Michael Kaply
17ff2068ac Bug 1475571 - Replace follow-on addon with in tree telemetry. r=mikedeboer,florian
Differential Revision: https://phabricator.services.mozilla.com/D2125
2018-08-07 11:59:16 +00:00
arthur.iakab
79cddd34ab Merge inbound to mozilla-central a=merge 2018-08-07 12:36:18 +03:00
Tim Nguyen
8d88f6e787 Bug 1481270 - Small cleanups to LightweightThemeChildHelper.jsm. r=kmag
MozReview-Commit-ID: HGjKQPxXx4S
2018-08-06 18:33:55 +01:00
Tiberius Oros
9b9be2270e Backed out changeset 502893089232 (bug 1475571) for browser_preferences_usage.js on a CLOSED TREE 2018-08-07 04:46:22 +03:00
Michael Kaply
e73fe3bb42 Bug 1475571 - Replace follow-on addon with in tree telemetry. r=mikedeboer,florian
Differential Revision: https://phabricator.services.mozilla.com/D2125
2018-08-06 22:02:02 +00:00
Mark Striemer
6e3ff32cca Bug 1470865 - Dynamically show hidden audio tabs in all tabs menu r=dao
When a hidden audio tab is muted it isn't pulled into the main all tabs
panel. Unmuting that tab will now add it to the main all tabs panel,
even if the all tabs menu it open.

MozReview-Commit-ID: 2HtZvy7aBsG
2018-07-11 22:30:36 -05:00
Jonathan Kingston
7c5bb7f8c7 Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs 2018-07-16 10:17:51 +01:00
Boris Zbarsky
a93cf3d175 Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.

I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have.  Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -04:00
Csoregi Natalia
5bd0ca7b64 Backed out 3 changesets (bug 1479569) for devtools/client/responsive.html failures. CLOSED TREE
Backed out changeset e123d0aa911c (bug 1479569)
Backed out changeset b828a58404e5 (bug 1479569)
Backed out changeset 97041ef8f311 (bug 1479569)
2018-08-03 10:39:12 +03:00
Boris Zbarsky
3344641137 Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.

I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have.  Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -04:00
Olli Pettay
d4765a9987 Bug 1480130 - Shadow DOM interferes with Cmd+click handling, r=felipe 2018-08-02 14:55:09 +03:00
Boris Zbarsky
df1e81934e Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
Andrea Marchesini
c998b3b3c1 Bug 1477539 - Sanitizer.jsm must cleanup content preferences, r=Gijs 2018-07-30 23:15:15 +02:00
Chris Pearce
f1e5eaae76 Bug 1473671 - Don't store persistent block permission if ESC pressed while showing permission doorhanger. r=florian
While showing a doorhanger permisison prompt, if the user presses the ESC key
we call the secondary action callback, passing in whether any checkbox on
the popup notification was checked.

In the case of an autoplay-media permission prompt, we have a "remember"
checkbox, which is checked by default. So pressing ESC means the user will
remember a "block" result for the current site.

We believe that users don't expect pressing ESC to result in a remembered
decision, they expect pressing ESC to avoid making a decision. So we want to
ignore the checkbox when ESC is pressed for autoplay-media.

So this patch adds a new PopupNotification behaviour which reports the source
of event which caused the action callback to be called. This enables the ESC
key press to ignore storing a permission.

Note: the change here to not store a permission on ESC press applies to all
permissions, not just autoplay-media.


MozReview-Commit-ID: IUWFN8LG9VF
2018-07-17 14:45:17 +12:00
Kris Maglione
bddbdcce85 Bug 1479236: Stop loading NetUtil.jsm in the content process. r=Mossop
MozReview-Commit-ID: CvV25FHerXJ
2018-07-28 17:47:06 -07:00
Kris Maglione
e97c582e3f Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Narcis Beleuzu
749f83cc65 Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
6dcf46ad68 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Michael Kaply
ffac6c15e2 Bug 1477042 - Add a pref for counting URIs in private browsing mode. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D2479
2018-07-27 22:45:29 +00:00
Cosmin Sabou
9290ee4bd0 Backed out changeset c03547ff0797 (bug 1477042) for browser chrome failures on browser_address_edit. CLOSED TREE 2018-07-28 00:17:19 +03:00
Michael Kaply
dd49c4369c Bug 1477042 - Add a pref for counting URIs in private browsing mode. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D2479
2018-07-27 20:00:12 +00:00
Tim Nguyen
2a7d072a6e Bug 1474163 - Make use of sharedData for content theme data. r=mconley
MozReview-Commit-ID: Etz8huX2YCt
2018-07-13 16:21:34 +01:00
Gijs Kruitbosch
0ed5658d73 Bug 1477670 - remove content handler code from browser/, r=florian,jkt
MozReview-Commit-ID: 3kS7yPdkjGs
2018-07-24 17:54:40 +01:00
Felipe Gomes
dbfd9c1319 Bug 1369466 - Change consumers to the new location of RemotePageManager. r=mossop
MozReview-Commit-ID: 66YVrSfIpYj
2018-07-26 22:09:12 -03:00
Mark Banner
9723b146c2 Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
MozReview-Commit-ID: BYTDdLU2HoM
2018-07-25 09:10:07 +01:00
Narcis Beleuzu
c2c876bd2a Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner
adf561b1ad Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
MozReview-Commit-ID: BYTDdLU2HoM
2018-07-25 09:10:07 +01:00
Andreea Pavel
c355d6d417 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-07-25 18:10:55 +03:00
Shane Caraveo
f71b541aea Bug 1344771 - Implement attribution on OSX using quarantine data, r=mossop,spohl
MozReview-Commit-ID: NgjE1HZS7M
2018-07-23 11:01:26 -03:00
Boris Zbarsky
e98236cf07 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Brian Grinstead
3097f96e03 Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
Before this change, we accessed the browser URL in the following ways:

- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js

MozReview-Commit-ID: I5vtRke1x9t
2018-07-24 08:12:50 -07:00
Dale Harvey
3f5adfbd25 Bug 1476889 - Update autoplay copy. r=flod
MozReview-Commit-ID: D8Ss2U2gZ9q
2018-07-23 12:20:30 +01:00
shindli
553352d0a7 Backed out changeset 590299c07f06 (bug 1474163) for AddressSanitizer failures on a CLOSED TREE. 2018-07-23 21:35:34 +03:00
Tim Nguyen
32960aedc1 Bug 1474163 - Make use of sharedData for content theme data. r=mconley
MozReview-Commit-ID: Etz8huX2YCt
2018-07-13 16:21:34 +01:00
shindli
da6872758f Backed out changeset 7fd40900b7c1 (bug 1474163) for assertion failure at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/BindingUtils.h:1070 on a CLOSED TREE 2018-07-23 20:41:23 +03:00
Tim Nguyen
76cc4312e2 Bug 1474163 - Make use of sharedData for content theme data. r=mconley
MozReview-Commit-ID: Etz8huX2YCt
2018-07-13 16:21:34 +01:00