Commit Graph

63 Commits

Author SHA1 Message Date
arthur.iakab
c0b26c4076 Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02: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
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
Andrea Marchesini
5e3dc65e1b Bug 1507230 - dom.security.featurePolicy.webidl.enabled pref controls the exposing of document.policy and HTMLIFrameElement.policy attributes, r=ckerschb 2018-11-14 23:58:52 +01:00
Andrea Marchesini
3c9a4a719c Bug 1507230 - dom.security.featurePolicy.header.enabled pref controls the using of FeaturePolicy header, r=ckerschb 2018-11-14 23:58:35 +01:00
Gijs Kruitbosch
ec4136b39b Bug 1504062 - fix timeouts in dom test_fullscreen_api.html, r=kats
Differential Revision: https://phabricator.services.mozilla.com/D10723

--HG--
extra : moz-landing-system : lando
2018-11-02 16:46:54 +00:00
Andrea Marchesini
cf687d4b6a Bug 1495362 - FeaturePolicy: fullscreen, r=smaug 2018-10-04 14:34:37 +02:00
Xidorn Quan
9d8716ba91 Bug 1489376 - Dispatch fullscreen events in tree order. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D5394

--HG--
extra : moz-landing-system : lando
2018-09-10 14:17:08 +00:00
Xidorn Quan
56fb4472fd Bug 1468648 - Skip file_fullscreen-scrollbar.html test in headless mode. r=jrmuizel
MozReview-Commit-ID: 8ioRY8zd45U

--HG--
extra : rebase_source : 80a1d7fb8b027d70bb4657a890e284bfd8ab41a6
2018-07-16 11:27:03 +10:00
Csoregi Natalia
f3599e000e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-30 12:28:56 +03:00
Emilio Cobos Álvarez
aa934dea20 Bug 1465107: Remove isStyledByServo. r=xidorn
MozReview-Commit-ID: 8HWBH9kWyxV
2018-05-30 10:04:18 +02:00
Kartikaya Gupta
4a353fa16b Bug 1465078 - Wait for MozAfterPaint on new windows before requesting fullscreen. r=xidorn
MozReview-Commit-ID: 7cgujvsCdfh

--HG--
extra : rebase_source : 1db42770fe0d155471492eb083dc5580021773a0
2018-05-29 11:33:25 -04:00
Emilio Cobos Álvarez
f3344c9f7b Bug 1425759: Update test expectations. r=smaug,xidorn
This is enough to get the stylo-enabled build green.

There's still some orange in WPT with stylo disabled (due to interfaces not
exposed and that) that I'll update tomorrow.

Will send a different patch on top of this for that, though I'll land together.

MozReview-Commit-ID: CsN5CM93RUz
2018-02-27 12:39:58 +01:00
Olli Pettay
1a35b521d0 Bug 1430305 - Implement ShadowRoot.fullscreenElement , r=mrbkap
--HG--
extra : rebase_source : 363143c1767cc9ad33fcd9dd7afd74848f709956
2018-02-13 18:57:32 +02:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Brendan Dahl
25dd61aaf2 Bug 1410477 - Re-add file_fullscreen-plugins.html test. r=jrmuizel
Accidentally removed in bug 1408220.

MozReview-Commit-ID: GgzovCsFdcr

--HG--
extra : rebase_source : db3b2b003eed4655cd9ea1ea1f42377f4ee85cc6
2017-10-20 10:32:30 -07:00
Brendan Dahl
734c99161a Bug 1408220 - Skip fullscreen plugin test in headless mode. r=jrmuizel
--HG--
extra : rebase_source : 49eab6c1940b5b865e12e7b9deec478321b832af
2017-10-11 14:11:22 -07:00
Emilio Cobos Álvarez
afb59c871d Bug 1387942: Relax backdrop frame parenthood assertion, and re-enable test. r=xidorn
MozReview-Commit-ID: 99I3apwe52l

--HG--
extra : rebase_source : a9900b925cb58e095572fca75e211cc0e16c942f
2017-09-12 08:41:17 +02:00
Xidorn Quan
58e5987209 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM

--HG--
extra : rebase_source : a5ed4b2a11c293c50d642c3a0da6831ce5a885a1
extra : source : 8d97565b7dedaef3b46e65b92b1ca1e0598d2a76
extra : histedit_source : 72834d0bc485e78cb8c1de357e4b545d7e6408f5
2017-08-09 08:31:26 +10:00
Edgar Chen
7b429345fd Bug 1236512 - Part 3: Set docShellIsActive to false when browser window is fully covered by another application; r=mconley
MozReview-Commit-ID: DLsmWp1h8pa
2017-06-05 14:56:00 +08:00
Carsten "Tomcat" Book
7a237f7900 Backed out changeset f9147bef9fc6 (bug 1236512) 2017-06-20 14:30:34 +02:00
Edgar Chen
2ae9d877a0 Bug 1236512 - Part 3: Set docShellIsActive to false when browser window is fully covered by another application; r=mconley
MozReview-Commit-ID: DLsmWp1h8pa
2017-06-05 14:56:00 +08:00
Dan Banner
cdf987089d Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4

--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Kan-Ru Chen
0c34be42f1 Bug 1350875 - Disable file_fullscreen-api.html and file_fullscreen-scrollbar.html for linux m-e10s. r=xidorn
MozReview-Commit-ID: IMbnY2nfSNW

--HG--
extra : rebase_source : acbcd881607552c02f2d033dcadf69d3de66f4b4
2017-04-07 15:40:27 -04:00
Xidorn Quan
5912e6a453 Bug 1330553 - Disable fullscreen-plugins subtest for e10s Linux.
MozReview-Commit-ID: BxBS6P8ckD8

--HG--
extra : source : b9ebeae54294e90c1784973f408e1c8874bc114d
2017-02-08 14:42:06 +11:00
Phil Ringnalda
a5ec383cac Backed out changeset 438881cf9dac (bug 1330553) for making test_fullscreen-api.html permatimeout on e10s Linux
CLOSED TREE
2017-02-07 18:35:21 -08:00
Xidorn Quan
f140165057 Bug 1330553 - Disable fullscreen-plugins subtest for e10s Linux.
MozReview-Commit-ID: BxBS6P8ckD8

--HG--
extra : rebase_source : 9ca596c40feb3fa7d5e76fbcc8daa0e4839bb4c1
extra : source : 3e86d4032007a6637593b396a104d29b2c9ea57b
2017-02-08 12:11:10 +11:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Xidorn Quan
e1ee43ee63 Bug 1223561 - Support putting <table> into fullscreen. r=dbaron
MozReview-Commit-ID: 5ohJW9U65dr

--HG--
extra : rebase_source : 6354a9d2f351a926c8dfb97fac342f634364cf57
2016-11-22 16:31:56 +11:00
Iris Hsiao
11e8b7fb2a Backed out changeset 535f8682016b (bug 1223561) for test_fullscreen-api.html timeout 2016-11-23 16:53:03 +08:00
Xidorn Quan
b283046733 Bug 1223561 - Support putting <table> into fullscreen. r=dbaron
MozReview-Commit-ID: 5ohJW9U65dr

--HG--
extra : rebase_source : 3edab41eb85239cc765d7305b1a6083397d4a158
2016-11-22 16:31:56 +11:00
Xidorn Quan
adac331402 Bug 1268798 part 4 - Mark Document.fullscreenElement and fullscreenEnabled with LenientSetter. r=smaug
MozReview-Commit-ID: B2F2sCLm0G8

--HG--
extra : source : be1844a64bb5207f84692a9a2ed73c2dacb45aa9
2016-05-12 10:28:56 +10:00
Xidorn Quan
6d755304f4 Bug 1268749 part 6 - Add test for behavior when unprefixed api is disabled. r=smaug
MozReview-Commit-ID: EUaoiTsVJK9

--HG--
extra : rebase_source : 5dce9bd6bc53fdefd1668908fe433e6f9b592e95
2016-05-02 15:36:53 +10:00
Xidorn Quan
80715b9c70 Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r=smaug
MozReview-Commit-ID: 4NjbHgDfvBM

