Commit Graph

146 Commits

Author SHA1 Message Date
Alphan Chen
58400124a1 Bug 1497146 part 2 - Convert FormData.jsm to C++ [collect() part] r=nika,peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12112

--HG--
extra : moz-landing-system : lando
2019-01-17 14:56:51 +00:00
Alphan Chen
5d28867416 Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service

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

--HG--
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-17 14:58:31 +00:00
Neil Deakin
cb10352f4b Bug 1482389, replace TreeBoxObject with XULTreeElement inherited from XULElement, r=peterv,paolo
--HG--
rename : dom/webidl/TreeBoxObject.webidl => dom/chrome-webidl/XULTreeElement.webidl
rename : layout/xul/tree/TreeBoxObject.cpp => dom/xul/XULTreeElement.cpp
rename : layout/xul/tree/TreeBoxObject.h => dom/xul/XULTreeElement.h
2018-12-04 11:25:30 -05:00
Rob Wu
0074eaeaf7 Bug 1504018 - Skip host permissions for which a warning has been shown before r=aswan
Permission warnings only include the host name (ignoring any scheme),
so the comparison of old and new permissions should ignore schemes too.

Any origin permission has to match the definition of "MatchPattern"
as defined in toolkit/components/schemas/manifest.json.
For normal (non-privileged extensions), this is either <all_urls>, or a
pattern consisting of the "http", "https", "ws", "wss", "file", "ftp"
schemes.

Depends on D5527

Depends on D5527

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

--HG--
extra : moz-landing-system : lando
2019-01-11 19:16:59 +00:00
Cosmin Sabou
3b1edf526b Merge mozilla-central to mozilla-inbound.
--HG--
rename : toolkit/modules/Task.jsm => toolkit/modules/tests/modules/Task.jsm
extra : rebase_source : 52141f691cc72d4a80c7c5d4d35aad67a51b660d
2019-01-04 18:38:34 +02:00
Andrea Marchesini
ab2574b4d1 Bug 1517368 - Expose PopupBlocker status via ChromeUtils, r=smaug 2019-01-04 16:16:59 +01:00
John Dai
e65b6abd33 Bug 1513876 - Implement register a toplevel window global actor. r=nika
Implement register a toplevel window global actor.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 16:45:42 +00:00
Ciure Andrei
a8af06aea2 Merge inbound to mozilla-central. a=merge 2019-01-04 00:04:46 +02:00
Nika Layzell
eded746df2 Bug 1513975 - Add ChromeUtils.releaseAssert for Chrome JS, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D15607

--HG--
extra : moz-landing-system : lando
2019-01-03 15:43:06 +00:00
Emilio Cobos Álvarez
d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Olli Pettay
f4756f7e8e bug 1515463, MessageBroadcaster.getChildAt should be out-of-bounds safe, r=peterv 2019-01-03 16:48:32 +02:00
Shane Caraveo
ed2e4c07aa Bug 1345474 - Add policy flags to support incognito settings r=rpl,kmag
Differential Revision: https://phabricator.services.mozilla.com/D4100

--HG--
extra : moz-landing-system : lando
2018-12-10 21:27:22 +00:00
Nika Layzell
614b663032 Bug 1510460 - Record the current WindowGlobal on ChromeBrowsingContext, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D13156
2018-12-05 10:18:43 -05:00
Nika Layzell
1114608d6f Bug 1500950 - Expose rootFrameLoader on WindowGlobalParent, r=farre
This attribute was not exposed due to Bug 1489301.

