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

37 Коммитов

Автор SHA1 Сообщение Дата
Andrew Swan 4322e4d9e2 Bug 1625006 Add profiler markers for blocking webRequest listeners r=mixedpuppy,gerald
Differential Revision: https://phabricator.services.mozilla.com/D68278

--HG--
extra : moz-landing-system : lando
2020-04-01 16:23:53 +00:00
Shane Caraveo 4d3b7a6d20 Bug 1604618 support request cancel reason in webrequest r=rpl,Honza
Support cancel reason so devtools, download panel, etc. can understand that an extension cancelled a request.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 20:30:26 +00:00
Junior Hsu dd1a30ac91 Bug 1545423 - P2 web request data API implementation r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D50405

--HG--
extra : moz-landing-system : lando
2019-10-31 00:50:47 +00:00
Andreea Pavel 9deb4ea93b Backed out 4 changesets (bug 1545423) for failing test_ext_activityLog.html on a CLOSED TREE
Backed out changeset 0abbf10b68b0 (bug 1545423)
Backed out changeset 35758baf44e3 (bug 1545423)
Backed out changeset 3ae45f3be2e1 (bug 1545423)
Backed out changeset 9f7f0e4c65da (bug 1545423)
2019-10-31 02:16:24 +02:00
Junior Hsu 5e48b59b90 Bug 1545423 - P2 web request data API implementation r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D50405

--HG--
extra : moz-landing-system : lando
2019-10-30 23:11:38 +00:00
Andrea Marchesini 39723a2dd0 Bug 1591900 - Expose third-party state in WebRequest and proxy onRequest details, r=mixedpuppy,smaug
Differential Revision: https://phabricator.services.mozilla.com/D50793

--HG--
extra : moz-landing-system : lando
2019-10-30 11:42:16 +00:00
Mihai Alexandru Michis 351a5bf677 Backed out changeset ed867296b6d4 (bug 1591900) for causing mochitest fission failures in test_ext_activityLog.html CLOSED TREE 2019-10-30 11:15:36 +02:00
Andrea Marchesini 9b82b18b44 Bug 1591900 - Expose third-party state in WebRequest and proxy onRequest details, r=mixedpuppy,smaug
Differential Revision: https://phabricator.services.mozilla.com/D50793

--HG--
extra : moz-landing-system : lando
2019-10-30 07:58:27 +00:00
Mihai Alexandru Michis c19bd19fcf Backed out changeset e99290edd750 (bug 1591900) for causing lint failures in file_third_party.html CLOSED TREE 2019-10-30 09:35:28 +02:00
Andrea Marchesini b3488b6849 Bug 1591900 - Expose third-party state in WebRequest and proxy onRequest details, r=mixedpuppy,smaug
Differential Revision: https://phabricator.services.mozilla.com/D50793

--HG--
extra : moz-landing-system : lando
2019-10-30 06:59:00 +00:00
Jean-Yves Avenard e6d0e7dfda Bug 1588899 - P1. Move classification flags related method to nsIClassifiedChannel. r=Ehsan,baku
This is where it should have been in the first place. Those attributes belong there.

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

--HG--
extra : moz-landing-system : lando
2019-10-19 04:30:24 +00:00
Shane Caraveo e0b4be7187 Bug 1547140 add classification data to webRequest API r=zombie,kmag,Fallen
Differential Revision: https://phabricator.services.mozilla.com/D35911

--HG--
extra : moz-landing-system : lando
2019-08-14 16:10:51 +00:00
Cosmin Sabou bf94f57431 Backed out changeset 2bfb73091f21 (bug 1547140) for xpcshell failures on test_ext_webRequest_urlclassification. CLOSED TREE 2019-08-14 05:35:27 +03:00
Shane Caraveo 80335e9e8d Bug 1547140 add classification data to webRequest API r=zombie,kmag,Fallen
Differential Revision: https://phabricator.services.mozilla.com/D35911

--HG--
extra : moz-landing-system : lando
2019-08-12 22:00:20 +00:00
Boris Zbarsky 19251f27ce Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 07:52:35 +00:00
Cosmin Sabou 3ef8d24958 Backed out changeset 8e16f13a88c8 (bug 1562680) for colliding with Bug 1366738 that was backed out. CLOSED TREE 2019-07-03 10:46:39 +03:00
Boris Zbarsky 73f095abc4 Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:44:36 +00:00
Mihai Alexandru Michis c7fc76c18f Backed out changeset 12653dd76667 (bug 1562680) for causing bustages in FuzzingFunctions.webidl CLOSED TREE 2019-07-03 09:34:48 +03:00
Boris Zbarsky 3a5c721abb Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

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

