Commit Graph

2396 Commits

Author SHA1 Message Date
Tom Ritter
3832c1ba26 Bug 1397611 Expose a websites.resistFingerprinting pref that Web Extensions can toggle r=aswan,bsilverberg
MozReview-Commit-ID: Fh48FWKdhoD
2017-09-07 00:58:54 -05:00
Wes Kocher
ce6083bc04 Backed out 2 changesets (bug 1305237) for crashtest failures in 403574-1.xhtml and 1282985-1.svg a=backout
Backed out changeset 96b5d596cc27 (bug 1305237)
Backed out changeset 5fe72402746f (bug 1305237)

MozReview-Commit-ID: CjCWY73Hps1
2017-10-02 16:41:56 -07:00
Shane Caraveo
a7b37edbc1 Bug 1305237 Expose frameAncestors to webextensions, r=bz,kmag
MozReview-Commit-ID: 8gvEiqJEsP3
2017-10-02 15:11:54 -07:00
Wes Kocher
26e25c2519 Backed out 2 changesets (bug 1305237) for bc failures in browser_WebRequest_ancestors.js a=backout
Backed out changeset 163a2b0bb0a0 (bug 1305237)
Backed out changeset e05bab140564 (bug 1305237)

MozReview-Commit-ID: GLlbWYZqyVS
2017-10-02 13:35:03 -07:00
apoorvasingh17
3de6c8c86a Bug 1404746 - Ignore minimum_opera_version in WebExtensions manifest. r=bsilverberg, r=mixedpuppy 2017-10-03 01:00:53 +05:30
Shane Caraveo
29494e6337 Bug 1305237 Expose frameAncestors to webextensions, r=bz,kmag
MozReview-Commit-ID: Dcf2AaUqBsb
2017-10-02 11:06:31 -07:00
Tim Nguyen
5f8fc6b3cd Bug 1401691 - Accept windowId parameter for browser.theme.reset(). r=jaws
MozReview-Commit-ID: G6XGeHAI5uF
2017-09-29 16:47:48 +01:00
Wes Kocher
4253ce7dce Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Wes Kocher
aa463dbc3a Merge autoland to central, a=merge
MozReview-Commit-ID: LTZmzqpIUXI
2017-09-28 15:49:14 -07:00
Ryan VanderMeulen
252c89b8d4 Backed out changesets d0d30a90efa1 and fd1d81b93380 (bug 1305237) for causing bug 1403932. 2017-09-28 17:55:43 -04:00
Ian Moody
cd18213331 Bug 1375485 - Add test to verify that requesting an origin or permission in the wrong field throws an error. r=aswan
MozReview-Commit-ID: HZwkeUoGDRW
2017-09-23 17:43:43 +01:00
Ian Moody
f08019fb6b Bug 1375485 - Update the extension manifest schema to distinguish between permissions and origins. r=aswan
The manifest of an extension has two fields, permissions and optional_permissions,
which both take an array of strings consisting of permissions or origins.
The permissions API accepts the same values but within distinct origins and
permissions fields of an object.
This patch modifies the schema to reflect this difference.