--HG--
extra : rebase_source : b2da0b2063a5e2a2af3bdda5dbe26e3fb6aa1935
2016-05-02 14:14:36 +10:00
Ryan VanderMeulen
3f36076406 Bug 1262050 - Remove unneeded assertion and update test annotations accordingly. r=jimm
--HG--
extra : rebase_source : d2471bd4cce2a65b1247d23225c7ccab4bab5f01
2016-04-08 12:11:44 -04:00
Ehsan Akhgari
3482a3267c Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-18 11:13:20 -04:00
Jonathan Griffin
0b0e0abda1 Bug 1232780 - Adjust test exclusions for win7 debug e10s, a=test-only 2016-03-01 10:36:31 -08:00
Xidorn Quan
e7d75e819c Bug 743198 part 10 - Add test for prefixed Fullscreen API. rs=smaug
--HG--
extra : source : cc5b65b5e13c4a0ed7a177ab1a1ee594f4f50245
2016-02-17 08:47:11 +08:00
Xidorn Quan
3921fbeec5 Bug 1064843 part 12 - Add test for ::backdrop of fullscreen. r=dholbert
--HG--
extra : source : 51cc1af3ff479d88055b79d97a89af9c99e49424
2016-01-28 10:11:00 +11:00
Xidorn Quan
8219338ba4 Bug 1191597 part 3 - Convert fullscreen-api-keys to a browser chrome test. r=smaug
--HG--
extra : source : e7639263857cc7d6c434ddd690a3653abbf3b189
2016-01-11 09:38:53 +11:00
Xidorn Quan
ad53fe3a56 Bug 1191597 part 2 - Convert fullscreen-esc-context-menu to a browser chrome test. r=smaug
--HG--
extra : source : 7eb596b873e6029b6f3d6a749a0206e74ae8f395
2016-01-11 09:38:53 +11:00
Xidorn Quan
eba013fd82 Bug 1187801 part 4 - Add test for iframe fullscreen flag. r=smaug
--HG--
extra : source : 3abe23b442edf1db41892ce620ca02fb09f2ac0b
2015-10-08 17:47:39 +11:00
Xidorn Quan
ccd57823e9 Bug 1126230 part 10 - Add test for fullscreen top layer. r=dbaron
--HG--
extra : source : 565db2ee35652291d8d502301f50da22fb87cddd
2015-10-07 14:04:32 +11:00
Xidorn Quan
a52fd07abd Bug 1126230 part 9 - Remove fullscreen override and related test. r=dbaron
--HG--
extra : source : 3abf655d87187abc2d3dcd100a267410c42abbb0
2015-10-07 14:04:32 +11:00
Nigel Babu
a47d2e063f Backed out 9 changesets (bug 1126230) for Mulet Gij(25) and M(5) failures
Backed out changeset 8a9d8a556183 (bug 1126230)
Backed out changeset 441b55f015c2 (bug 1126230)
Backed out changeset 7bfa2a2d4e29 (bug 1126230)
Backed out changeset b55511536c65 (bug 1126230)
Backed out changeset ada76e419aac (bug 1126230)
Backed out changeset 745d659bef49 (bug 1126230)
Backed out changeset 7c303cc4c30b (bug 1126230)
Backed out changeset 8bf708acbad4 (bug 1126230)
Backed out changeset 590404aac357 (bug 1126230)
2015-10-02 13:39:20 +05:30
Xidorn Quan
7580549351 Bug 1126230 part 9 - Add test for fullscreen top layer. r=dbaron
--HG--
extra : source : 6d08c20b20847b1bc980774658974103fc25e498
2015-10-02 16:34:09 +10:00
Xidorn Quan
fd6366f6e5 Bug 1126230 part 8 - Remove fullscreen override and related test. r=dbaron
--HG--
extra : source : 13c6349bea96873967ba5113b552d31f1dab1bac
2015-10-02 16:34:09 +10:00
Xidorn Quan
ed06bdf859 Bug 1201798 part 3 - Add test for viewport scrollbar on fullscreen. r=roc
--HG--
extra : source : 4ebd6caa70383189c51f9436d5777b5e828617a0
2015-09-30 10:48:41 +10:00