Boris Zbarsky
32b5faa035
Bug 1453869 part 12. Make the DOMParser constructor require a principal. r=mrbkap
...
We always have one now. So we can remove all the codepaths that attempted to
handle the !mPrincipal case.
We can also remove the nsContentUtils::IsSystemPrincipal(mPrincipal) codepaths,
because that can never happen: DOMParser::Constructor never creates a DOMParser
with a system principal.
MozReview-Commit-ID: EUrGoiI0o3u
2018-04-20 23:04:45 -04:00
Brindusan Cristian
9adcf6af5a
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-04-07 13:00:30 +03:00
Boris Zbarsky
23dc2febce
Bug 1452010 part 2. Remove nsIDOMDOMException members. r=qdot
...
MozReview-Commit-ID: Bp5ablEtcHA
2018-04-06 23:27:56 -04:00
Julian Descottes
c87c82b440
Bug 1452187
- fix localization note mismatch;r=flod
...
Cleanup of all localization notes that refer to entities
that are not listed in the corresponding localization file.
MozReview-Commit-ID: Bl0VU9HoPfa
--HG--
extra : rebase_source : 86680b8ae037783304f045e94c7af7053a0f69e9
2018-04-06 20:21:35 +02:00
arthur.iakab
a63676a8df
Merge mozilla-central to autoland
2018-04-06 01:14:00 +03:00
Tom Schuster
8e3324212f
Bug 1404744 - Block loading FTP as a subresource everywhere. r=ckerschb
...
--HG--
extra : rebase_source : 479f1b7f55c3133c7f46c1a343a394fef15e9f59
2018-03-26 21:05:08 +02:00
Alex Chronopoulos
2ef6a59abe
Bug 1387454 - Create a MediaStreamGraph according to the given sample rate. r=padenot
...
MozReview-Commit-ID: 4YP8oWIVyjy
--HG--
extra : rebase_source : 54c83c0aa122fecc9e07868405e42d31b2172516
2018-04-03 20:02:15 +03:00
Emilio Cobos Álvarez
fba2b96b40
Bug 1446668: Remove now unused localization message. r=smaug
...
Reviewers: smaug
Bug #: 1446668
Differential Revision: https://phabricator.services.mozilla.com/D759
MozReview-Commit-ID: HRuJtM2mWeq
2018-03-18 01:53:14 +01:00
Emilio Cobos Álvarez
2738470e2b
Bug 474655: Add a deprecation warning + use counter to GetPropertyCSSValue. r=bholley
...
The use counter comes built-in with the DeprecatedOperationList stuff.
MozReview-Commit-ID: 9Opag1NMp32
2018-03-15 18:22:32 +01:00
Johann Hofmann
6fc9759b14
Bug 1442560 - Add a note for deprecating passing a storage option to indexedDB.open(). r=asuth
...
MozReview-Commit-ID: 44yCmYrPP26
--HG--
extra : rebase_source : f087aeb9fdd608fbd0f38b4f846c24fa01dcdfa6
2018-03-05 20:01:00 +01:00
Jonathan Kingston
ada03a865d
Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly
...
This patch disables device sensors except orientation by default.
It implements per-sensor prefs to disable orientation, motion, proximity and ambient light
selectively. The patch also makes the pref checks happen at runtime (versus on process
start) using Preferences::AddBoolVarCache.
The patch also removes the related Event constructors also.
MozReview-Commit-ID: EA8ARjjtlkF
--HG--
rename : dom/events/test/test_bug742376.html => dom/events/test/test_deviceSensor.html
rename : dom/events/test/test_eventctors.html => dom/events/test/test_disabled_events.html
rename : dom/events/test/test_eventctors.html => dom/events/test/test_eventctors_sensors.html
extra : rebase_source : 39da98ac9226ac727f5197d28561b0b762da06f4
2017-07-24 10:07:00 +02:00
Jonathan Kingston
eab7568bd9
Bug 1441794
- Add deprecation warning to passive OBJECT_SUBREQUEST loads. r=ckerschb
...
MozReview-Commit-ID: 3j2t5FDZFmp
--HG--
extra : rebase_source : f18623e42ba4fd54335d26536e4d40deab15c584
2018-02-28 13:56:35 +00:00
Kirk Steuber
f923709efc
Bug 1438243 - Improve the UI for pages blocked by policy r=Felipe
...
Improves the UI for pages blocked by the enterprise policy manager. These improvements include a new image instead of the generic "info" image and updated, approved strings for the page.
MozReview-Commit-ID: 9d6V9onHGGg
--HG--
extra : rebase_source : d702947924f24d9440455a56b7e2f876ab634464
2018-02-22 15:41:12 -08:00
Jonathan Kingston
8afc412494
Bug 1435733 - Upgrade mixed display content pref. r=baku,ckerschb,francois,mayhemer
...
MozReview-Commit-ID: ETIgVF3zhRu
--HG--
extra : rebase_source : e4c59f50584158f4b31527347b10424b56692fa1
2018-02-05 15:37:27 +00:00
Jonathan Kingston
9f340d8168
Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
...
MozReview-Commit-ID: 9NxFv57CyZO
--HG--
extra : rebase_source : 897ca40537493cc9df4bef7a538a5fdb04769889
2018-02-04 12:10:10 +00:00
Kirk Steuber
04e4231688
Bug 1421707 - Implement a system for disabling about: pages via Policy r=bz,Felipe
...
Additionally adds the enterprise policy for disabling about:config.
MozReview-Commit-ID: 7bT8eV3tRnN
--HG--
extra : rebase_source : a54cc94ea9dbecdfd37a17c96e5048a5d20c6411
2018-02-06 10:00:56 -08:00
Sebastian Hengst
2154b22a29
Backed out changeset dcb60325f0cf (bug 1429732) for breaking uriloader/exthandler/tests/mochitest/mochitest.ini: runByManifest mode must be enabled to set the `prefs` key (fails at least on Android)
2018-02-08 19:02:48 +02:00
Jonathan Kingston
cec85c2cae
Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
...
MozReview-Commit-ID: 9NxFv57CyZO
--HG--
extra : rebase_source : 59d21e85884c31aec88ed08300f0f3149ac075b7
2018-02-04 12:10:10 +00:00
Jonathan Kingston
53c9c480b7
Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
...
MozReview-Commit-ID: wYWHkGlV8h
--HG--
extra : rebase_source : 9a600559a9d61c42baf9e3e5fde6e35d5adeaf90
2018-01-12 19:09:30 +00:00
shindli
f0168929ca
Backed out changeset e401076359c6 (bug 1354175) for M(8) failures on a CLOSED TREE
2018-01-31 21:26:42 +02:00
Jonathan Kingston
8e24b20ae1
Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
...
MozReview-Commit-ID: wYWHkGlV8h
--HG--
extra : rebase_source : 19e2663304c582fdb20a45efc3e9b55fd43fa286
2018-01-12 19:09:30 +00:00
Christoph Kerschbaumer
47e37d6df2
Bug 1428793: Block insecure redirects to data: URIs. r=smaug
2018-01-23 09:57:47 +01:00
Jon Coppeard
8a6245d972
Bug 1330688 - Report a better error in the console when a module load fails r=baku r=flod
2017-12-19 15:29:38 +00:00
Francesco Lodolo (:flod)
58e2ec3e04
Bug 1424212 - Improve wording for ServiceWorkerPostMessageStorageError, remove unnecessary localization comments r=bkelly
...
Follow-up to bug 1418376
MozReview-Commit-ID: wfpzFEKClC
--HG--
extra : rebase_source : 4838c2a99adb4fccbc883fc5875dd01bf94c78b0
2017-12-08 13:23:16 +01:00
Tom Tung
c5d04dd0d5
Bug 1418376: Report to the console if a service worker is blocked because the storage is not fully allow. r=bkelly
...
--HG--
extra : rebase_source : eb1958c17cb2cc8e56b1eefe510817800ca19d2d
2017-11-29 09:29:55 +08:00
Tom Tung
5658a1d598
Bug 1222008 - P6: Reject the cors synthesized response for same-origin request. r=bkelly
...
--HG--
extra : rebase_source : ae4c9545d42af0dff1879bd77a39ae432bf07f20
2017-11-28 10:21:07 +08:00
Boris Zbarsky
e8d2ef04ef
Bug 691151. Remove Event.getPreventDefault. r=smaug
...
MozReview-Commit-ID: FQ3LzP7rW6e
2017-11-15 12:23:58 -05:00
Christoph Kerschbaumer
2fd8493f7f
Bug 1302667 - CSP: Implement 'worker-src'. r=baku,dveditz,mckinley
2017-10-30 18:45:36 +01:00
Coroiu Cristina
44d1b50592
Backed out changeset 70ccfda99dbc::ca6ae38c0432 (bug 1302667) for frequently failing mochitest in security/test/csp/test_worker_src.html r=backout a=backout on a CLOSED TREE
...
Backed out changeset ca6ae38c0432 (bug 1302667)
Backed out changeset ff86e185e09d (bug 1302667)
Backed out changeset 8ec6b8bf8c6c (bug 1302667)
Backed out changeset 21c73f9d8fac (bug 1302667)
Backed out changeset e982481dbf2c (bug 1302667)
Backed out changeset 70ccfda99dbc (bug 1302667)
2017-10-30 14:19:29 +02:00
Christoph Kerschbaumer
58b63c1576
Bug 1302667 - CSP: Implement 'worker-src'. r=baku,dveditz,mckinley
2017-10-30 09:10:36 +01:00
Sebastian Hengst
485da1eec8
Backed out changeset c2c746884242 (bug 1403027) for failing M-e10s(2,h2) without failure summary on Windows. r=backout on a CLOSED TREE
...
--HG--
extra : amend_source : e140ace761a6be91840cb282bc7c676561698291
2017-10-25 23:44:40 +02:00
Thomas Wisniewski
6bf7c6882a
Bug 1403027 - Do not throw from PerformanceObserver.observe when none of the entryTypes are known (log a JS console warning instead); r=bz
...
MozReview-Commit-ID: Lx2cjWDX8sh
--HG--
extra : rebase_source : d7e8b3dfbf395de0c0d7b5b7ce716a37337735f5
2017-10-22 22:49:44 -04:00
Sebastian Hengst
6125e83b28
Backed out changeset c5f2f0e827d0 (bug 1403027) for build bustage at dom/workers/WorkerPrivate.cpp(984): expression did not evaluate to a constant, at least on Windows. r=backout on a CLOSED TREE
...
--HG--
extra : amend_source : e6eb5cbe9b6b41a929c8f811859efe6093eab3a2
2017-10-21 00:31:07 +02:00
Thomas Wisniewski
ac538c1bc0
Bug 1403027 - Do not throw from PerformanceObserver.observe when none of the entryTypes are known (log a JS console warning instead); r=bz
...
MozReview-Commit-ID: Lx2cjWDX8sh
--HG--
extra : rebase_source : 7f70818de5e4c31eb1781d524e0129b0b20759e3
2017-10-20 15:58:20 -04:00
Ehsan Akhgari
7df8d7beeb
Bug 1406493 - Remove the rest of the attribute deprecation warnings; r=baku f=annevk
2017-10-09 18:26:11 -04:00
Ehsan Akhgari
c148b7bfeb
Bug 1404022 - Remove the deprecation warnings for Element.setAttribute/setAttributeNS; r=baku
2017-10-09 18:26:04 -04:00
Sebastian Hengst
5573e8270f
Backed out changeset 0ce8d073a16e (bug 256180)
2017-09-28 11:30:33 +02:00
Henri Sivonen
b245e01efe
Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug
...
MozReview-Commit-ID: K8fgv3rgklt
--HG--
extra : rebase_source : 3ad91a01805afcd1aeac89a5f2d5ac38dac1797b
2017-09-12 16:57:05 +03:00
Jonathan Watt
6b07b2d402
Bug 1399853 - Identify the ID of the elements involved in SVG reference loops in the Web Console error messages. r=longsonr
...
MozReview-Commit-ID: 7SOk2pMEezK
2017-09-11 17:02:35 +01:00
Sebastian Hengst
9fde47b255
Backed out changeset c863089c7166 (bug 1399853) for changing string texts without altering string ids. r=backout a=backout
...
MozReview-Commit-ID: 94W0KZjtlbd
2017-09-20 14:55:39 +02:00
Sebastian Hengst
bc68e8f407
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 9Z3Ly8icnvh
2017-09-20 11:48:02 +02:00
Johann Hofmann
4a84c97ab7
Bug 1394462 - Update dnsNotFound error copy and illustration. r=nhnt11
...
MozReview-Commit-ID: KFp3JhkCDJJ
--HG--
extra : rebase_source : 62449541d1d5362fbc15b18fde9b4964cd153c4c
2017-09-19 21:54:29 +02:00
Wes Kocher
3baa8a7e6e
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 5B5W6AHKcCb
2017-09-19 14:49:11 -07:00
Wes Kocher
a594331a16
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 7VZH3r52Gc7
2017-09-19 14:53:33 -07:00
Jonathan Watt
eecfb5b8d6
Bug 1399853 - Identify the ID of the elements involved in SVG reference loops in the Web Console error messages. r=longsonr
...
MozReview-Commit-ID: 7SOk2pMEezK
2017-08-25 19:11:43 +01:00
Boris Zbarsky
c1bab3a2f8
Bug 1400139 part 3. Add a use counter when the window.content getter is called from untrusted code. r=mystor
...
MozReview-Commit-ID: LFMK7lxs46Z
2017-09-18 21:24:38 -04:00
Erica Wright
5203d976cb
Bug 1394460 - Update illustration and copy for error: invalid URL. ui-r=shorlander r=johannh
...
MozReview-Commit-ID: 8mMUvlOzygj
--HG--
extra : rebase_source : 6b93f7de2bbf55c330c4c25f08555386362dce04
2017-08-29 16:55:31 -04:00
Masatoshi Kimura
60816b85fa
Bug 1398445 - Remove window._content. r=mystor,qdot
...
MozReview-Commit-ID: 13KovslzGnM
--HG--
extra : rebase_source : 801700a3dc0b1ca207e3b47e9f6433fbd2d00505
2017-09-09 10:47:48 +09:00
Andrew McCreight
2b68b38709
Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa
...
This patch gently removes support for __exposedProps__ by changing
ExposedPropertiesOnly::check() to always return false, while still
failing silently in deny for some kinds of access.
The tests that I changed all involve testing the behavior with
__exposedProps__. I adjusted them to expect it to fail, or to adjust
the error message they get when they fail. That seemed better than
deleting them entirely.
Note that test_bug1065185.html had a bug, so that it never executed
the first case. I fixed that, and then fixed up the test to work when
__exposedProps__ is not supported.
This also removes various bits of the test framework that use
__exposedProps__, but don't actually need to.
MozReview-Commit-ID: 8fvkAmITmXY
--HG--
extra : rebase_source : ef7e2c55adc12511f17f3865ebb46c343875f0b3
2017-08-22 14:24:11 -07:00
Francesco Lodolo (:flod)
95bcdec305
Bug 1391933 - Fix localization issues in Kill Add-on dialogs, r=kmag
...
Changes originally landed in bug 1356334:
* Removed SUMO link as a localizable string.
* Updated SUMO link: removed "en-US" from link and "cache" parameter.
* Use ordered placeholder instead of %S.
* Fix typo ("responsing").
* Use "extension" instead of "add-on" in DOM strings for consistency.
* Removed period from KillAddonScriptGlobalMessage, since it's a checkbox.
MozReview-Commit-ID: 5IFH2ruISZb
--HG--
extra : rebase_source : a0e84e5338b22e39c0f629c89b4d4b42b3d6bcbe
2017-08-20 10:52:32 +02:00