Commit Graph

2323 Commits

Author SHA1 Message Date
J. Ryan Stinnett
509bfd2c21 Bug 1446572 - Record node inspection selectors starting with root. r=pbro
Reverse the array of node inspection selectors, so that are a bit more naturally
human-readable by starting from the root document and moving inwards.

MozReview-Commit-ID: BYXryJg7iR9

--HG--
extra : rebase_source : b88b1289aaa768a7a852b433cd07ed4cf167c51c
2018-03-28 14:30:12 -05:00
Tim Nguyen
b97de75c9b Bug 1449324 - Make popup_border affect the autocomplete popups border color. r=dao
MozReview-Commit-ID: 2omRfDTdRWr

--HG--
extra : rebase_source : 6ef2d0a84825ce5281b37c18516bd5778fe7050f
2018-03-28 00:11:20 +02:00
Marco Bonardo
57d906ecd0 Bug 1449523 - ContentLinkHandler only picks perfectly sized icons. r=Mardak
MozReview-Commit-ID: IY5vOIliWWC

--HG--
extra : rebase_source : 125201afee6771d22ed5079e70b966bb0d193f07
2018-03-28 12:40:02 +02:00
Mike Conley
8f3cddc6cf Bug 1447326 - Fix tab warming state probe. r=dthayer
Since bug 1432509, the warmingTabs WeakSet has had warmed tabs
cleared from it once they have entered STATE_LOADED. This allowed
us to make decisions on tab switch operations based on whether or
not a tab was still being warmed.

This broke our Telemetry, which assumed that warming tabs would
still be in the warmingTabs WeakSet until either requested or
evicted. Now, instead, we look to see whether or not tab warming
is enabled, and whether tabs _could_ have been warmed in order to
add entries to the right buckets.

MozReview-Commit-ID: 94oiKYzf4au

--HG--
extra : rebase_source : 0b6be98ff93d9753fcdacbec15a2a7b08232bb3a
2018-03-21 14:01:18 -04:00
Kris Maglione
46748f4fae Backed out changeset 68e32f5b50e7 (bug 1444554) for failing its own test. r=backout
MozReview-Commit-ID: C6TooaguKcm
2018-03-20 20:31:57 -07:00
Michael Kelly
3e4a160302 Bug 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D725

MozReview-Commit-ID: KY90uSslMmb

--HG--
extra : source : a760e111f2f157fbb18e66117f026ca298d4343e
2018-03-16 13:24:39 -07:00
Michael Kelly
527a07efae Bug 1445009: Tag errors from extensions with isExtensionError. r=Gijs
MozReview-Commit-ID: AQrlvTfJUUS

--HG--
extra : rebase_source : 0f88d1072dbb66334a6790bc9c62e8ce4a57f097
extra : histedit_source : 6210b991eeb12f19d4eb0e38d105e3200c372f7d
2018-03-19 13:40:53 -07:00
Michael Kelly
693bb90432 Bug 1445009: Refactor BrowserErrorReporter.jsm and tests. r=Gijs
The transforms for turning an nsIScriptError into a payload that Sentry
understands were getting a bit complex for a single function, so they're
refactored into a list of transform functions that are applied in sequence to
produce the payload. This will make it easier to manage adding new transforms to
the list.

Refactoring this revaled a problem with the test code: it assumed that listeners
for console messages were notified in order of registration (since it used a
temporary listener to determine when the rest of the listeners had been notified
of a message). Changing the async evaluation of the code broke the tests, so
they had to be refactored as well.

Without a way to know when all console listeners have been notified, we can't
assert that a message will not be received by BrowserErrorReporter. We do two
things to get around this:

- Where possible, call `observe` directly on the reporter instance.
- Add constructor params for registering and unregistering listeners so we can
  test that logic without relying on messages being received or not.

MozReview-Commit-ID: EEH6IROOuHD

--HG--
extra : rebase_source : a5af344c86e9756d4dbef761e4a6060515c87a61
extra : histedit_source : 5491c7359d2989a2735ec6d39de372154706c475
2018-03-19 12:41:30 -07:00
Cosmin Sabou
2f02b690ff Merge central to inbound. a=merge on a CLOSED TREE 2018-03-21 04:06:42 +02:00
Cosmin Sabou
abbd20f9e5 Backed out changeset a760e111f2f1 (bug 1444554) for merge conflicts on browser_BrowserErrorReporter.js and failures after merging to autoland. a=backout 2018-03-21 02:51:03 +02:00
Michael Kelly
193cfecedb Bug 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D725

MozReview-Commit-ID: KY90uSslMmb

--HG--
extra : rebase_source : 4d079be8eb56ace73b385f276e741b672385bda6
2018-03-16 13:24:39 -07:00
Kris Maglione
eb1a0bb258 Bug 1446250: Part 1 - Optimize Photon PageAction update performance. r=Gijs
The amount of computational complexity and garbage array/string/object
generation for each update to a pageAction property went up astronomically
with the migration of WebExtension page actions to the Photon API. This
resulted in non-trivial talos regression when Screenshots attempted to switch
back to the built-in pageAction API.

These changes fix most of the garbage generation, and reduce a lot of the
duplicated work for each update.

MozReview-Commit-ID: 4uPLnAesdU2

--HG--
extra : rebase_source : 3f723f3f35abf032cf12e02ce38552e21ea4827f
2018-03-15 21:34:01 -07:00
Boris Zbarsky
837dc7eaaa Bug 1446711 part 8. Get rid of nsIDOMMouseEvent. r=qdot
MozReview-Commit-ID: 2FK1MA4LGZj
2018-03-20 00:16:07 -04:00
Michael Kelly
bfe6a7b625 Bug 1445012: Add user agent data to error report context. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D745

MozReview-Commit-ID: LKD0YwaYGUf

--HG--
extra : rebase_source : f2fc35b853cb4ec69cc02d89b2318a11b097670c
extra : amend_source : 346f4710d019498e499a13405efcfeaa1ebdfd54
2018-03-19 13:59:10 -07:00
Tooru Fujisawa
1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Bogdan Tara
4785e99532 Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +02:00
Kris Maglione
313b707b2e Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc

--HG--
extra : rebase_source : 765ddd5c62c9449c07ed050e44d86a3bd5c0ae64
extra : amend_source : 627a7694ac07182200f876901ded7a34721cd228
2018-03-07 19:31:28 -08:00
Vivek Dhingra
7b323d8758 Bug 1446060 - Rename mPanelContainer to tabpanels r=dao
MozReview-Commit-ID: 85PNkl3OeBE

--HG--
extra : rebase_source : d7bfb49a8736b8319f6d1ca45f39fe001d4214d8
2018-03-16 10:23:00 -04:00
Tiberius Oros
a4a2be52e8 Merge inbound to mozilla-central. a=merge 2018-03-16 11:53:43 +02:00
Michael Kelly
b6cb9ad0f5 Bug 1441366 Use internal add-on IDs in browser error stacktrace reports. r=kmag
MozReview-Commit-ID: 7OC4utHLgXC

--HG--
extra : source : 935e19ff56b7850622beb0bc6c85e07c2e1ff297
extra : intermediate-source : f9fac304d7e48f70f129e43508ec80673ccd82a8
2018-02-26 16:12:08 -08:00
Kris Maglione
ae3e671c55 Bug 1445551: Part 1c - Fix browser tests that attempt to use importGlobalProperties. r=mconley
When compartment-per-addon is disabled, browser mochitests will no longer
automatically run in an implicit Sandbox scope, which means that things like
Cu.importGlobalProperties will stop working.