MozReview-Commit-ID: 3V3YeWEIVnf
2017-09-23 17:41:08 +01:00
Wes Kocher
066947b8da Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 6Em6JpAgEOF
2017-09-27 17:04:00 -07:00
Wes Kocher
cbba752608 Merge inbound to m-c a=merge CLOSED TREE
MozReview-Commit-ID: 3pMHYV9oXLm
2017-09-27 16:51:49 -07:00
Thom Chiovoloni
e85d046fcb Bug 1400467 - Make WeaveCrypto use promises instead of spinning event loops r=eoger,markh
MozReview-Commit-ID: 64dewKKaAOJ
2017-09-15 19:21:31 -07:00
Shane Caraveo
d7ebe7ee66 Bug 1305237 Expose frameAncestors to webextensions, r=bz,kmag
MozReview-Commit-ID: HpneTIKPoS1
2017-09-27 07:58:17 -07:00
Paolo Amadini
0d0c9d5f71 Bug 1402279 - Part 2 - Unify the usage of the DownloadPaths module. r=mak,aswan
MozReview-Commit-ID: HEhwkyxtYTP
2017-09-27 12:13:07 +01:00
Wes Kocher
6952cfe436 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Kjjgw1Pdb3U
2017-09-26 17:15:46 -07:00
Wes Kocher
9e21e10ce3 Merge inbound to m-c a=merge
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Kris Maglione
625426b21e Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
MozReview-Commit-ID: 4Tv2HAaSV19
2017-09-25 21:05:00 -07:00
Kris Maglione
7e48a066a3 Bug 1402066: Part 1 - Fix ordering of base schema data in extension child processes. r=aswan
MozReview-Commit-ID: FtLHJq5H5oD
2017-09-25 21:01:32 -07:00
Sebastian Hengst
3c4ab8939c Backed out changeset 41da9c5daa90 (bug 1402279) 2017-09-26 18:17:51 +02:00
Paolo Amadini
9fb8dd6d05 Bug 1402279 - Part 2 - Unify the usage of the DownloadPaths module. r=mak,aswan
MozReview-Commit-ID: HEhwkyxtYTP
2017-09-26 16:03:24 +01:00
Sebastian Hengst
60331dbda4 Backed out changeset d828e2c01a60 (bug 1402066) for frequently failing modified xpcshell test toolkit/components/extensions/test/xpcshell/test_ext_redirects.js on Android 4.3 debug. r=backout 2017-09-26 11:38:33 +02:00
Sebastian Hengst
b5dcb649a0 Backed out changeset 641430a49682 (bug 1402066) 2017-09-26 11:37:44 +02:00
Ian Moody
97ee9868ec Bug 1331769 - Properly check whether new origin permissions are a subset of old origin permissions. r=aswan
This prevents prompts occuring in cases where the new permissions are more
specific but still covered by the old permissions.
e.g.:
["<all_urls>"] -> ["<all_urls>", "*://*.example.com"]
["*://*.example.com"] -> ["http://subdomain.example.com"]

MozReview-Commit-ID: B685pJ6kTNa
2017-09-21 17:03:15 +01:00
Shane Caraveo
f2e81a0dcd Bug 1401350 fix proxy auth for system requests, r=kmag
MozReview-Commit-ID: CAh89djQobI
2017-09-25 15:14:09 -07:00
Jonathan Kingston
5f8d99a77d Bug 1403243 - Fix typo in identity exceptions. r=kmag
MozReview-Commit-ID: 9gt0f990ftu
2017-09-26 17:50:42 +01:00
Nicholas Nethercote
9fda5528d2 Bug 1400459 (part 2) - Devirtualize nsIAtom. r=heycam.
This patch merges nsAtom into nsIAtom. For the moment, both names can be used
interchangeably due to a typedef. The patch also devirtualizes nsIAtom, by
making it not inherit from nsISupports, removing NS_DECL_NSIATOM, and dropping
the use of NS_IMETHOD_. It also removes nsIAtom's IIDs.

These changes trigger knock-on changes throughout the codebase, changing the
types of lots of things as follows.

- nsCOMPtr<nsIAtom> --> RefPtr<nsIAtom>

- nsCOMArray<nsIAtom> --> nsTArray<RefPtr<nsIAtom>>
  - Count() --> Length()
  - ObjectAt() --> ElementAt()
  - AppendObject() --> AppendElement()
  - RemoveObjectAt() --> RemoveElementAt()

- ns*Hashtable<nsISupportsHashKey, ...> -->
  ns*Hashtable<nsRefPtrHashKey<nsIAtom>, ...>

- nsInterfaceHashtable<T, nsIAtom> --> nsRefPtrHashtable<T, nsIAtom>
  - This requires adding a Get() method to nsRefPtrHashtable that it lacks but
    nsInterfaceHashtable has.

- nsCOMPtr<nsIMutableArray> --> nsTArray<RefPtr<nsIAtom>>
  - nsArrayBase::Create() --> nsTArray()
  - GetLength() --> Length()
  - do_QueryElementAt() --> operator[]

The patch also has some changes to Rust code that manipulates nsIAtom.