--HG--
extra : moz-landing-system : lando
2019-07-03 06:15:54 +00:00
Honza Bambas 2555fb9646 Bug 1545420 - Allow extensions to set Proxy-Authorization and connection isolation key through proxy.onRequest, r=dragana,mixedpuppy+mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D29825

--HG--
extra : moz-landing-system : lando
2019-05-06 07:22:18 +00:00
Shane Caraveo 5f24a04aa2 Bug 1548177 support incognito flag in request filtering r=kmag,robwu
Differential Revision: https://phabricator.services.mozilla.com/D29446

--HG--
extra : moz-landing-system : lando
2019-05-02 16:23:03 +00:00
Ryan Hunt 3675f2449b Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.

Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.

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

--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05: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
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
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
Cosmin Sabou 679b5e2db1 Backed out 5 changesets (bug 1485040) for causing build bustages on test_mozwebidlcodegen. CLOSED TREE
Backed out changeset b417c2d937e8 (bug 1485040)
Backed out changeset c567c4c7438f (bug 1485040)
Backed out changeset 806c36cb2c4c (bug 1485040)
Backed out changeset 0fbb490ffc7f (bug 1485040)
Backed out changeset a9622e7761eb (bug 1485040)
2018-09-13 23:04:55 +03:00
Andrew McCreight 93b3b0138c Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot
This patch was generated by my modeline.py script.

MozReview-Commit-ID: EbVjPLwiUAT

Depends on D4159

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

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:51 +00:00
Shane Caraveo 0904a20056 Bug 1464481 - fix and test crash when getting registered channelwrapper, r=kmag
MozReview-Commit-ID: LEGojHEb742

--HG--
extra : rebase_source : 7018cfef6b7415ea275dc2c3e414586396a9e2be
2018-05-25 16:41:19 -04:00
Shane Caraveo b7fc203a81 Bug 1322748 add ability to get registered channelwrappers, r=kmag
MozReview-Commit-ID: SphwWjzQuo

--HG--
extra : rebase_source : 0b5193d7f4e9e7f27f9a7d622699b673781c3dd4
2018-05-22 14:19:57 -04:00
Boris Zbarsky 6bf97b61c0 Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
Dave Townsend e2dffad4ac Bug 1448500: Add speculative request content policy type. r=bz, r=kmag
Adds a new TYPE_SPECULATIVE to nsIContentPolicy uses it as the type for
speculative connection channels from the IO service. I believe I've added it to
all the content policies in tree to make sure it behaves the same as TYPE_OTHER
used to.

The webextension test shows that the webextension proxy API sees speculative
lookups requested through the IO service.

MozReview-Commit-ID: DQ4Kq0xdUOD

--HG--
extra : rebase_source : d9460fdac118bc68f0db79749a16f181b580f2e7
2018-03-23 15:27:08 -07:00
Kris Maglione 887b300cf4 Bug 1442931: Part 2 - Move internal WebIDL interfaces to separate directory. r=mystor
This change moves several chrome-only WebIDL files to a separate chrome-only
directory.

There are several other chrome-only interfaces which are heavily tied to DOM
code. Since those should probably still require DOM peer review for changes, I
left them where they were.

MozReview-Commit-ID: K3NsNtfntV6

