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

46670 Коммитов

Автор SHA1 Сообщение Дата
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
Ciure Andrei e22cfebd57 Backed out changeset 30b928272f74 (bug 1373640) for failures on xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dns.js a=backout
--HG--
extra : rebase_source : 7d4c01ede92b8fb4c67944ed8c2a52d642dbe07a
2018-02-28 06:44:03 +02:00
Ciure Andrei 7e72dc58ce Backed out 2 changesets (bug 1436680) for bustages on /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/Telemetry.h. a=backout on a CLOSED TREE
Backed out changeset 66fb8813478c (bug 1436680)
Backed out changeset 4258b9e2ebfc (bug 1436680)
2018-02-28 05:56:00 +02:00
Nicholas Nethercote f76d17db0f Bug 529808 - Remove the static atom table. r=froydnj
Various atom-related things have improved recently.

- The main atom table is now threadsafe (bug 1275755) and so can be accessed on
  any thread. It has also been split into pieces (bug 1440824), which greatly
  reduces lock contention.

- A cache has been added to the HTML5 parser (bug 1352874) that removes the
  need for most of the full table lookups.

As a result, there is no point having a separate static atom table. This patch
removes it.

MozReview-Commit-ID: 8ou1BrnPAwd

--HG--
extra : rebase_source : 0c6ab073b1a20b703705582d28731a68456741e1
2018-02-28 07:34:12 +11:00
Eitan Isaacson 62a63c5ea6 Bug 1437332 - Stop narration on unload. r=Gijs 2018-02-26 16:08:00 +02:00
Jeremy Lempereur 9c6c1ed9e2 Bug 1436680 - Allow non-templated uses of AutoCounter. r=Dexter
In order to stay consistent with the AutoTimer api, allowed non-templates uses or AutoCounter.

MozReview-Commit-ID: 9qnAeQTIY9T

--HG--
extra : rebase_source : 8c95992e2d291d628721febbc7b641b91c850288
2018-02-13 19:08:34 +01:00
Jeremy Lempereur fabf9a4e7b Bug 1436680 - Allow non-templated uses of AutoTimer. r=Dexter,janv
Moved the runtime Telemetry::AutoTimer implementation to the Telemetry public API.

MozReview-Commit-ID: KNT6toDQUtR

--HG--
extra : rebase_source : 8d40759f616511f0a3a19d42c8105e6278bf7e2a
2018-02-13 15:23:09 +01:00
Shane Caraveo c3a0802f37 Bug 1373640 implement async dns resolve api for webextensions, r=kmag
MozReview-Commit-ID: Bzfr2x6Vmx2

--HG--
extra : rebase_source : cfde60f191c470e483a95b7e668a7ac9e5ba5af3
2018-02-27 19:35:01 -06:00
Aaron Klotz d8f2b1d3a8 Bug 1437156: Fix moz.build corruption from bad auto conflict resolution; r=bustage 2018-02-27 18:05:53 -07:00
Aaron Klotz 3fcabeb371 Bug 1437156: Clean up minidump-analyzer use of unicode on Windows; r=ted
--HG--
extra : rebase_source : 2908d508c10b02e461a27074f2816e1105381cdd
2018-02-09 13:45:51 -07:00
Dhi Aurrahman 0a1b041da5 Bug 1427766 - Add a c++ test for GetHistogramName r=chutten
--HG--
extra : rebase_source : 8a8194897dede44f1ddd235863a47f6a540661d4
2018-02-27 05:29:26 +07:00
Jorg K 13e0a25837 Bug 1439021 - Check for browser in loadFrameScript() to support Thunderbird. r=jryans
--HG--
extra : rebase_source : 01621eb1e8c572ca9c0872df37a70d4e08d7d47f
2018-02-27 03:26:00 +02:00
Andreea Pavel 31d536ed63 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-02-28 00:26:54 +02:00
Andreea Pavel fa0861e443 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-02-28 00:24:02 +02:00
Andreea Pavel df3598e571 Merge autoland to mozilla-central. a=merge on a CLOSED TREE 2018-02-28 00:13:28 +02:00
Sebastian Hengst 7cb1beb438 Backed out changeset 855eb2e4c43d (bug 1434666) for bricking installation on Ubuntu 14.04 (bug 1441449). a=backout CLOSED TREE 2018-02-27 23:47:00 +02:00
arthur.iakab 9bffb6aa72 Merge inbound to mozilla-central. a=merge 2018-02-27 11:58:55 +02:00
Valentin Gosu ed218f0a19 Bug 1433958 - Change code that sets nsIURI.scheme to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: GgyIkZSG2y3

--HG--
extra : rebase_source : 5398a29d8cb910c909ed88e1a6cbd9fd63e6b745
2018-02-26 20:43:47 +01:00
Valentin Gosu ec9082b60a Bug 1433958 - Change code that sets nsIURI.query to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: JKW8IsaFY10

--HG--
extra : rebase_source : 45ffa07c34739adf4de681fec1370645b0f74985
2018-02-26 20:43:46 +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
Valentin Gosu 710c2e2fc9 Bug 1433958 - Change code that sets nsIURI.filePath to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: GYHpakKPEbe