MozReview-Commit-ID: AWloQ7gasEf

--HG--
extra : rebase_source : dacd0f8676dd3af60eeb372985e26d7850470e69
2018-03-13 18:18:27 -07:00
Michael Kelly
cf25d3e972 Bug 1445011: Include sourceName in error report payload. r=Gijs
The module attribute for an exception is surfaced in Sentry as the "transaction"
tag, and is useful for errors that don't include stack traces.

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

MozReview-Commit-ID: JKwgmE2jBXB

--HG--
extra : rebase_source : af817b5709e5b596885cc1674bcaaf7f96a0a48f
extra : amend_source : 8b7820ca53c29429ea9d788b1cf84012c99fdf81
2018-03-14 09:45:35 -07:00
Emilio Cobos Álvarez
b17e217c07 Bug 1424963: Replace remaining consumers of getPropertyCSSValue for getCSSImageURLs. r=florian,bz
The context-menu change is technically not idempotent, since something like:

  background-image: url(foo), linear-gradient(..);

Would throw before. But that didn't seem like a great deal to me.

MozReview-Commit-ID: 70pD1EyXDB
2018-03-14 11:07:43 +01:00
Gijs Kruitbosch
d2ebbb38df Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Brindusan Cristian
4f5a76dc76 Backed out 2 changesets (bug 1358815) for bc failures on browser_pdfjs_main.js CLOSED TREE
Backed out changeset 880736d97de3 (bug 1358815)
Backed out changeset a2a0a0990e1a (bug 1358815)
2018-03-15 21:23:12 +02:00
Gijs Kruitbosch
59e21359c8 Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Mike Conley
1bb8e62185 Bug 1423220 - Don't delay activating the DocShell for tabs that we're rendering by switching and not warming. r=dthayer
MozReview-Commit-ID: 3UmocajaSWJ

--HG--
extra : rebase_source : f79b07bd5620312b959503aeee5410c2e205a471
2018-03-16 11:39:22 -04:00
Andrea Marchesini
f02b4b3641 Bug 1433037 - WindowsPreviewPerTab should use decodeImageAsync, r=aosmond 2018-03-26 17:59:11 +02:00
Doug Thayer
c8a5a6165c Bug 1442068 - Record last probable cause of tab switch spinner r=mconley
MozReview-Commit-ID: mQnySbkQyH

--HG--
extra : rebase_source : dfad446ff95e364e822d1ae2ea8ecbf84bd9662f
2018-03-12 15:16:26 -07:00
Johann Hofmann
401e316e0d Bug 1442294 - Downgrade global streaming indicator when a higher priority device has been disabled. r=florian
MozReview-Commit-ID: 6GxXNsB6xYy

--HG--
extra : rebase_source : 20668e90464a585421fd854462208f2a592301f8
2018-03-08 14:08:21 +01:00
Prathiksha
b360ee3691 Bug 1435160 - Format notification popup description message in a helper function. r=johannh
MozReview-Commit-ID: Bwy2WrbXjUf

--HG--
extra : rebase_source : 7560c426f8e3fbfb102cfcba1ef7f15fc112ec38
2018-02-28 02:01:55 +05:30
Andrew Swan
344a3d3d0b Bug 1441271 Show permissions notifications for distribution addons r=kmag
As described in the bug, this is intended as a temporary solution to
enable some experiments.  If this becomes a real feature, UX will
put some thought into a better startup experience.

MozReview-Commit-ID: 4DGMHj29M3e

--HG--
extra : rebase_source : a108fd58d4703c3110790f99e4936e6fee323cd2
2018-02-28 18:36:36 -08:00
Csoregi Natalia
8cab2bba30 Backed out changeset b03fd1004cac (bug 1417883) for failing browser_ext_themes_autocomplete_popup.js. CLOSED TREE 2018-03-06 19:35:12 +02:00
Marco Bonardo
e381a1f62d Bug 1437803 - Add telemetry to understand how many users use TAB to cycle through Address Bar results. r=adw,dzeber
MozReview-Commit-ID: 6zdiIoxVIn1

--HG--
extra : rebase_source : a7d3ba1873fece0e82c0e6cee70bc74260df9630
2018-02-27 18:13:59 +01:00
Dylan Stokes
7085c55905 Bug 1417883 - Allow theming autocomplete popups. r=jaws,ntim
MozReview-Commit-ID: GITgsY3yYqN

--HG--
extra : rebase_source : 2cadbc67a715c60b17ae0994d8e40ebad310307e
2018-02-11 12:32:33 -05:00
Jared Wein
2961eba0d6 Bug 1436423 - Reduce the schedule pressure limit closer to the values that users are reporting. r=mconley
Note that this value, 300, is still far above the 95% threshold that telemetry is reporting (59 milliseconds) so this won't be noticeable to most users. The > 1% of users who are having this issue will benefit greatly from this change.

MozReview-Commit-ID: Bd51gjc5z83

--HG--
extra : rebase_source : 4a9e96eb555e8021012a3a06cb76e03413a8da20
2018-03-05 14:09:39 -05:00
Dão Gottwald
732eeec0ab Bug 1442651 - Remove the tabbrowser element and binding. r=bgrins
MozReview-Commit-ID: 2IXukkFq5C2

--HG--
extra : rebase_source : 4fd817951e19b39b5b06e75614031302177e86b2
2018-03-05 20:33:36 +01:00
Dão Gottwald
5d11b950a7 Bug 1436361 - Extract the async tab switcher from tabbrowser.js into its own JSM. r=mconley
MozReview-Commit-ID: AQaVOmQ548v

--HG--
rename : browser/base/content/tabbrowser.js => browser/modules/AsyncTabSwitcher.jsm
extra : rebase_source : 2ca6b3e21aead7de333ffec9bcbfc3f2b8bebdcb
2018-03-02 12:51:15 +01:00
Tim Nguyen
ce693b8a13 Bug 1439734 - Allow WebExtension themes to set the tab line color. r=jaws
MozReview-Commit-ID: LbHGyaWfXze

--HG--
extra : rebase_source : 3926e545530b87c0fdc4f95145485b15b79bfcb6
2018-03-04 01:25:54 +00:00
Brindusan Cristian
6cf5ac594a Merge inbound to mozilla-central. a=merge 2018-03-03 11:40:49 +02:00
vinicius
8368d36a52 Bug 1434476 - Allow changing the background color of the selected tab. r=jaws
***

MozReview-Commit-ID: 3GpBSWepNe3
***

--HG--
extra : rebase_source : 1c451cc8425958a1fe1a3387f7fa97a6b415e2c3
2018-03-02 15:24:05 -03:00
Prathiksha
68615f1636 Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 7CLfN4Io0ez

--HG--
extra : rebase_source : 8af54d5a3e4c35113f54b4fcc0ae05b47c0ce60a
2018-02-18 00:20:11 +05:30
Aleksandr Nazarkin
a4e920308d Bug 1428048 - Remove dead code browser/modules/CastingApps.jsm and its reference; r=florian
CastingApps.jsm was removed from browser/modules/moz.build file in bug 1393582, but
the file itself and its usage was not removed from ContextMenu.jsm

MozReview-Commit-ID: DsqJTPP66xE

