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

179 Коммитов

Автор SHA1 Сообщение Дата
Kashav Madan cf7f0e1361 Bug 1566310 - Nullcheck mWindowGlobalChild prior to notifying it of beforeunload listeners, r=nika
Missed in the 1543251 refactor.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 18:35:25 +00:00
Brendan Dahl 28dcf95b41 Bug 1557371 - Part 2 - Load all XUL crashtests with chrome privilege. r=dbaron
386947-1.xul, now has one assertion since we take a different code
path with chrome URL's and XBL files. The assertion is triggered since the
binding is invalid.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 19:40:42 +00:00
Geoff Brown ba35c1c343 Bug 1524493 - Skip crashtest 1419902.html on geckoview/debug; r=snorp
Skipping this test clears the way for running geckoview debug crashtests, finally.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:24:52 +00:00
Kartikaya Gupta 30a866a3ac Bug 1525314 - Disable tests that crash. r=gbrown
Depends on D36798

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

--HG--
extra : moz-landing-system : lando
2019-07-04 21:34:59 +00:00
Coroiu Cristina 3983fddf6d Backed out 6 changesets (bug 1525314) for reftest failures at reftests/svg/filters/css-filters/saturate-zero.html om a CLOSED TREE
Backed out changeset 0ed2509b7191 (bug 1525314)
Backed out changeset af72d1c4c107 (bug 1525314)
Backed out changeset ab21a3ff4ae4 (bug 1525314)
Backed out changeset 02399933ac4b (bug 1525314)
Backed out changeset 95790a07a93c (bug 1525314)
Backed out changeset 28f52fd3934e (bug 1525314)
2019-07-05 00:29:12 +03:00
Kartikaya Gupta 7cfd94cc2c Bug 1525314 - Disable tests that crash. r=gbrown
Depends on D36798

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

--HG--
extra : moz-landing-system : lando
2019-07-03 17:09:40 +00:00
Boris Chiou 65d67a409f Bug 1555786 - Get inner window from doc directly for resize observer. r=smaug
In Notify(), we should guarantee that the inner window we get is for the
document, and avoid using null outer window pointer.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 20:07:03 +00:00
Daniel Holbert 81b2c439b0 Bug 1537588: Add crashtest to verify that pagehide is fired, even if there's a sync XHR during pageload. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D24450

--HG--
extra : moz-landing-system : lando
2019-03-22 06:15:49 +00:00
Neil Deakin bdd278ae2c Bug 1519956, remove box object related crashtests that will no longer be applicable with no box objects, r=bzbarsky
--HG--
extra : rebase_source : d5dc1a25a740f9d95d00b261873a150f657c05d5
2019-03-07 17:57:12 -05:00
Emilio Cobos Álvarez 91dc6290f4 Bug 1528675 - Keep crashtests.list sorted. 2019-02-26 08:15:37 -08:00
Emilio Cobos Álvarez a5032402ec Bug 1528675 - Crashtest. 2019-02-26 08:10:55 -08:00
Margareta Eliza Balazs ca2235a67e Backed out 4 changesets (bug 1517025) for multiple failures e.g.: toolkit/components/telemetry/tests/unit/test_PingAPI.js CLOSED TREE
Backed out changeset 1e173178e49f (bug 1517025)
Backed out changeset c29889dea969 (bug 1517025)
Backed out changeset 48c7d643d2fa (bug 1517025)
Backed out changeset 419cb778d531 (bug 1517025)
2019-01-21 16:13:56 +02:00
Valentin Gosu 177f356f36 Bug 1517025 - Add crashtest with invalid URL r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D16817

--HG--
extra : moz-landing-system : lando
2019-01-21 08:40:29 +00:00
Ryan VanderMeulen 1c3b8630e4 Bug 1462548 - Add crashtest. r=me
--HG--
extra : rebase_source : 8cafb85d648997504fa1a3e0397e5c3b64f31606
2019-01-12 11:56:23 -05:00
Ryan VanderMeulen 43004ee1dc No bug - Clean up dom/base/crashtests/crashtests.list a bit. r=me
Also re-enables some tests which no longer timeout intermittently.

--HG--
extra : rebase_source : c99178e1028e7d9ab2e7fd8da30220b37d311a95
2019-01-12 11:54:11 -05:00
Emilio Cobos Álvarez 4ed96af22f Bug 1510204, bug 1516289 - Fix composedPath implementation when slots are present. r=smaug 2019-01-05 17:00:25 +01:00
Boris Zbarsky b7c8308871 Bug 1516560. Stop trying to do DOM proxy caching for DOM proxies with dynamic prototypes. r=jandem
This only affects Location.

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