--HG--
rename : dom/webidl/ChannelWrapper.webidl => dom/chrome-webidl/ChannelWrapper.webidl
rename : dom/webidl/ChromeUtils.webidl => dom/chrome-webidl/ChromeUtils.webidl
rename : dom/webidl/DominatorTree.webidl => dom/chrome-webidl/DominatorTree.webidl
rename : dom/webidl/HeapSnapshot.webidl => dom/chrome-webidl/HeapSnapshot.webidl
rename : dom/webidl/InspectorUtils.webidl => dom/chrome-webidl/InspectorUtils.webidl
rename : dom/webidl/MatchGlob.webidl => dom/chrome-webidl/MatchGlob.webidl
rename : dom/webidl/MatchPattern.webidl => dom/chrome-webidl/MatchPattern.webidl
rename : dom/webidl/MozStorageAsyncStatementParams.webidl => dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
rename : dom/webidl/MozStorageStatementParams.webidl => dom/chrome-webidl/MozStorageStatementParams.webidl
rename : dom/webidl/MozStorageStatementRow.webidl => dom/chrome-webidl/MozStorageStatementRow.webidl
rename : dom/webidl/PrecompiledScript.webidl => dom/chrome-webidl/PrecompiledScript.webidl
rename : dom/webidl/PromiseDebugging.webidl => dom/chrome-webidl/PromiseDebugging.webidl
rename : dom/webidl/StructuredCloneHolder.webidl => dom/chrome-webidl/StructuredCloneHolder.webidl
rename : dom/webidl/WebExtensionContentScript.webidl => dom/chrome-webidl/WebExtensionContentScript.webidl
rename : dom/webidl/WebExtensionPolicy.webidl => dom/chrome-webidl/WebExtensionPolicy.webidl
rename : dom/webidl/moz.build => dom/chrome-webidl/moz.build
extra : rebase_source : e1ea7dad6450a10e5f48e622814efe28e0c13977
extra : intermediate-source : 9f46e7d52b9b2e30bf0ccf64bb5805168dd79c29
extra : source : 195cbf3d34334978e5a9d101d4b79f899598159c
2018-03-04 16:37:10 -08:00
Andreea Pavel 01d4e4cfa4 Backed out 2 changesets (bug 1442931) for build bustages at ..\dom\bindings\mozwebidlcodegen\test\test_mozwebidlcodegen.py::TestWebIDLCodegenManager::test_copy_input on a CLOSED TREE
Backed out changeset 9f46e7d52b9b (bug 1442931)
Backed out changeset 608e21fcd167 (bug 1442931)

--HG--
rename : dom/chrome-webidl/ChannelWrapper.webidl => dom/webidl/ChannelWrapper.webidl
rename : dom/chrome-webidl/ChromeUtils.webidl => dom/webidl/ChromeUtils.webidl
rename : dom/chrome-webidl/DominatorTree.webidl => dom/webidl/DominatorTree.webidl
rename : dom/chrome-webidl/HeapSnapshot.webidl => dom/webidl/HeapSnapshot.webidl
rename : dom/chrome-webidl/InspectorUtils.webidl => dom/webidl/InspectorUtils.webidl
rename : dom/chrome-webidl/MatchGlob.webidl => dom/webidl/MatchGlob.webidl
rename : dom/chrome-webidl/MatchPattern.webidl => dom/webidl/MatchPattern.webidl
rename : dom/chrome-webidl/MozStorageAsyncStatementParams.webidl => dom/webidl/MozStorageAsyncStatementParams.webidl
rename : dom/chrome-webidl/MozStorageStatementParams.webidl => dom/webidl/MozStorageStatementParams.webidl
rename : dom/chrome-webidl/MozStorageStatementRow.webidl => dom/webidl/MozStorageStatementRow.webidl
rename : dom/chrome-webidl/PrecompiledScript.webidl => dom/webidl/PrecompiledScript.webidl
rename : dom/chrome-webidl/PromiseDebugging.webidl => dom/webidl/PromiseDebugging.webidl
rename : dom/chrome-webidl/StructuredCloneHolder.webidl => dom/webidl/StructuredCloneHolder.webidl
rename : dom/chrome-webidl/WebExtensionContentScript.webidl => dom/webidl/WebExtensionContentScript.webidl
rename : dom/chrome-webidl/WebExtensionPolicy.webidl => dom/webidl/WebExtensionPolicy.webidl
2018-03-07 08:53:06 +02:00
Kris Maglione d9ca1fc112 Bug 1442931: Part 2 - Move internal WebIDL interfaces to separate directory. r=mystor
This change moves several chrome-only WebIDL files to a separate chrome-only
directory.

There are several other chrome-only interfaces which are heavily tied to DOM
code. Since those should probably still require DOM peer review for changes, I
left them where they were.

MozReview-Commit-ID: K3NsNtfntV6