Differential Revision: https://phabricator.services.mozilla.com/D9404
2018-12-05 10:18:39 -05:00
Nika Layzell
f18502de7a Bug 1500949 - Include innerWindowId/outerWindowId in PWindowGlobal, r=farre
This will be useful as both an ID for PWindowGlobal, as well as a mechanism for
taking advantage of already synchronized information. As an example, LoadInfo
objects contain the inner window IDs of the window requesting the load, which
can now be used to obtain a reference to the corresponding WindowGlobalParent
in the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D9396
2018-12-05 10:18:38 -05:00
Nika Layzell
91dd6c616f Bug 1500944 - Part 2: Expose WindowGlobal actors to Chrome JS, r=farre
This serves 2 purposes:
1. Provides an object corresponding to an inner window which Chrome JS can hold onto.
2. Provides the object to JS which Chrome JS per-window actors will be attached to.
3. Provides useful information to Chrome JS in the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D9394
2018-12-05 10:18:34 -05:00
Andrea Marchesini
f759361b23 Bug 1508310 - Implement Report-to header support - part 8 - ChromeUtils methods for testing, r=smaug 2018-12-01 21:26:10 +01:00
Tarek Ziadé
63637ef222 Bug 1497124 - Added some memory info in the performance counters - r=jya,jonco
Add some memory usage information to the Performance counters and make everything asynchronous.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 22:51:12 +00:00
Andreea Pavel
72b0594cb8 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-17 13:27:24 +02:00
Brad Werth
346bc8427e Bug 1506687 Part 1: Make FlexItemValues also provide the item's frame rect. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D12182

--HG--
extra : source : d8230f3fdd2c3ecea4771ebe98c83be6e3ebcbfc
2018-11-17 00:56:51 +00:00
Cosmin Sabou
06a105eed0 Backed out 2 changesets (bug 1506687) for causing mochitest mass failures. CLOSED TREE
Backed out changeset f93f179fb3b4 (bug 1506687)
Backed out changeset d8230f3fdd2c (bug 1506687)
2018-11-17 05:05:53 +02:00
Nika Layzell
d036b747e7 Bug 1477432 - Part 6: Stop using nsIJSID inside of WebIDL bindings, r=mccr8
Rather than adding a native type for nsID objects in WebIDL, this patch just
takes the approach of switching consumers over to using 'any' and calling the
APIs defined in Part 1.

Differential Revision: https://phabricator.services.mozilla.com/D2283
2018-11-16 17:27:39 -05:00
Nika Layzell
fe2f2478f7 Bug 1477432 - Part 2: Avoid using nsIJSID in GenerateQI, and produce better diagnostics, r=kmag
This is the first part of hiding the implementation of nsIJSID behind the
interface added in Part 1, such that we can substitute that implementation out.

I had to make a couple of changes to fix the errors caused by the new behaviour
in GenerateQI.

Differential Revision: https://phabricator.services.mozilla.com/D2279
2018-11-16 17:27:31 -05:00
Brad Werth
cae2b12074 Bug 1506687 Part 1: Make FlexItemValues also provide the item's frame rect. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D12182

--HG--
extra : moz-landing-system : lando
2018-11-17 00:56:51 +00:00
Cosmin Sabou
5394c8a6ca Backed out 3 changesets (bug 1506687) for devtools failures on browser_flexbox_sizing_info_for_text_nodes. CLOSED TREE
Backed out changeset 2788a93e179a (bug 1506687)
Backed out changeset 1c3baa04d4ce (bug 1506687)
Backed out changeset c50af93cfc84 (bug 1506687)
2018-11-15 20:01:52 +02:00
Brad Werth
5e72dc5a5b Bug 1506687 Part 2: Make FlexItemValues also provide the item's position and size. r=dholbert
Depends on D11782

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

--HG--
extra : moz-landing-system : lando
2018-11-15 16:20:40 +00:00
Felipe Gomes
d29b83833f Bug 1496840 - Add a browsingContext getter to the browser element. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D7935

--HG--
extra : moz-landing-system : lando
2018-11-12 17:57:48 +00:00
Andreas Farre
af6942ecbc Bug 1502328 - Add opener member to BrowsingContext and expose through webidl. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D10580