--HG--
extra : moz-landing-system : lando
2018-12-31 16:16:00 +00:00
Emilio Cobos Álvarez d285902ade Bug 1508845 - Make BlastSubtreeToPieces handle Shadow DOM. r=smaug
We can use the unattach shadow stuff because BlastSubtreeToPieces will remove
all the slots.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 13:02:24 +00:00
Paolo Amadini 9004df8f9b Bug 1499947 - Part 2 - Remove the "progressmeter" element and related tests. r=bgrins,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12145

--HG--
extra : rebase_source : a322611933b371e726b25dd4223456a8f761e886
2018-11-20 14:12:33 +00:00
Timothy Guan-tin Chien af2973ef61 Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

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

--HG--
extra : moz-landing-system : lando
2018-11-15 06:52:01 +00:00
Timothy Guan-tin Chien 2b5881e46b Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 06:51:07 +00:00
Andreea Pavel d51566f085 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Timothy Guan-tin Chien c69315234b Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug
This patch removes the following functions:

* nsContentUtils::IsCustomElementsEnabled()
* CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject)
* CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc)

and all references of the pref.

Depends on D11183

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

--HG--
extra : moz-landing-system : lando
2018-11-14 19:37:42 +00:00
Timothy Guan-tin Chien c0cc4f74e7 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 19:34:52 +00:00
Boris Zbarsky 1524bab2a9 Bug 1505811. Don't leave exceptions dangling on the JSContext when regexp execution fails during HTML input pattern matching. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D11818

--HG--
extra : moz-landing-system : lando
2018-11-14 18:48:34 +00:00
Emilio Cobos Álvarez 80bd2cd013 Bug 1505875 - Clear out the ShadowRoot host pointer when unattaching it. r=smaug
As expected, this is specific to the UA widget stuff.

What's going on here is that given we don't clear out the host when unattaching
the shadow tree, mutating that shadow tree still notifies all the way up to the
document, and that gets all the other code confused, thinking that the node is
connected.

Indeed, the first assertion that fails when loading that test-case in a debug
build is:

  https://searchfox.org/mozilla-central/rev/17f55aee76b7c4610a974cffd3453454e0c8de7b/dom/base/nsNodeUtils.cpp#93

This seems the best fix to avoid confusion. Also clear the mutation observer,
to completely forget about the host.

Chrome code dealing with UA widgets needs to be careful, but I think this is
safe. All the code that assumes that GetHost() doesn't return null is in code
dealing with connected shadow trees only (style system / layout), or in
mutation observer notifications from the host.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 20:55:22 +00:00
Brendan Dahl da472b2bfe Bug 1480206 - Move XULDocument popup attributes to Document. r=bz
Allows top level non-XUL documents to share this code. Three tests had to
be adjusted to account for the attributes being chrome only now and not
available to content privilege XUL. In two tests, the values attributes
are now simply undefined. The crashtest was converted to a chrome
mochitest to preserve what it was testing.

MozReview-Commit-ID: 99w9Ax4et3C

--HG--
rename : dom/base/crashtests/473284.xul => dom/base/test/chrome/test_bug473284.xul
extra : rebase_source : 924d34a88fe8a48d766f78b02e64275f6e7cdc2b
2018-08-06 10:52:53 -07:00
Jesse Ruderman b5cbc6c7a9 Bug 607222 - Add crashtest. r=mats 2018-07-01 18:06:49 +02:00
Olli Pettay 36d68d7024 Bug 1441029, give up early on invalid 'is attribute values, r=mrbkap
--HG--
extra : rebase_source : 5e63b39f69e2acafb67fbc8d8dda2fee155db61f
2018-05-30 12:41:20 +03:00
Emilio Cobos Álvarez dd5f25c2f6 Bug 1465107: Cleanup remaining mochitest / reftest / crashtests stylo expectations. r=xidorn
MozReview-Commit-ID: 1IeURcnoESX
2018-05-30 10:03:50 +02:00
Olli Pettay 41366ba801 bug 1460794, ensure the right document is used for DOMSubtreeModified event, r=hsivonen
--HG--
extra : rebase_source : 1363016f0a6da8ca2f5be4d0a21e1ee0a6376c1c
2018-05-13 00:46:45 +03:00
Dão Gottwald 140aac0617 Bug 1456530 - Stop dispatching the select event on the tabs element. r=mconley
MozReview-Commit-ID: B4Ash6lC64u

--HG--
extra : rebase_source : a40cde1b42c9c6fb0c76e021556e8458176dfc32
2018-05-08 11:48:00 +02:00
Emilio Cobos Álvarez e6040e95d1 Bug 1459688: Properly traverse the stylesheet list of the shadow root. r=smaug
This is sound because the unlink implementation of the stylesheet drops the
preserved wrapper, and there are no strong references back to any node from the
stylesheet or any of the non-unlinked members.