--HG--
extra : rebase_source : 077167587e492cb4a8054e134e374c3e18cfdb6b
2018-03-02 11:51:45 -05:00
Andreea Pavel
1eb964c5f3 Backed out changeset 8e5b1525be69 (bug 1192927) or failing testing\firefox-ui\tests\functional\security\test_no_certificate.py TestNoCertificate.test_no_certificate on a CLOSED TREE 2018-03-02 13:51:15 +02:00
Prathiksha
30e02230c8 Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 3KUbgencO3M

--HG--
extra : rebase_source : d8cbf97c6764fd3700a7cbc6d5dc19565b97bad1
2018-02-18 00:20:11 +05:30
Ed Lee
d96c554c26 Bug 1441018 - Add snippets data, lazy menus and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: 6CilV8vrqwY

--HG--
extra : rebase_source : 438c0250cc9a96b20e94ec53a0b43eae1b02e6d5
2018-03-01 11:21:00 -08:00
Gijs Kruitbosch
8fc45f6ac9 Bug 1370930 - remove DirectoryLinksProvider, r=Mardak
MozReview-Commit-ID: 4YcsNvRg7Hn

--HG--
extra : rebase_source : 15518736c9cc52cf18a0540417e6a38c9bed630a
2018-03-01 16:53:49 +00:00
Michael Kaply
b7a354c792 Bug 1432355 - Add a policy to disable private browsing. r=Gijs
MozReview-Commit-ID: AprbL6usEv5

--HG--
extra : rebase_source : d0a9255aae8b8d038c69978cbeabbfc394ad46cd
2018-03-01 10:20:38 -06:00
Sebastian Hengst
3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Dão Gottwald
de08cb1cdb Bug 1441788 - Expose Reader View shortcut in the address bar button's tooltip. r=mikedeboer
MozReview-Commit-ID: 88p5xYUrefQ

--HG--
extra : rebase_source : 5c7d4e8067e6c570d6c04fd9758febb098768be2
2018-02-28 11:45:54 +01:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Sebastian Hengst
769222fadf merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
2018-02-28 12:54:12 +02:00
Tooru Fujisawa
98047f11df Bug 1435910 - Part 0.1: Move PlacesUIUtils.confirmOpenInTabs into new OpenInTabsUtils.jsm and add promiseConfirmOpenInTabs. r=Gijs,dao 2018-02-28 10:36:42 +09:00
Michael Kelly
3f4b1d1560 Bug 1440534 Include source code in JS error reports. r=Gijs
Along with adding source code, this updates the reported to more closely follow
the Sentry SDK docs:

- Remove the "request" payload, which is for reporting errors related to HTTP
  requests.
- Include SDK info in the payload.
- Reverse the order of stack frames; they are meant to be ordered oldest to
  newest.
- Include a local UTC timestamp in the payload.
- Remove the in_app flag from stack traces, as it's not required or useful in
  the context of Firefox.

MozReview-Commit-ID: 558KrZNah6d

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

--HG--
extra : rebase_source : 9346b4402eadffc87d3065b61fb5afd3316e0c0a
2018-02-27 11:08:38 -08:00
Brian Grinstead
97119973ca Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.

MozReview-Commit-ID: 9ojFxtkpPId

--HG--
extra : rebase_source : 971bf99f709b8d2afe300f3693665724f747aa5e
2018-02-27 11:29:59 -08:00
Andreea Pavel
d805787970 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-28 00:25:43 +02:00
Mark Banner
294979dc32 Bug 1441460 - ESLint's no-define-cc-etc looks at the wrong property item when checking for Cc/Ci/Cu/Cr usage. r=florian
MozReview-Commit-ID: IkSkCWqBHOn

--HG--
extra : rebase_source : 6b3a2977d4b157aea54c6e3f6960d3673e751a34
2018-02-23 20:42:17 +00:00
Peter Van der Beken
6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Valentin Gosu
84b854ce2c Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer
* Code in XMLHttpRequestMainThread is converted to set the username and password individually. This is because when the parameters are empty, it ended up calling SetUserPass(":") which always returns an error.

MozReview-Commit-ID: 3cK5HeyzjFE

--HG--
extra : rebase_source : f34400c11245d88648b0ae9c196637628afa9517
2018-02-26 20:43:46 +01:00
Edouard Oger
25db2f7ed6 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 706d6a9a1187e9b666074d0dd68d03eda3fb448b
2018-02-15 11:24:44 +08:00
Csoregi Natalia
c8a2d994c8 Backed out changeset 22901b9f9199 (bug 1434706) for browser-chrome failures browser_contextmenu_sendtab.js. CLOSED TREE 2018-02-26 21:16:01 +02:00
Edouard Oger
7c03ced862 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 7a19b04f9df52ff58f9837d9d45be54fd3190ec9
2018-02-15 11:24:44 +08:00
Sebastian Hengst
e6ed14057b merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : d88824ea9bbe5e0298f0d64fd0e4cdedcbee342c
2018-02-24 03:07:44 +02:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Kyle Machulis
a60dd3c3d3 Bug 1201590 - Add icon for WebMIDI Permissions; r=johannh
MozReview-Commit-ID: GLBJFHX9O3q

--HG--
extra : rebase_source : 27984538e5b4d4f7bff75ac92a3232592fe11881
2018-02-05 18:10:30 -08:00
Johann Hofmann
593a01f28c Bug 1333468 - Part 1 - Move WebRTC sharing indicator into the identity block and add a paused state. r=florian
MozReview-Commit-ID: ETi6nX2Eapc

--HG--
extra : rebase_source : cc7575236c84de23ff7e86182c81160306f096c6
2017-11-16 19:33:19 +01:00
shindli
f2126298f5 Backed out changeset 6e3058771f18 (bug 1434706) for bc6 and X failures in browser/base/content/test/general/browser_contextmenu_input.js and services/fxaccounts/tests/xpcshell/test_accounts.js respectively on a CLOSED TREE 2018-02-23 10:25:56 +02:00
Edouard Oger
1baec66b3d Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : 328093c9985c29effb1380e012c35f6da6ee667a
2018-02-15 11:24:44 +08:00
Marco Bonardo
fa2de7886f Bug 1434414 - Locking the 'sanitize on shutdown' pref causes sanitization to happen at every startup. r=johannh
MozReview-Commit-ID: 6PvRFmaZsBC

--HG--
extra : rebase_source : 9b9a670abf6037d239b3b8efd025b9341f45d820
2018-02-15 00:42:58 +01:00
Dorel Luca
6ad641c5c4 Merge mozilla-inboud to mozilla-central. a=merge 2018-02-22 11:59:54 +02:00
Michael Kelly
c471ea87e7 Bug 1437696 Reset console after BrowserErrorReporter tests. r=gijs
Because BrowserErrorReporter instances process previously-logged messages when
they are initialized, multiple runs of each test case (such as during the test
verification suite) cause new instances to process messages from the previous
test run. Resetting the console at the end of each test case prevents tests from
affecting each other.

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

MozReview-Commit-ID: HwjbbE00o97

--HG--
extra : rebase_source : 94ea69f8dbe679ff228c5c9b016f131650be1671
extra : amend_source : 5a9d0b5018d28d2dfc4782e66c732b711cb67109
2018-02-21 15:19:26 -08:00
Prathiksha
fb6210fff5 Bug 1433513 - Correctly handle new expire type (EXPIRE_POLICY) in the Site Identity panel and Page Info window. r=johannh
MozReview-Commit-ID: 7mfxnqI1C65