MozReview-Commit-ID: DykOl8aEnUJ
2017-09-26 08:33:21 +10:00
Kris Maglione
fec6f66268 Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
MozReview-Commit-ID: 4Tv2HAaSV19
2017-09-25 21:05:00 -07:00
Kris Maglione
1a85b6c47f Bug 1402066: Part 1 - Fix ordering of base schema data in extension child processes. r=aswan
MozReview-Commit-ID: FtLHJq5H5oD
2017-09-25 21:01:32 -07:00
Geoff Brown
f3a26d459b Bug 1397615 - Skip some long-running mochitests on Android Debug only; r=snorp 2017-09-21 12:39:35 -06:00
Kris Maglione
157f1a8b84 Bug 1379148: Part 4 - Add tests for document.write() with document_start content script present. r=mixedpuppy
MozReview-Commit-ID: 5yxgpur1tvf
2017-09-20 17:01:33 -07:00
Kris Maglione
89ccbf3bf9 Bug 1379148: Part 3 - Inject scripts synchronously if they're already available. r=mixedpuppy
MozReview-Commit-ID: J6vheuxsqJR
2017-09-20 17:00:44 -07:00
Kris Maglione
a25f099321 Bug 1379148: Part 2 - Don't block script-created parsers when executing content scripts. r=mixedpuppy
MozReview-Commit-ID: GsqsaOVob4B
2017-09-20 16:13:03 -07:00
Aastha Gupta
2dac70e25c Bug 1346722 - Display permissions in alphabetical order. r=aswan
-Create a copy of the permissions array and sort it.
-Change permissions order in test
2017-10-06 21:58:13 +05:30
Tomislav Jovanovic
1566f5e353 Bug 1386427 - Part 4: Implement basic storage.managed functionality r=kmag
MozReview-Commit-ID: Auy1ujS8wyz
2017-09-16 19:42:40 +02:00
Tomislav Jovanovic
f187bd307d Bug 1386427 - Part 3: Add storage and pkcs11 NativeManifest types r=kmag
MozReview-Commit-ID: 62MoqNLTxic
2017-09-16 05:30:13 +02:00
Tomislav Jovanovic
b1230d96e1 Bug 1386427 - Part 2: Extract HostManifestManager to NativeManifests.jsm r=kmag
MozReview-Commit-ID: GrVBZbkTfrB
2017-09-15 20:14:56 +02:00
Tomislav Jovanovic
46151ccd77 Bug 1386427 - Part 1: Add XRE*NativeManifests locations to dirsvc r=kmag
MozReview-Commit-ID: DoJIP6QZ5AX
2017-09-12 18:58:23 +02:00
Rob Wu
c38623168a Bug 1401511 - Don't mutate return value of FindProxyForURL r=mixedpuppy
MozReview-Commit-ID: 38A1Afzvfqd
2017-09-20 14:47:15 +02:00
Luca Greco
299c245e8f Bug 1401293 - Remove unneeded special handling for the devtools panel from extension-process-script.js. r=kmag
MozReview-Commit-ID: 3pjuoqjULAB
2017-09-19 20:28:56 +02:00
Sebastian Hengst
2bdce0b67c Backed out changeset f4c33a37fe6d (bug 1395890) for failing browser-chrome's browser/components/extensions/test/browser/browser_ext_find.js. r=backout on a CLOSED TREE 2017-09-19 16:35:31 +02:00
Luca Greco
386576fa84 Bug 1383310 - Extensions Devtools panels should not receive messages or ports from content scripts. r=zombie
MozReview-Commit-ID: B5Hq11Tb3Y0
2017-09-14 16:43:45 +02:00
Dan Banner
f7d41414af Bug 1395890 - Change all ESLint rules that are warnings to errors. r=standard8
MozReview-Commit-ID: LJS6m1GppiS
2017-09-18 19:07:17 +01:00
Jonathan Kingston
73406f7114 Bug 1397100 - Disable container about:preference checkbox if a container addon is enabled. r=bsilverberg,Felipe
MozReview-Commit-ID: DtJX3FiE0e0
2017-09-18 08:11:31 +01:00
Kris Maglione
b9473e10bc Bug 1399375: Disable test_ext_permissions on asan for frequent intermittents. r=me
MozReview-Commit-ID: EIt2GQENXUi
2017-09-28 09:25:01 -07:00
Kris Maglione
95492135c0 Bug 1402944: Follow-up: Fix and re-enable test_ext_webrequest_background_events. r=me
MozReview-Commit-ID: 1D65HWgmnxX
2017-09-28 00:11:22 -07:00
Andrea Marchesini
792189dd57 Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
Tom Schuster
a90463eab1 Bug 1403723 - Correct metadata when using management.get. r=mixedpuppy 2017-09-28 12:46:09 +02:00