--HG--
extra : rebase_source : 521966b446284fbe215dfc8518acafc5de9ded5c
2018-02-26 20:43:45 +01:00
Valentin Gosu 7bd0336d01 Bug 1433958 - Change code that sets nsIURI.pathQueryRef to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: HVyZ3E1XuLN

--HG--
extra : rebase_source : fd122b3122e0f3eb371d429bd86ad35d09dcfbf6
2018-02-26 20:43:45 +01:00
Marco Bonardo e085aaa596 Bug 1432425 - Remove synchronous Bookmarks::RemoveFolderChildren. r=kitcambridge,standard8
MozReview-Commit-ID: GPrNcmEIgpZ

--HG--
rename : toolkit/components/places/tests/unit/sync_utils_bookmarks.html => toolkit/components/places/tests/sync/sync_utils_bookmarks.html
rename : toolkit/components/places/tests/unit/sync_utils_bookmarks.json => toolkit/components/places/tests/sync/sync_utils_bookmarks.json
rename : toolkit/components/places/tests/unit/test_sync_utils.js => toolkit/components/places/tests/sync/test_sync_utils.js
extra : rebase_source : b94d8f1b800f440096cba0823c49dd001401515b
2018-02-25 21:44:41 +01: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
arthur.iakab 8f11c1f438 Merge mozilla-central to autoland 2018-02-27 12:02:38 +02:00
Dan Glastonbury 1f48e9c16c Bug 1440538 - P5: Vendor rust crates. r=rillian
MozReview-Commit-ID: 5YkwigTZxYG

--HG--
rename : third_party/rust/cmake/.cargo-checksum.json => third_party/rust/cmake-0.1.24/.cargo-checksum.json
rename : third_party/rust/cmake/Cargo.toml => third_party/rust/cmake-0.1.24/Cargo.toml
rename : third_party/rust/bitflags-0.9.1/LICENSE-APACHE => third_party/rust/cmake-0.1.24/LICENSE-APACHE
rename : third_party/rust/cmake/README.md => third_party/rust/cmake-0.1.24/README.md
rename : third_party/rust/cmake/src/lib.rs => third_party/rust/cmake-0.1.24/src/lib.rs
extra : rebase_source : 7a870d64b367d6d67060ecff86de1b7f8fc04471
2018-02-13 15:05:37 +10:00
Csoregi Natalia 1ca9a26647 Backed out changeset bf5c890bbac1 (bug 1408551) for xpcshell failures on test_bookmark_kinds.js. CLOSED TREE 2018-02-27 02:06:31 +02:00
Thom Chiovoloni a9cc0e90e4 Bug 1440334 - (part 2) Yield to the event loop more in SyncedBookmarksMirror. r=kitcambridge
MozReview-Commit-ID: LvtnFAbVZMD

--HG--
extra : rebase_source : 86741b8d79f72c17c29b28c731b167afdcf0ec2b
2018-02-22 14:19:33 -05:00
Brendan Dahl f4384d768c Bug 1439766 - Replace editMenuOverlay.xul by inlining and preprocessing. r=Gijs
The overlay elements with children of editMenuOverlay.xul are moved into
include files (editMenuCommands.inc.xul and editMenuKeys.inc.xul). For
the other single elements in the overlay, the attributes are inlined
wherever they are used.

MozReview-Commit-ID: 792cuzUvQxT

--HG--
extra : rebase_source : 58e4c05bde16cee873d37c6198de102d048499c2
2018-02-22 15:48:24 -08:00
Brian Grinstead ae62dc9519 Bug 1431522 - Remove the 'thumb' binding;r=enndeakin+6102+6102
MozReview-Commit-ID: JioZr8WAuPw

--HG--
extra : rebase_source : ceb229c1c19713462a617127cd9a32924775b146
2018-01-19 08:08:49 -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
Ciure Andrei f1a425d86c Backed out changeset 7c6468a59407 (bug 1373640) for failures on xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dns.js a=backout on a CLOSED TREE 2018-02-28 03:04:19 +02:00
Andrew Swan 5dc7fca833 Bug 1439600 Mark addons as incompatible if we can no longer parse the manifest r=mossop
MozReview-Commit-ID: 8H1cuAPlPmW

--HG--
extra : rebase_source : ecfb62becf382e2cd2e1df1fcb2ab9ab15e6cab9
2018-02-20 13:00:46 -08:00
Shane Caraveo 5a47d9b2b8 Bug 1373640 implement async dns resolve api for webextensions, r=kmag
MozReview-Commit-ID: Bzfr2x6Vmx2

--HG--
extra : rebase_source : a4e8fd7d048086e3dba4b82d95102aca33ac8452
2018-02-27 13:56:38 -06:00
Emilio Cobos Álvarez 9f26540cc4 Bug 1441547: Make character data change notifications use a const reference for the info parameter. r=smaug
It's not intended to be mutated.

MozReview-Commit-ID: 5nkD1YkidlV