--HG--
extra : rebase_source : 6000e334bc43978a11a4d9de447445de2249933f
2018-02-14 00:16:53 +05:30
Adrian Wielgosik
ed00cb8c4e Bug 1440039 - Remove nsIDOMCanvasRenderingContext2D. r=qdot
MozReview-Commit-ID: GY3DdHAfQK2

--HG--
extra : rebase_source : 1fe021831984cb64cedd8c7eba486a0d29f7d66a
2018-02-21 20:49:07 +01:00
Dão Gottwald
826239dc66 Backed out changeset 29569f02015d
MozReview-Commit-ID: 6XcU3HUnEvX
2018-02-20 20:27:32 +01:00
Connor Masini
2c622ac77f Bug 1417880: Allow theming arrow panels. r=jaws, ntim 2018-02-07 00:22:22 -05:00
Masayuki Nakano
cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Prathiksha
3ef0cd25b3 Bug 1434976 - Stop setting web-extension install prompt message details dynamically. r=johannh
MozReview-Commit-ID: GfewQFsgEAa

--HG--
extra : rebase_source : 4751a6874fad38dfb0dd41d67736fdfba52e1241
2018-02-15 18:44:29 +05:30
Paolo Amadini
f5f1c89ced Bug 1437811 - Part 1 - Fix test that didn't wait for PanelMultiView events. r=Gijs
MozReview-Commit-ID: CxWMEkzGMyZ

--HG--
extra : rebase_source : c1862d866caf1808300b174c5bc75f7f3cbddbb3
2018-02-14 14:12:57 +00:00
Thomas Wisniewski
7b962d7fdd Bug 792808 - Change browser/[components|modules|experiments] to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=mconley
MozReview-Commit-ID: 66ubjdJssU9

--HG--
extra : rebase_source : 58b161234b7c94d568d368acbea5eb141a5d7ca7
2017-09-19 12:17:10 -04:00
Kyle Machulis
e4e6405a51 Bug 1201590 - WebMIDI device access permissions prompt implementation; r=baku,johannh
MozReview-Commit-ID: LxElgfdaiQs

--HG--
extra : rebase_source : 465202eccf7a514279201f71f6df2e727321f432
2017-11-15 11:13:12 -08:00
Cosmin Sabou
bfd2fc78a3 Backed out changeset a2147499c437 (bug 1434706) for frequent mochitest browser chrome failures on browser_contextmenu_sendpage.js 2018-02-23 22:15:08 +02:00
Edouard Oger
6e2641372c Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s

--HG--
extra : rebase_source : d5f7b31627424b652147674a520ae75571203994
2018-02-15 11:24:44 +08:00
Brian Grinstead
1477c8b486 Bug 1438579 - Refer to the tabbrowser element as gBrowser instead of #content;r=dao
Since gBrowser is going to become a plain JS object instead of a DOM node,
we don't want any callers directly referring to the DOM node to get ahold of it.

MozReview-Commit-ID: KbE5dlTWmS

--HG--
extra : rebase_source : ef4caea778db406205b58b9f007846dabb062978
2017-10-05 15:58:45 -07:00
Jared Wein
b433816cb9 Bug 1436575 - Clean up some of the autofix changes from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 7Q8YBxEzbHr

--HG--
extra : rebase_source : 577a056f83ba6af6e92e0f2417ab202baa3047a9
2018-02-08 13:15:26 -05:00
Jared Wein
c8d331f4c9 Bug 1436575 - Autofix errors from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 66sXxnOWDgw

--HG--
extra : rebase_source : a0bf26e37a03a1e77476bdeedfc1af3ebec32f2a
2018-02-08 12:57:31 -05:00
Ed Lee
d18f00ce9b Bug 1433324 - Part 1. Assume true for browser.newtabpage.activity-stream.aboutHome.enabled. r=ursula
MozReview-Commit-ID: KOSX1qNBna8

--HG--
extra : rebase_source : ad794ec6689df2f25fd7c053dc1963568036739b
2018-02-13 14:48:49 -08:00
Andreea Pavel
74b7ffee40 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : js/src/jscompartment.cpp => js/src/vm/JSCompartment.cpp
rename : js/src/jscompartment.h => js/src/vm/JSCompartment.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : amend_source : 9c233cb959c45e401189d089a094f9d141d2b912
2018-02-15 12:24:21 +02:00
Richard Marti
2eb1d7963c Bug 1436100 - Let the apps use their own ThemeVariableMap.jsm constant. r=gijs 2018-02-12 18:24:27 +01:00
Prathiksha
b28f3f4deb Bug 1431242 - Use popupnotification's built-in bolding for webextension prompts. r=aswan,johannh
MozReview-Commit-ID: 52AtWUlJj4p

--HG--
extra : rebase_source : deb657d44fb1306a49d2c38cc3632928b49ab6e8
2018-01-19 23:34:25 +05:30
Michael Kelly
2fb5002bb1 Bug 1426482 Report browser errors in Nightly to Mozilla. r=gijs
Errors are collected via nsIConsoleService, shaped to a Sentry-compatible
format, and sent off. Reporting is on by default, and can be disabled using a
checkbox added to the privacy prefs in about:preferences.

Collected errors are sampled to avoid overloading the collection service; the
sample rate was determined by a previous Shield study that measured the number
of errors occurring in Nightly.

The feature is hard-disabled outside of Nightly and local builds, and the
preference is disabled by default in local builds. It is intended as a prototype
that will be evaluated and replaced by a more robust collection system if it
proves helpful.

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

MozReview-Commit-ID: 6aqUatXyuYs

--HG--
extra : rebase_source : 574aa329069f80e0beb52d1fd15f43e65a548c5c
extra : amend_source : a817fa4691c520eafaef808531b10581d09aeb14
2018-02-12 10:59:47 -08:00
Paolo Amadini
ce5011416f Bug 1434883 - Part 1 - Fix tests for the activated page action panel. r=Gijs
The promisePanelEvent function was unreliable because it did not raise an error if the provided panel did not exist, which caused one of the callers to ignore a missing panel silently. All the callers have now been updated based on whether they expect the panel to exist or not.

MozReview-Commit-ID: AGT4rHls4OB

--HG--
extra : source : 0857964174624b1cf3d4ea3ffa94ba21b090788a
extra : intermediate-source : 29972a52d5c4829eb7fd662792836c934b1d11d8
2018-02-04 16:32:20 +00:00
Nathan Watson
1605552221 Bug 1434262 - Remove PlacesTestUtils.clearHistory() r=mak
MozReview-Commit-ID: In2RaM0LBsc

--HG--
extra : rebase_source : 0cb5dc65a53bfa384b93fb2a8c2af67ad9d3fe1c
2018-01-31 22:03:05 -08:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Cosmin Sabou
793dad7903 Backed out 3 changesets (bug 1434883) for frequent leaks in AbstractThread, AnimationTimeline, Annotators, Array, AsyncFreeSnowWhite, ... on a CLOSED TREE
Backed out changeset c8115e90ffa8 (bug 1434883)
Backed out changeset 22c83b1d417d (bug 1434883)
Backed out changeset 085796417462 (bug 1434883)
2018-02-06 16:30:56 +02:00
Paolo Amadini
c8f76a4aa0 Bug 1427350 - Part 1 - Use "autocomplete-rich-result-popup" instead of "autocomplete-result-popup" for the search bar. r=mak
MozReview-Commit-ID: AO926Wmhkbm