--HG--
rename : dom/webidl/ChannelWrapper.webidl => dom/chrome-webidl/ChannelWrapper.webidl
rename : dom/webidl/ChromeUtils.webidl => dom/chrome-webidl/ChromeUtils.webidl
rename : dom/webidl/DominatorTree.webidl => dom/chrome-webidl/DominatorTree.webidl
rename : dom/webidl/HeapSnapshot.webidl => dom/chrome-webidl/HeapSnapshot.webidl
rename : dom/webidl/InspectorUtils.webidl => dom/chrome-webidl/InspectorUtils.webidl
rename : dom/webidl/MatchGlob.webidl => dom/chrome-webidl/MatchGlob.webidl
rename : dom/webidl/MatchPattern.webidl => dom/chrome-webidl/MatchPattern.webidl
rename : dom/webidl/MozStorageAsyncStatementParams.webidl => dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
rename : dom/webidl/MozStorageStatementParams.webidl => dom/chrome-webidl/MozStorageStatementParams.webidl
rename : dom/webidl/MozStorageStatementRow.webidl => dom/chrome-webidl/MozStorageStatementRow.webidl
rename : dom/webidl/PrecompiledScript.webidl => dom/chrome-webidl/PrecompiledScript.webidl
rename : dom/webidl/PromiseDebugging.webidl => dom/chrome-webidl/PromiseDebugging.webidl
rename : dom/webidl/StructuredCloneHolder.webidl => dom/chrome-webidl/StructuredCloneHolder.webidl
rename : dom/webidl/WebExtensionContentScript.webidl => dom/chrome-webidl/WebExtensionContentScript.webidl
rename : dom/webidl/WebExtensionPolicy.webidl => dom/chrome-webidl/WebExtensionPolicy.webidl
rename : dom/webidl/moz.build => dom/chrome-webidl/moz.build
extra : source : 195cbf3d34334978e5a9d101d4b79f899598159c
extra : amend_source : 9ef85f3436706de0049f6c5619407ef4bba4d539
extra : histedit_source : aa0ba8a35662566ad77ad3bb6adbd8cb062f0498
2018-03-04 16:37:10 -08:00
Kris Maglione 27f4fb5abd Backed out two changesets (bug 1442931) for Windows build bustage
MozReview-Commit-ID: EAP1dIdvd8g

--HG--
extra : histedit_source : 0848dcd64f0e1cccaf9ce2c5faa08509990cfade%2Cd100c0c3dfca8b92f9cd1fda1b126a0d2f8a47cd
2018-03-06 20:47:41 -08:00
Kris Maglione 1306e251c0 Bug 1442931: Part 2 - Move internal WebIDL interfaces to separate directory. r=mystor DONTBUILD
This change moves several chrome-only WebIDL files to a separate chrome-only
directory.

There are several other chrome-only interfaces which are heavily tied to DOM
code. Since those should probably still require DOM peer review for changes, I
left them where they were.

MozReview-Commit-ID: K3NsNtfntV6

--HG--
rename : dom/webidl/ChannelWrapper.webidl => dom/chrome-webidl/ChannelWrapper.webidl
rename : dom/webidl/ChromeUtils.webidl => dom/chrome-webidl/ChromeUtils.webidl
rename : dom/webidl/DominatorTree.webidl => dom/chrome-webidl/DominatorTree.webidl
rename : dom/webidl/HeapSnapshot.webidl => dom/chrome-webidl/HeapSnapshot.webidl
rename : dom/webidl/InspectorUtils.webidl => dom/chrome-webidl/InspectorUtils.webidl
rename : dom/webidl/MatchGlob.webidl => dom/chrome-webidl/MatchGlob.webidl
rename : dom/webidl/MatchPattern.webidl => dom/chrome-webidl/MatchPattern.webidl
rename : dom/webidl/MozStorageAsyncStatementParams.webidl => dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
rename : dom/webidl/MozStorageStatementParams.webidl => dom/chrome-webidl/MozStorageStatementParams.webidl
rename : dom/webidl/MozStorageStatementRow.webidl => dom/chrome-webidl/MozStorageStatementRow.webidl
rename : dom/webidl/PrecompiledScript.webidl => dom/chrome-webidl/PrecompiledScript.webidl
rename : dom/webidl/PromiseDebugging.webidl => dom/chrome-webidl/PromiseDebugging.webidl
rename : dom/webidl/StructuredCloneHolder.webidl => dom/chrome-webidl/StructuredCloneHolder.webidl
rename : dom/webidl/WebExtensionContentScript.webidl => dom/chrome-webidl/WebExtensionContentScript.webidl
rename : dom/webidl/WebExtensionPolicy.webidl => dom/chrome-webidl/WebExtensionPolicy.webidl
rename : dom/webidl/moz.build => dom/chrome-webidl/moz.build
extra : rebase_source : be95383471d1abadb742bbce683adc69b317028e
extra : amend_source : ccb7840f3cdc5f7bd9871631e22d26d89a4dc156
2018-03-04 16:37:10 -08:00