--HG--
extra : rebase_source : 810d429208fa3eaf30e220e77a7d27107cb77346
2018-02-27 15:30:27 +01:00
Mark Banner 2e4db142aa Bug 1440761 - Enable no-unused-vars for global scope on jsm files in toolkit/. r=mossop
MozReview-Commit-ID: 7Okqmw5dBcL

--HG--
extra : rebase_source : 6fff67e5e4bf483e6903a68a713d0b7d6c659d3b
2018-02-23 19:25:59 +00:00
Andreea Pavel d805787970 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-28 00:25:43 +02:00
Brian Grinstead 18bb37dcc8 Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can
eventually be migrated to a Custom Element once we have platform support, but in the meantime
this is a way to get the many thousands of LOC into a JS class.

MozReview-Commit-ID: 1dCQp527yF9

--HG--
extra : rebase_source : 26b833413bab71168aa15e03f0f3803884be3f6b
extra : amend_source : 150cef6748ca8a9e819de0c674fac5966dd574cf
2018-02-27 10:04:14 -08: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
Gabriele Svelto f167c2f3e8 Bug 1307153 - Add stack traces to the crash pings in Fennec; r=jchen,ted.mielczarek
MozReview-Commit-ID: ZJKUwHFsuK

--HG--
extra : amend_source : 9a57ff1d2cf15391f1f30fa63585220adbb1a49b
2018-01-19 16:48:00 +01:00
Andrew Swan aeee120808 Bug 1402064 Switch to modern AMO metadata API r=kmag
Switch from the old XML-based AMO metadata API to the modern JSON based
API.  This turned into something between a modest update and complete
rewrite.  Most notably, external APIs became (mostly) promise-based.  The
exception is getCachedAddonById() which XPIInstall.jsm requires a
synchronous callback from.

Also, hopefully we will be able to get rid of a bunch of this metadata
handling soon.  If this code had a long life ahead of it, the unit tests
could use some more attention, but I mostly did the minimum here just to
keep them running for now with the expectation that we'll be able to get
rid of them within some small number of months.

MozReview-Commit-ID: 3DRaBdWGaiJ

--HG--
rename : services/sync/tests/unit/addon1-search.xml => services/sync/tests/unit/addon1-search.json
rename : services/sync/tests/unit/bootstrap1-search.xml => services/sync/tests/unit/bootstrap1-search.json
rename : services/sync/tests/unit/missing-sourceuri.xml => services/sync/tests/unit/missing-sourceuri.json
rename : services/sync/tests/unit/missing-xpi-search.xml => services/sync/tests/unit/missing-xpi-search.json
rename : services/sync/tests/unit/rewrite-search.xml => services/sync/tests/unit/rewrite-search.json
rename : services/sync/tests/unit/systemaddon-search.xml => services/sync/tests/unit/systemaddon-search.json
extra : rebase_source : f25d78b938768041c5c05b72a1f7ff3a7dee8275
2018-01-10 14:18:20 -08:00
Andrew Swan 45a6d26761 Bug 1402064 Refactor compatibility overrides r=kmag
Compatibility override data was previously stored in an object attached
to each AddonInternal instance and awkwardly copied around in various
places.  In the new AMO API, compatibility overrides come from a different
API endpoint -- lay the groundwork for maintaining that data separately
inside AddonRepository by creating a new internal API for fetching
compatibility override data.  Note there is some code related to staged
installs of non-restartless addons that refers to the old
compatabilityOverrides property, that code should ideally get removed
soon but for now it is unreachable.

MozReview-Commit-ID: EUZhPsTc2q

--HG--
extra : rebase_source : 23268c991e68a087e0882783156fb668301a52ef
2018-02-05 20:28:49 -08:00
Andrew Swan c95780c281 Bug 1402064 AddonRepository spring cleaning r=kmag
Remove unused imports of AddonRepository.jsm plus some more
leftover bits from in-browser search results.

MozReview-Commit-ID: AZyAtnHvaMP

--HG--
extra : rebase_source : 6085ed3a22bd9a43f8882f604b97aa55b8b788c5
2018-01-10 11:41:26 -08:00
Matthew Noorenberghe 82172dd1f8 Bug 1440843 - Don't dispatch shipping*change events if requestShipping is false. r=jaws
MozReview-Commit-ID: 8HfO8UN0stE

--HG--
extra : rebase_source : 81acb71c73ecd4a82dc2a0b2d5511e31f52a9f1d
2018-02-26 22:03:26 -08:00
Servo VCS Sync 8c5c2dd863 No bug - Revendor rust dependencies 2018-02-27 06:13:30 +00:00
Tiberius Oros 52975bbb6f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-27 00:24:00 +02:00
Boris Zbarsky 895b88fb04 Bug 1441241. Reget a KeyboardEvent constructor on each findbar keypress, because the findbar lives across navigations. r=felipe 2018-02-26 17:20:24 -05:00
Tiberius Oros ba173eb9ee Merge inbound to mozilla-central. a=merge 2018-02-27 00:19:49 +02:00
Dorel Luca b16eed599e Backed out changeset 39a35e2f37f9 (bug 1373640) for xpcshell failure on test/xpcshell/test_ext_dns.js on a CLOSED TREE 2018-02-26 20:59:15 +02:00