--HG--
extra : moz-landing-system : lando
2018-11-09 08:53:53 +00:00
Kris Maglione
288ea557d8 Bug 1482091: Part 1 - Add native TelemetryStopwatch implementation. r=chutten,mccr8
This implementation is considerably more memory efficient than the existing JS
implementation. Migrating to it fully saves us about 28K per base content
process.

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

--HG--
extra : source : a19c6b3e0402d16a77185f82d9fedab83a7ca52e
extra : intermediate-source : 28a19b7290ab288a1cb2cbf6d49f905cecc9682b
2018-10-26 13:17:55 -07:00
arthur.iakab
0c81738411 Backed out 2 changesets (bug 1482091) for bc failures on browser_domFullscreen_fullscreenMode.js
Backed out changeset bc03f101937e (bug 1482091)
Backed out changeset 28a19b7290ab (bug 1482091)
2018-11-03 01:08:36 +02:00
Kris Maglione
bee3f68fdc Bug 1482091: Part 1 - Add native TelemetryStopwatch implementation. r=chutten,mccr8
This implementation is considerably more memory efficient than the existing JS
implementation. Migrating to it fully saves us about 28K per base content
process.

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

--HG--
extra : source : a19c6b3e0402d16a77185f82d9fedab83a7ca52e
2018-10-26 13:17:55 -07:00
arthur.iakab
cf2aa54f83 Backed out 2 changesets (bug 1482091)for failing browser chrome failures on browser_panelUINotifications_fullscreen_noAutoHideToolbar.js
Backed out changeset afd0a13bcfff (bug 1482091)
Backed out changeset a19c6b3e0402 (bug 1482091)
2018-11-02 23:01:15 +02:00
Kris Maglione
4bd1fb01dd Bug 1482091: Part 1 - Add native TelemetryStopwatch implementation. r=chutten,mccr8
This implementation is considerably more memory efficient than the existing JS
implementation. Migrating to it fully saves us about 28K per base content
process.

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

--HG--
extra : rebase_source : f358f1f7097eaa8cd62ae916d048a58489e9f5ff
extra : histedit_source : c44c42de02750d71e23e70fdf22d3c3a40b91d3d
2018-10-26 13:17:55 -07:00
Robert Helmer
03cd228bcb Bug 1500791 - remove hardcoded restriction on bools that may be prio-encoded r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D9555

--HG--
extra : moz-landing-system : lando
2018-10-26 15:00:46 +00:00
Brad Werth
23c8887384 Bug 1498273 Part 1: Updated Flex.webidl to add a per-item clamp state attribute. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D8769

--HG--
extra : moz-landing-system : lando
2018-10-24 23:46:16 +00:00
arthur.iakab
7e992252c5 Merge mozilla-central to mozilla-inbound 2018-10-24 01:23:57 +03:00
Brad Werth
29992e3858 Bug 1501109 Part 1: Change Flex API growth state to match layout algorithm, and use enums from webidl. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D9454

--HG--
extra : moz-landing-system : lando
2018-10-23 16:23:37 +00:00
Andreas Farre
8a334bc798 Bug 1498222 - Add BrowsingContext.docShell webidl. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D8381

--HG--
extra : moz-landing-system : lando
2018-10-18 06:52:30 +00:00
Brad Werth
55045f0ce3 Bug 1497589 Part 3: Stub in physical direction enums for Flex API main and cross axes. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D8616

--HG--
extra : moz-landing-system : lando
2018-10-17 20:22:46 +00:00
Brad Werth
04ba5f13c0 Bug 1497589 Part 2: Rename Flex API classes to avoid namespace collision with nsFlexContainerFrame classes. r=dholbert
Depends on D9022

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