--HG--
extra : source : c16a5935dcadd320f54f5989d9f93f8710444b29
2018-02-04 15:00:48 +00:00
Paolo Amadini
815f92794b Bug 1434883 - Part 1 - Fix tests for the activated page action panel. r=Gijs
The promisePanelEvent function was unreliable because it did not raise an error if the provided panel did not exist, which caused one of the callers to ignore a missing panel silently. All the callers have now been updated based on whether they expect the panel to exist or not.

MozReview-Commit-ID: AGT4rHls4OB

--HG--
extra : rebase_source : f95967444ffbd2bbdc99560104845af31b71e94b
2018-02-04 16:32:20 +00:00
Johann Hofmann
ce118716a5 Bug 1167238 - Part 2 - Convert sanitize.js to a module. r=mak
MozReview-Commit-ID: IWu7Dg61Vv4

--HG--
rename : browser/base/content/sanitize.js => browser/modules/Sanitizer.jsm
extra : rebase_source : 63b0f274f8e84e4003edb61f2dace78981884048
2018-01-18 15:58:03 +01:00
Johann Hofmann
4ebafede98 Bug 1167238 - Part 1 - Remove Sanitizer.jsm shim. r=mak
MozReview-Commit-ID: I7l9M3sC4pD

--HG--
extra : rebase_source : f2db143467752b3ff0c6eaf05a1991c064470a20
2018-01-17 11:29:06 +01:00
Mark Banner
3cdde49426 Bug 1421379 - Finish enabling ESLint's mozilla/use-services in browser/. r=mossop
MozReview-Commit-ID: HHhik24haPT

--HG--
extra : rebase_source : 31f44525daf8998bc4eb08ba3b87f473e980581e
2018-02-01 10:48:00 +00:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
hemant
64d45d0cb9 Bug 1417937 - Remove unnecessary LoadContextInfo.jsm r=standard8
MozReview-Commit-ID: EnY0uKD4UD1

--HG--
extra : rebase_source : c968b273a8a05fb211e0fb1e1601ac1b968ca045
2018-01-31 23:16:46 +05:30
Andreea Pavel
d652648d08 Merge mozilla-central to autoland a=merge on a CLOSED TREE
--HG--
rename : dom/media/webrtc/MediaEngine.h => dom/media/webrtc/MediaEnginePrefs.h
extra : rebase_source : 661454de54cac8d23010da02d0c0d68c1856500d
2018-01-31 19:39:52 +02:00
Andreea Pavel
f41017f5cd Merge inbound to mozilla-central. a=merge 2018-01-31 19:38:21 +02:00
Mark Banner
b9f306bb12 Bug 1434449 - Removed some unused code in jsm files in browser/base and browser/modules. r=florian
MozReview-Commit-ID: 9VhKxnpdzCD

--HG--
extra : rebase_source : ecc1f9196a5fb22cf78c51ead89f84e154c5198f
2018-01-30 22:09:02 +00:00
Jared Wein
5e27786fea Bug 1433735 - Cancel the TelemetryStopwatch when we stop monitoring a window for schedule pressure. r=mconley
MozReview-Commit-ID: HjlYc73Mzpa

--HG--
extra : rebase_source : 5f1f90c781e194c062fe6118f1c0cc0095511b0c
2018-01-31 11:08:35 -05:00
arthur.iakab
c4dd80eca3 Merge mozilla-central to autoland 2018-01-31 00:41:58 +02:00
Gijs Kruitbosch
1c557b83fe Bug 1420714 - fix favicon fetching in reader mode, r=mak
MozReview-Commit-ID: KZFoKNqVPPy

--HG--
extra : rebase_source : 802b0140f3069013130d042167c7f08d615730b7
2018-01-30 15:13:23 +00:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Kris Maglione
952665bf09 Bug 1433708: Part 2 - Fix ExtensionsUI innerHTML sanitization. r=aswan
MozReview-Commit-ID: B8Lzqx56fBi

--HG--
extra : rebase_source : 8a871ba1151cad23ae1d5bf80c118935443d8a96
2018-01-26 11:06:35 -08:00
Kris Maglione
fc5153a0b5 Bug 1433708: Part 1 - Fix WebRTC innerHTML sanitization. r=mconley
MozReview-Commit-ID: JOkIXajO13O

--HG--
extra : rebase_source : 52f526f8c8eab86c8ff818f32b27aa5fd9172fc3
2018-01-26 10:57:47 -08:00
Gijs Kruitbosch
d9872d9e13 Bug 1345081 - update use of spellchecker 'editable' flags, r=zombie
MozReview-Commit-ID: Hxgc0UuIOPj

--HG--
extra : rebase_source : 3d10e802f50ba3e342591dbe86a37fa10b74ee1f
2018-01-12 18:51:41 +00:00
Andreas Pehrson
09f130fe44 Bug 1299515 - Wire up track-disabling logic to frontend APIs. r=jib, r=johannh
This modifies mediaCaptureWindowState() to say whether a camera or microphone is
actively captured or not. Note that this is not the same as the device being
on or off. If we disallow a device from being off while disabled, we still
notify chrome that we're not actively capturing.

MozReview-Commit-ID: B1taormqc3j

--HG--
extra : rebase_source : 292d323c4b9711cc242170f5c5c139bb87658c44
2017-11-17 20:13:06 +01:00
Andreea Pavel
1e5f9a6650 Backed out changeset 5421387a997d (bug 1345081)for failing browser chrome browser/components/extensions/test/browser/browser_ext_menus_events.js on a CLOSED TREE 2018-01-26 17:23:27 +02:00
Gijs Kruitbosch
625c300198 Bug 1345081 - update use of spellchecker 'editable' flags, r=zombie
MozReview-Commit-ID: Hxgc0UuIOPj

--HG--
extra : rebase_source : 5a72fb58f7c610e0906db9a283a8b136c840a07a
2018-01-12 18:51:41 +00:00
shindli
5468b5b6a3 Backed out changeset bf20a59521ad (bug 1436100) per developers request on a CLOSED TREE 2018-02-13 13:47:08 +02:00
Richard Marti
547711573c Bug 1436100 - Let the apps use their own ThemeVariableMap.jsm constant. r=gijs 2018-02-12 18:24:27 +01:00
Johann Hofmann
33cdb5ab49 Bug 1345077 - Part 2 - Add telemetry on permission requests from third party origins, handling user input and insecure contexts. r=florian,liuche
MozReview-Commit-ID: 4ARIxa6gwCg

--HG--
extra : rebase_source : 52935b560f771214a3e47aa9d27ca90d25077718
2018-01-10 21:07:59 +01:00
Boris Zbarsky
9ee8c16efe Bug 1431774 part 1. Remove a bunch of unnecessary QIs to nsIImageLoadingContent in JS. r=mystor
These are all no-ops because the objects involved are already implementing one of the WebIDL interfaces that pulls in MozImageLoadingContent, and that's all script gets to see.

MozReview-Commit-ID: Io2mLHbv7qM
2018-01-19 14:19:39 -05:00
Gijs Kruitbosch
f8a2d60a78 Bug 1430507 - pass something that's always serializable for SVG elements and the context menu, r=nhnt11
MozReview-Commit-ID: KUDsCdzAM4D