This almost is the same setup that works for document sheets. We need to account
for a double reference in case the sheet is applicable because Servo keeps
another reference to it in that case, instead of in the StyleSet / PresShell.

Added the testcase as a crashtest, in the hopes that if it regresses leak
reporting on automation will catch it.

MozReview-Commit-ID: Kcc5oaOvP9A
2018-05-07 20:42:20 +02:00
Tyson Smith 0d486d7cd3 Bug 1458016: Crashtest. r=emilio
MozReview-Commit-ID: LQeydd27UjF
2018-05-02 04:21:22 +02:00
Tyson Smith 8e22327e93 Bug 1422883: Crashtest. r=emilio
MozReview-Commit-ID: HaE9RYyMrmZ
2018-05-02 04:19:12 +02:00
Emilio Cobos Álvarez 004145b9a3 Bug 1281745: Don't consider <xbl:children> in a shadow root without any binding active. r=smaug
MozReview-Commit-ID: GSewdIOpKIv
2018-04-13 20:53:11 +02:00
Emilio Cobos Álvarez 9509cd7e32 Bug 1453789: Remove Element.createShadowRoot. r=smaug
MozReview-Commit-ID: Hgxbp1Icgvh
2018-04-13 20:51:55 +02:00
Boris Zbarsky b3e9f0c75d Bug 1449601. Stop dereferencing a null mIterNode in find code. r=mystor
MozReview-Commit-ID: 2buTShJNqFp
2018-04-09 16:30:31 -04:00
Boris Zbarsky c6d492b79e Bug 1445670. Make sure to clear out the pending request when our image gets blocked by the data document policy. r=jdm 2018-04-04 14:40:01 -04:00
Jonathan Watt f6c1f57fe8 Bug 1397795 part 3 - Don't rely on opaque widgets not having overflow. r=mstange
MozReview-Commit-ID: GJNDwQUjfEr
2018-02-19 16:00:32 +00:00
Jonathan Watt a39f30cb97 Bug 1397795 part 2 - Crashtest for box-shadow. r=mstange
MozReview-Commit-ID: 8zEK1R77znx
2018-02-19 13:14:46 +00:00
Emilio Cobos Álvarez d5f66d9925 Bug 1446668: Remove setUserData crashtests. r=smaug
Reviewers: smaug

Bug #: 1446668

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

MozReview-Commit-ID: wyAvCCWbrS
2018-03-18 01:53:13 +01:00
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
Jessica Jong 4bee56a645 Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug
Most of the Shadow DOM related code are behind "dom.webcomponents.enabled" and
this pref is only used by Shadow DOM right now, so we should rename it to
"dom.webcomponents.shadowdom.enabled"

MozReview-Commit-ID: er1c7AsSSW
2018-01-16 17:16:30 +01:00
Emilio Cobos Álvarez 198b044d86 Bug 1428053: Fix ShadowRoot::ContentAppended. r=jessica
MozReview-Commit-ID: iUhaP8VVIO
2018-01-05 11:18:18 +01:00
Christoph Kerschbaumer 4ed18db7cb Bug 1419902 - Add crashtest for nullptr deref of doc within nsGlobalWindowOuter::CloseOuter. r=smaug,ryanvm 2017-12-13 20:27:13 +01:00
Andreea Pavel fde133ddff Backed out 1 changesets (bug 1419902) for crashtest failures e.g. /build/tests/reftest/tests/gfx/tests/crashtests/1343666.html r=backout a=backout on a CLOSED TREE
Backed out changeset 8a16779be2fb (bug 1419902)
2017-12-19 23:06:40 +02:00
Christoph Kerschbaumer 791887bedd Bug 1419902 - Add crashtest for nullptr deref of doc within nsGlobalWindowOuter::CloseOuter. r=smaug
--HG--
extra : rebase_source : 400d67698e5901d915832b133b95f47765e16af7
2017-12-13 20:27:13 +01:00
Jessica Jong b519c97d26 Bug 1422931 - Part 1: Fix crash with slot element. r=smaug 2017-12-09 11:24:58 +08:00
Narcis Beleuzu f0d93dda2c Backed out 2 changesets (bug 1422931) for crashtest failures on dom/base/crashtests/1419799.html r=backout on a CLOSED TREE
Backed out changeset 60d9744e3fc4 (bug 1422931)
Backed out changeset cf554d5d70cc (bug 1422931)
2017-12-08 18:27:56 +02:00