--HG--
rename : dom/flex/FlexItem.cpp => dom/flex/FlexItemValues.cpp
rename : dom/flex/FlexItem.h => dom/flex/FlexItemValues.h
rename : dom/flex/FlexLine.cpp => dom/flex/FlexLineValues.cpp
rename : dom/flex/FlexLine.h => dom/flex/FlexLineValues.h
extra : moz-landing-system : lando
2018-10-17 20:22:26 +00:00
Brad Werth
2813ca23fa Bug 1497589 Part 1: Move Flex.webidl to the chrome-webidl directory. r=bzbarsky,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D9022

--HG--
rename : dom/webidl/Flex.webidl => dom/chrome-webidl/Flex.webidl
extra : moz-landing-system : lando
2018-10-18 00:08:02 +00:00
Nika Layzell
0cf082997f Bug 1489301 - Part 5: Expose all System-only objects on Window, r=bzbarsky
There is a limited number of these, and this allows me to completely remove
mention of the 'System' global.

In the future System-only exposure could be achieved using a [Func] enabler.

Differential Revision: https://phabricator.services.mozilla.com/D9400
2018-10-23 16:03:52 -04:00
Nika Layzell
2b21840f81 Bug 1489301 - Part 4: Remove unnecessary [Exposed=System] annotations, r=bzbarsky
We don't need to expose on both Window and System anymore, as Window now
implies System. I don't remove unnecessary [Exposed=Window] annotations, as
WebIDL upstream has removed PrimaryGlobal.

Differential Revision: https://phabricator.services.mozilla.com/D9399
2018-10-23 16:03:51 -04:00
Daniel Varga
5255e1718f Backed out 6 changesets (bug 1489301) for Linting opt failure at /builds/worker/checkouts/gecko/dom/bindings/parser/WebIDL.py
Backed out changeset 1c0823540b44 (bug 1489301)
Backed out changeset 529524df76a6 (bug 1489301)
Backed out changeset f34bc8a40bec (bug 1489301)
Backed out changeset 168cf9cea716 (bug 1489301)
Backed out changeset 19ca10fa3772 (bug 1489301)
Backed out changeset ff8fb091198e (bug 1489301)
2018-10-23 03:49:00 +03:00
Nika Layzell
bb337a8abf Bug 1489301 - Part 5: Expose all System-only objects on Window, r=bzbarsky
There is a limited number of these, and this allows me to completely remove
mention of the 'System' global.

In the future System-only exposure could be achieved using a [Func] enabler.

Differential Revision: https://phabricator.services.mozilla.com/D9400
2018-10-22 20:17:14 -04:00
Nika Layzell
0562b4b23b Bug 1489301 - Part 4: Remove unnecessary [Exposed=System] annotations, r=bzbarsky
We don't need to expose on both Window and System anymore, as Window now
implies System. I don't remove unnecessary [Exposed=Window] annotations, as
WebIDL upstream has removed PrimaryGlobal.

Differential Revision: https://phabricator.services.mozilla.com/D9399
2018-10-22 20:15:47 -04:00
Jim Blandy
4c4f2bf1a3 Bug 1494195 - Back out bug 1491946, using '.fxsnapshot.gz' for memory heap snapshots. r=fitzgen 2018-10-11 15:13:47 -07:00
Doug Thayer
218843ef6a Bug 1426245 - Replace OnItemAdded with bookmark-item-added r=mak
See https://docs.google.com/document/d/1G45vfd6RXFXwNz7i4FV40lDCU0ao-JX_bZdgJV4tLjk/edit#
for further info. This essentially follows the same philosophy as
the onVisits migration.

MozReview-Commit-ID: I4bOvFH0ZQR

Depends on D4605

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

--HG--
extra : moz-landing-system : lando
2018-10-09 14:47:27 +00:00
Alexander Surkov
e3b5779853 Bug 1494529 - kill #text-label binding, r=smaug 2018-10-02 10:15:51 +08:00
Alexander Surkov
bdd3f4e880 Bug 1494230 - replace #text-base binding by webidl control, r=smaug 2018-10-01 11:37:39 +08:00