--HG--
extra : rebase_source : 64f6897bea2324e71407094bda75a1f50501e495
2018-01-15 09:45:50 +00:00
Prathiksha
213a61bd9b Bug 1369482 - Make hostnames in permission prompts much more prominent. r=johannh
MozReview-Commit-ID: 89m2QVzj8DG

--HG--
extra : rebase_source : 008b55bdc41feddd312f41d0e63bb86262ccd658
2017-12-14 21:00:28 +05:30
James Teh
5eb8d03cc5 Bug 1425541: Expose reader mode state on the browser accessible using a "reader" object attribute. r=eeejay,Gijs
This makes it easy for accessibility clients to retrieve the reader mode state programmatically.

There are three possibilities:
1. Reader mode is available for the current page (reader:available).
2. Reader mode is being used now (reader:active).
3. Reader is not available (the reader attribute is not present).

We do this by setting/removing the aria-reader attribute on the node.
This is not a real ARIA attribute, but it causes Gecko to expose it as an object attribute.

MozReview-Commit-ID: B38G3AYyBnS

--HG--
extra : rebase_source : 9c66389037c34a6a433af514bc81ed4ee040bfe0
2017-12-15 14:47:01 -06:00
Dorel Luca
e50f082eb3 Backed out changeset 196006c746bd (bug 1425541) for failing Mochitest on intl/l10n/test/dom/test_domloc_overlay.html on a CLOSED TREE
--HG--
extra : amend_source : dc8797c9ac74f89bfd38a4886497fd44e8a6d116
2018-01-16 03:11:38 +02:00
James Teh
19e0b360a1 Bug 1425541: Expose reader mode state on the browser accessible using a "reader" object attribute. r=eeejay,Gijs
This makes it easy for accessibility clients to retrieve the reader mode state programmatically.

There are three possibilities:
1. Reader mode is available for the current page (reader:available).
2. Reader mode is being used now (reader:active).
3. Reader is not available (the reader attribute is not present).

We do this by setting/removing the aria-reader attribute on the node.
This is not a real ARIA attribute, but it causes Gecko to expose it as an object attribute.

MozReview-Commit-ID: B38G3AYyBnS

--HG--
extra : rebase_source : 9c66389037c34a6a433af514bc81ed4ee040bfe0
2017-12-15 14:47:01 -06:00
Ed Lee
9712b719c4 Bug 1430272 - Add preloaded updating, whitelisted regions and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: 6wWmVoXCQO5

--HG--
extra : rebase_source : 8229ec0f7934a2d36dae2a8c1f986b1b408e1786
2018-01-12 14:12:57 -08:00
Gijs Kruitbosch
a56bd43ead Bug 1429709 - make relative SVG links absolute, r=jaws
MozReview-Commit-ID: 9kSdFbpPx32

--HG--
extra : rebase_source : bbdfa2d8d404da0d37de27903888b49643dad69c
2018-01-12 00:19:12 +00:00
Ciure Andrei
f7400ad72e Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00
Cameron McCormack
afa1299635 Bug 1427419 - Part 24: Move pseudo-class lock methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: ItruGMmf5Ih
2018-01-11 12:38:01 +08:00
Doug Thayer
b3eef35a05 Bug 1421703 - replace onVisit with onVisits r=mak
There's a heavy enough overhead to going through XPConnect for
every observer for every visit on the nsINavHistoryObserver
interface, so this patch reduces that by replacing the single-
visit notification with one which accepts an array of visits.

Some notes: To avoid problems with the orderings of the various
ways in which we notify about visits, we have to send our bulk
onVisits notification before doing any of the others. This does
mean it technically behaves slightly different than the prior
approach of interleaving the notifications, but I can't find any
way in which this has any consequences to the end result, and it
doesn't break any tests.

MozReview-Commit-ID: GdeooH8mCkg

--HG--
extra : rebase_source : 48b5f886c4650a756e70f4657cb9d62c8ce40f74
2017-12-20 14:27:24 -08:00
Andreea Pavel
78bc55ae1f Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Mike Conley
4d6ed7eb15 Bug 1424373 - Rename crash report submission pref. r=Mossop
--HG--
extra : rebase_source : 14cfcee27cefc13911aee2c0663c74f3e9101275
extra : amend_source : bb12f2b78b2c43ef79957d700167a2fea80d0188
2017-12-21 16:36:13 -05:00
Chung-Sheng Fu
cae5668a08 Bug 1413780 - Change permission name from canvas/extractData to canvas. r=johannh
MozReview-Commit-ID: 40mesFLeRWU

--HG--
extra : rebase_source : d6dcab54875a8a557a75d63f25fc1b7844f54d21
2017-12-14 15:59:57 -06:00
Chung-Sheng Fu
740ea4eb87 Bug 1413780 - Add a test for canvas permission to test_SitePermissions.js r=johannh
MozReview-Commit-ID: 6ZS1a9nkZfQ

--HG--
extra : rebase_source : cf68830cf5c5816e0487a14aacfa04c3e8eafa47
2017-12-14 11:42:17 -06:00
Chung-Sheng Fu
7d08dc0229 Bug 1413780 - Hide canvas permission from site information panel when privacy.resistFingerprinting is false. r=johannh
MozReview-Commit-ID: JlCICwM4dVA

--HG--
extra : rebase_source : a63798968be1c5a55ee9d4b38d3b835b506d7849
2017-11-22 17:42:35 +08:00
Chung-Sheng Fu
c2e8601746 Bug 1413780 - Make canvas permission visible in site information panel. r=johannh
MozReview-Commit-ID: 1SmF9ZLkLmw

--HG--
extra : rebase_source : a472d3db28179f1e4400e73073475c3007afb80f
2017-10-31 16:56:36 +08:00
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Florian Quèze
1158645bdd Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Jonathan Kingston
2cb1afc933 Bug 1420622 - Remove feed and pcast protocols. r=Gijs
MozReview-Commit-ID: KAC9MmLiuBG

--HG--
extra : rebase_source : 076fc5a6acc75362ceffee1b5150e1598af41673
2017-12-19 16:12:29 +00:00
Mike Conley
b27c33fa9d Bug 1424373 - Don't set crash reporting prefs when showing about:tabcrashed for a crash without a report. r=Mossop
--HG--
extra : rebase_source : 3330154807a268c5cc85bfbf19c64f3a790d4aee
2017-12-18 11:19:53 -05:00
Masatoshi Kimura
295faed3f9 Bug 1418914 - Move E10SUtils.jsm into toolkit/. r=mossop
MozReview-Commit-ID: EgDzEEKAeh1

--HG--
rename : browser/modules/E10SUtils.jsm => toolkit/modules/E10SUtils.jsm
extra : rebase_source : 0920ce818773af797a0daf3cf4ae90af41d71d2a
2017-12-12 21:35:16 +09:00
Bill McCloskey
9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Bogdan Tara
8e9610529d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-07 13:02:03 +02:00
Andreea Pavel
89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
bef7c122df Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
eb65c24c7b Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Ryan VanderMeulen
d945b2a059 Bug 1423667 - Disable some tests that fail on Windows Code Coverage builds with clang-cl r317840. rs=marco
--HG--
extra : histedit_source : d2f4b4d59301469c4cabb7198f0f98c5247eab84
2017-12-06 20:40:46 -05:00
Gijs Kruitbosch
fede8c406c Bug 1396565, make reader mode fetch the article from within the content process on desktop, r=jaws
MozReview-Commit-ID: 11uTaQYwz2Y

--HG--
extra : rebase_source : 211b23a9f1e56e8573ef68062ad6135a0ce70775
2017-11-14 16:53:55 +00:00
Dorel Luca
1208bc03a7 Merge mozilla-central to autoland r=merge on a CLOSED TREE
--HG--
extra : rebase_source : 5f22b0e83fd5f1b28e0c1ebbcc429c332835eb36
2017-12-07 00:27:29 +02:00
Edouard Oger
7fabe73930 Bug 1422106 - Show broken heart when unverified in synced tabs sidebar/panel. r=markh
MozReview-Commit-ID: BDTdmcIOHmn

--HG--
extra : rebase_source : c2b534461715f8db1e6cb8bc7910311cc4ff6611
2017-11-30 16:01:40 -05:00
Johann Hofmann
15353262e8 Bug 1366357 - Use origin instead of documentURI for WebRTC permission requests. r=florian
MozReview-Commit-ID: IkccA65Ma3a

--HG--
extra : rebase_source : 9c1f2c895949b1dae617b0c2a1039a5494cd8b2a
2017-06-13 12:10:39 +02:00
Brindusan Cristian
2a280abe08 Backed out changeset c6d592ebf8cd (bug 1366357) for browser-chrome failure in browser_displayURI.js on Windows 7 debug non-e10s a=backout r=backout on a CLOSED TREE 2017-12-05 23:50:31 +02:00
Johann Hofmann
807339d354 Bug 1366357 - Use origin instead of documentURI for WebRTC permission requests. r=florian
MozReview-Commit-ID: IkccA65Ma3a

--HG--
extra : rebase_source : 9fbf622f5e3428f9fbfda6f986fcdca814caa181
2017-06-13 12:10:39 +02:00
Ed Lee
fa67d26a4d Bug 1422289 - ContentLinkHandler should guess icon type from the extension when type is not defined. r=mak
MozReview-Commit-ID: HfuqudW77jM

--HG--
extra : rebase_source : bd05319fa3dd8970e1d1e91d8ddcc831f77a1cd4
2017-12-01 14:11:08 -08:00
Jessica Jong
171f326899 Bug 1418020: No need to hide form validation popoup onLocationChange. r=Felipe
We already hide the popup when element blurs, which is fired when navigating to
another page.

MozReview-Commit-ID: 5GvlX1CiOQL
2017-12-04 14:15:28 +08:00
Bogdan Tara
d8635b15e4 Merge inbound to mozilla-central r=merge a=merge on a CLOSED TREE 2017-11-30 00:41:09 +02:00
Tooru Fujisawa
7934bad6c5 Bug 1421028 - Wait for stable state before starting in browser/modules/test/browser/browser_urlBar_zoom.js. r=Mossop 2017-11-29 19:59:45 +09:00
Mark Banner
f99ae4c2a9 Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2

--HG--
extra : rebase_source : f71e053e18017d675d4ea4d758e2552adcf5adc6
2017-11-28 19:21:33 +00:00
Edouard Oger
c5d46f4966 Bug 1417520 p1 - Show message to unverified users in synced tabs sidebar. r=markh
MozReview-Commit-ID: KYlbWLg2Kj0

--HG--
extra : rebase_source : efff1dfda3a0e4134e08501848bc66f674aa292d
2017-11-16 15:29:23 -05:00
Ursula Sarracini
2914237734 Bug 1420049. r=Gijs 2017-11-27 10:40:01 -05:00
Andrea Marchesini
2ef23c7ade Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 4 - ImageBitmap must use imgITools::decodeImageBuffer, r=aosmond 2017-11-27 17:05:57 +01:00
Samael Wang
bb968e4fcd Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : 5a1cc56554d1429f3c5af1c8cecaa1d72471ed21
2017-11-14 19:19:27 +08:00
Noemi Erli
e90c67896c Backed out 3 changesets (bug 1406253)for build bustage in dom/base/nsCopySupport.cpp r=backout on a CLOSED TREE
Backed out changeset 284f3cc2880c (bug 1406253)
Backed out changeset aecb3d509a39 (bug 1406253)
Backed out changeset 9ce01198e8a1 (bug 1406253)
2017-11-20 13:34:29 +02:00
Samael Wang
ef3c08ceb1 Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : b88ccf98bc2a41aac007d79060424eaa2c2aca88
2017-11-14 19:19:27 +08:00
Dan Banner
b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Jared Wein
d2e8741f6d Bug 1410900 - Allow using shift-click on the Reload Frame context menuitem to skip the cache when reloading the frame. r=johannh
This patch uses the same logic as BrowserReloadOrDuplicate to determine if the cache should be skipped. I didn't extract out the logic to a separate function because I didn't want to add another function to the global namespace of browser.js.

MozReview-Commit-ID: 15kztsqMnAM

--HG--
extra : rebase_source : d5ad3ee62062d5971c95281368a102298e367e59
2017-10-26 19:42:18 -04:00
Drew Willcoxon
5f90902bda Bug 1417272 - The "Send Tab to Device" page action can be disabled in the page action menu but enabled in the urlbar. r=Gijs
MozReview-Commit-ID: BZ4CAqG0kkH

--HG--
extra : rebase_source : 3aaa7601b9f3f11e84d65788378c0fdb1dac9292
2017-11-15 11:25:45 -08:00
Drew Willcoxon
65176851c3 Bug 1417036 - "Save to Pocket" drop down menu glitches. r=Gijs
MozReview-Commit-ID: 1JPOmQNLn26

--HG--
extra : rebase_source : ec596c222caa916b02897cbbd36f4a9ae614e518
2017-11-15 10:44:47 -08:00
Valentin Gosu
a77a5282f4 Bug 1416343 - Mark URI interfaces as [builtinclass] r=bagder
MozReview-Commit-ID: 4T0uCkHP1a6

--HG--
extra : rebase_source : fa720f35df16985bcd929a98aeeaf9fbc759c1e6
2017-11-15 13:34:23 +01:00
Margareta Eliza Balazs
3edf7872fb Backed out changeset cfe4b1e6be9b (bug 1416343) for ESlint failing in modules/test/browser/browser_SitePermissions_tab_urls.js:38:14 r=backout on a CLOSED TREE 2017-11-15 13:46:07 +02:00
Dão Gottwald
555d47bbb5 Bug 1215335 - Remove unused notification-inner container. r=bgrins
MozReview-Commit-ID: C9kKRpD3AzU

--HG--
extra : rebase_source : 7f3dde91b73084783c63733f0c823ec0e7e80b90
2017-11-15 11:36:22 +01:00
Valentin Gosu
ba207f8c8c Bug 1416343 - Mark URI interfaces as [builtinclass] r=bagder
MozReview-Commit-ID: 4T0uCkHP1a6

--HG--
extra : rebase_source : 89c283360bc0b30aad34641b4cdce8f5c49615b3
2017-11-13 20:18:46 +01:00
Gijs Kruitbosch
8c1b02e3d4 Bug 1388029 - remove the remaining uses of AREA_PANEL, r=jaws
MozReview-Commit-ID: L017kRfHfOv

--HG--
extra : rebase_source : c9dcbb76d787281ac2dcf18c59786205aeaacaf9
2017-11-07 12:15:18 +00:00
Felipe Gomes
d7719e4ea7 Bug 1415978 - Change 'Activate Adobe Flash' to 'Run Adobe Flash' in the overlay UI. r=dthayer
MozReview-Commit-ID: JlHXRLl3DbY

--HG--
extra : rebase_source : 5ed47dffab714e4688b5d9eaa1f81a81f3ba360e
2017-11-09 18:27:49 -02:00
Felipe Gomes
20db5d5395 Bug 1409148 - Add dynamic sizing on the plugin overlay. r=dthayer,johannh
MozReview-Commit-ID: 9cxCs9GeJY8

--HG--
extra : rebase_source : 01058d3f077244826a30e9ab2c1a9ecd490c9efe
2017-11-10 14:05:04 -02:00
Drew Willcoxon
46c5139ac2 Bug 1413574 - Hide disabled page actions and offer a "Manage Extension" command for actions in extensions. r=Gijs
MozReview-Commit-ID: HJpu9Jfi2bB

--HG--
extra : rebase_source : ee219138b8df1744c223d81281d9525c3d7b7227
2017-11-10 11:06:02 -05:00
Neil Deakin
ee8929c13f Bug 380637, add site-specific permissions to prevent pages from overriding keyboard shortcuts. This is done by preventing the key combination from being sent to the content page, r=felipe
Users can block the overriding of shortcuts using the permissions tab of the page info dialog, as with other permissions. Site permissions also allows the use of permissions.default.shortcuts to block overriding shortcuts for all sites.
2017-11-09 18:42:39 -05:00
Drew Willcoxon
e42d94c099 Bug 1413692 - Extensions page actions are pinned to address bar again and again. r=mixedpuppy
MozReview-Commit-ID: HrhYTNSwygH

--HG--
extra : rebase_source : e67932403b4294902c5096883cb5be6759969d69
2017-11-06 21:19:26 -05:00
Sebastian Hengst
af670f4147 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-07 02:47:30 +02:00
Myk Melez
e7777b5ded Bug 1414386 - ensure BrowserUsageTelemetry is inited before uniniting it; r=mak 2017-11-06 10:43:25 -08:00
Marco Bonardo
d02470df30 Bug 1403829 - Prefer fetching properly sized favicons from pages. r=Mardak
MozReview-Commit-ID: CzMHWzsGuRo

--HG--
extra : rebase_source : a2473653d45c280448a598dfe131067948cce8bc
2017-11-03 12:07:16 +01:00
Phil Ringnalda
54c283afaf Bug 1413092 followup, redisable browser_validation_iframe.js, it's not quite ready yet
MozReview-Commit-ID: 9myhmqRjXVf
2017-10-31 22:22:00 -07:00
Matthew Noorenberghe
67d4b55c85 Bug 1413092 - Cleanup and move formValidation b-c tests. r=Felipe
MozReview-Commit-ID: 9lVE2ulrtV7

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
extra : rebase_source : b2109c88d799d3592f4425bc216aff20a8409c39
2017-10-31 21:18:07 -07:00
Phil Ringnalda
9ac65f67a4 Backed out changeset fdebe274e971 (bug 1413092) for failures in test_mozbuild_reading.py
CLOSED TREE

MozReview-Commit-ID: JA9UPvYmWMF

--HG--
rename : browser/modules/test/browser/formValidation/browser_form_validation.js => browser/base/content/test/general/browser_bug561636.js
rename : browser/modules/test/browser/formValidation/browser_validation_iframe.js => browser/base/content/test/general/browser_bug595507.js
rename : browser/modules/test/browser/formValidation/browser_validation_invisible.js => browser/modules/test/browser/browser_bug1319078.js
2017-10-31 20:27:48 -07:00
Matthew Noorenberghe
f610ae3d0d Bug 1413092 - Cleanup and move formValidation b-c tests. r=Felipe
MozReview-Commit-ID: 9lVE2ulrtV7

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
extra : rebase_source : 0883eee8c6cea0c1e9d4462ecbee50994bd7d7be
2017-10-30 22:12:35 -07:00
Doug Thayer
f55615a8df Bug 1398972 - Replace usage of plugin doorhanger XBL binding r=Felipe
Migrated to simply use PopupNotifications.jsm. Additionally, this
changes the behavior to always have two buttons and a remember
checkbox. When selecting allow with remember, it will behave like
the always allow option previously, but when selecting block with
remember, it will move that page into a quiet mode with respect
to Flash - i.e., no plugin overlays will show anymore, and instead
you will just see the plugin icon in the URL bar, which you can
continue to interact with as before.

MozReview-Commit-ID: EUFlI7nM09t

--HG--
extra : rebase_source : 4f6fdaa602ea6c398cc646ba98282ee5c154956e
2017-10-31 11:40:04 -07:00
Sebastian Hengst
6979ea37b4 merge mozilla-central to autoland. r=merge a=merge 2017-10-30 23:58:16 +01:00
Sebastian Hengst
f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Chris H-C
75fc345254 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.
reftests should have unified telemetry on. It's the future.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-30 10:47:39 -04:00
Drew Willcoxon
e487a36e83 Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: Photon page actions changes part 2, purge cache on shutdown. r=mikedeboer
MozReview-Commit-ID: LEMywaJu8xM

--HG--
extra : rebase_source : 965816bef4ae5708eb088416bb5de923493974fc
2017-10-27 17:39:47 -04:00
Drew Willcoxon
6d7492ef9b Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: Photon page actions changes. r=Gijs
MozReview-Commit-ID: 5NOc9N2idRE

--HG--
extra : rebase_source : 17e91f9b85bfb49d6fdf29c25bfba7a7c4f86452
2017-10-27 17:39:38 -04:00
Drew Willcoxon
13280ee095 Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: Photon page action changes. r=jaws
MozReview-Commit-ID: BOEhQEJbUNO

--HG--
extra : rebase_source : ff88d19669530269486d3441fe9cbebe6c73090b
2017-10-30 17:47:54 -04:00
Phil Ringnalda
4bc2b1615d Backed out 4 changesets (bug 1408433, bug 1406391, bug 1408512) for crashing tests by touching the network contacting incoming.telemetry.mozilla.org on nightly builds
Backed out changeset 9bfd4b0927dc (bug 1408433)
Backed out changeset 555850d5107e (bug 1408512)
Backed out changeset 15d959b9123e (bug 1406391)
Backed out changeset e1f34ba9cecc (bug 1406391)

MozReview-Commit-ID: BVoGRsD73Hf
2017-10-27 21:08:27 -07:00
Chris H-C
8e6dd31d55 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-27 10:59:43 -04:00
Jared Wein
d6b4704310 Bug 1406414 - Switch to an APNG loading indicator when the browser is under schedule pressure. r=francois,mconley
MozReview-Commit-ID: 13KnlI9QcvU

--HG--
extra : rebase_source : 04ec34551ca8d0c2b4566c069ddf9202673bd3d2
2017-09-21 16:10:49 -04:00
Prathiksha
e177125c34 Bug 1334411 - Remove the UI for indexedDB in Permissions section of PageInfo and the identity block. r=johannh
MozReview-Commit-ID: 4Q9H1Aq4O2B

--HG--
extra : rebase_source : ef9673e637972a024c30eea77e5b51b39b6310d5
2017-10-04 19:59:19 +05:30