Kagami Sascha Rosylight
db51a09b71
Bug 1717613 - Remove HAVE_SIDEBAR build condition r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D118613
2021-06-24 20:55:37 +00:00
Sandor Molnar
eb76c5d338
Backed out changeset 9da3d7718f82 (bug 1717613) for causing BR build bustages. CLOSED TREE
2021-06-24 22:24:55 +03:00
Tom Schuster
cb5f62506e
Bug 1699268 - Remove JSID_IS_ATOM. r=mgaudet,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D118589
2021-06-23 21:16:52 +00:00
Kagami Sascha Rosylight
2775293766
Bug 1717613 - Remove HAVE_SIDEBAR build condition r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D118613
2021-06-23 20:36:16 +00:00
Peter Van der Beken
ed84833fdf
Bug 1711544 - Move decision about name resetting to the parent process if we're replacing the BC for BFCache in the parent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D116759
2021-06-21 10:31:36 +00:00
Andi-Bogdan Postelnicu
45c2f471e5
Bug 1519636 - Reformat recent changes to the Google coding style. r=necko-reviewers,emilio
...
Updated with clang-format version 12.0.0 (taskcluster-FZRqPXamQIOU_i4hF0cAcg)
Differential Revision: https://phabricator.services.mozilla.com/D117905
2021-06-17 11:00:22 +00:00
Kris Maglione
799bf19224
Bug 1646560: Part 2 - Move allowJavascript and friends from DocShell to BrowsingContext and WindowContext. r=jdescottes,nika,geckoview-reviewers,devtools-backward-compat-reviewers,agi
...
This is slightly complicated by the fact that the editor code wants to be able
to set this from the content process, so we really need separate
BrowsingContext and WindowContext flags, the latter of which can be set by the
owning process.
Differential Revision: https://phabricator.services.mozilla.com/D114899
2021-06-15 04:40:11 +00:00
Emilio Cobos Álvarez
f36d3ee88e
Bug 1699837 - Make sure that remote iframes honor print settings. r=mattwoodrow
...
This fixes it since we honor the print resolution properly now.
Differential Revision: https://phabricator.services.mozilla.com/D115263
2021-06-13 09:16:53 +00:00
Dorel Luca
4e5b843ad3
Backed out changeset 43a82597dade (bug 1699837) for Crashtest in layout/printing/crashtests/1671503.html. CLOSED TREE
2021-06-11 19:48:10 +03:00
Emilio Cobos Álvarez
4a29358676
Bug 1699837 - Make sure that remote iframes honor print settings. r=mattwoodrow
...
This fixes it since we honor the print resolution properly now.
Differential Revision: https://phabricator.services.mozilla.com/D115263
2021-06-11 13:07:55 +00:00
Sean Feng
5d728a4ac8
Bug 1690905 - Factors DOM memory sizes out to its own struct r=mccr8
...
This patch factors the DOM related sizes in nsWindowSizes to its own
struct, such that callers can easily acess DOM memory sizes.
Differential Revision: https://phabricator.services.mozilla.com/D111317
2021-05-27 17:55:44 +00:00
Tom Schuster
9e592bc0ac
Bug 1710835 - Remove PropertyDescriptor setDataDescriptor. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D115396
2021-05-19 10:26:02 +00:00
Andre Natal
24267934f5
Bug 1674383 - Allow the usage of SharedArrayBuffer by priviliged addons r=mixedpuppy,asuth,nika
...
Allow the usage of SharedArrayBuffer by priviliged addons
Differential Revision: https://phabricator.services.mozilla.com/D114046
2021-05-17 16:17:38 +00:00
Emilio Cobos Álvarez
46fd530797
Bug 1710887 - Make modal state handling in window.print() more reliable. r=smaug
...
If afterprint removes the window we're printing, we'd call
LeaveModalState() without a top window, and never leave the modal state.
Differential Revision: https://phabricator.services.mozilla.com/D115007
2021-05-12 19:26:20 +00:00
Tom Schuster
d046c29817
Bug 1710064 - Remove FillPropertyDescriptor. r=peterv
...
I hope I got all the PropertyAttributes right, it's easy to get them confused.
Differential Revision: https://phabricator.services.mozilla.com/D114595
2021-05-11 09:23:18 +00:00
Edgar Chen
92f875c9de
Bug 1706316 - Part 1: Remove nsIEmbeddingSiteWindow::setFocus; r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D112739
2021-05-10 20:05:12 +00:00
Tom Schuster
1dab02b5b6
Bug 1708698 - Stop using PropertyDescriptor object in browser. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D113978
2021-05-07 12:29:06 +00:00
Emilio Cobos Álvarez
25dda385ce
Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel
...
This should be mostly straight-forward, since we have code for this
anyways for image-set() and srcset.
The only thing is that we were using floats for resolution, but since
EXIF allows you to scale each axis separately, we now need to pass an
image::Resolution instead.
The main outstanding issue is the spec comment mentioned in the previous
patch, about what happens if you have srcset/image-set and the image
density specified together. For now I've implemented what the
image-set() spec says, but this is subject to change before shipping of
course.
Differential Revision: https://phabricator.services.mozilla.com/D113265
2021-05-05 09:41:24 +00:00
Iulian Moraru
8facca1839
Backed out 3 changesets (bug 1680387) for causing browser chrome failures on browser_bug592641.js. CLOSED TREE
...
Backed out changeset 65616921e520 (bug 1680387)
Backed out changeset 51531850a9a2 (bug 1680387)
Backed out changeset 0c1c5e1f901b (bug 1680387)
2021-05-04 16:28:17 +03:00
Emilio Cobos Álvarez
7529205fc3
Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel
...
This should be mostly straight-forward, since we have code for this
anyways for image-set() and srcset.
The only thing is that we were using floats for resolution, but since
EXIF allows you to scale each axis separately, we now need to pass an
image::Resolution instead.
The main outstanding issue is the spec comment mentioned in the previous
patch, about what happens if you have srcset/image-set and the image
density specified together. For now I've implemented what the
image-set() spec says, but this is subject to change before shipping of
course.
Differential Revision: https://phabricator.services.mozilla.com/D113265
2021-05-04 10:24:07 +00:00
Emilio Cobos Álvarez
a27c431816
Bug 1705877 - Apply image-set resolution for cursors on Windows and Mac. r=dholbert
...
This required more refactoring so it seemed sensible to split it out. GTK
doesn't seem to provide an API for scaled cursors so we get pixelated cursors
instead.
Differential Revision: https://phabricator.services.mozilla.com/D112676
2021-04-20 14:21:25 +00:00
Tom Schuster
1ebdef5ea7
Bug 1704293 - Use Maybe<PropertyDescriptor> for BaseProxyHandler::getOwnPropertyDescriptor in DOM and XPConnect. r=jandem,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D112037
2021-04-19 19:51:59 +00:00
Kris Maglione
fa4803489f
Bug 1704686: Rename Document::GetTopLevelContentDocument. r=nika
...
It's deprecated, and returns null if the top document isn't in-process, so its
name should be clear on that point.
Differential Revision: https://phabricator.services.mozilla.com/D111771
2021-04-15 21:19:28 +00:00
Jan de Mooij
09384170b5
Bug 1704851 part 8 - Change CheckRecursionLimitConservativeDontReport to AutoCheckRecursionLimit::checkConservativeDontReport. r=tcampbell
...
Depends on D111875
Differential Revision: https://phabricator.services.mozilla.com/D111876
2021-04-14 09:01:33 +00:00
Gijs Kruitbosch
f7a3461db8
Bug 1694661 - Update repeat prompt label for content prompts, r=nika,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D107576
2021-04-07 11:07:16 +00:00
Emilio Cobos Álvarez
ea04ef18f7
Bug 1702033 - Remove some dead audio volume-related code in nsPIDOMWindow. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D110296
2021-03-30 19:38:02 +00:00
Kris Maglione
a5a729c8b8
Bug 1581859: Part 3b - Update existing GetPropertyAsInterface callers to use typesafe do_GetProperty instead. r=mccr8,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D103211
2021-03-25 19:47:02 +00:00
Csoregi Natalia
38f6ebd14b
Backed out 10 changesets (bug 1581859) for causing hazard failures. CLOSED TREE
...
Backed out changeset 93fe6801a5e2 (bug 1581859)
Backed out changeset 0a33cb185fb3 (bug 1581859)
Backed out changeset 9ceaad6dab5b (bug 1581859)
Backed out changeset ee611f0839ca (bug 1581859)
Backed out changeset 4199963fe477 (bug 1581859)
Backed out changeset b4c5ace21b9e (bug 1581859)
Backed out changeset 6003469dc449 (bug 1581859)
Backed out changeset 826c62b783c0 (bug 1581859)
Backed out changeset e1d7851295fd (bug 1581859)
Backed out changeset 9796577af27a (bug 1581859)
2021-03-24 08:48:00 +02:00
Kris Maglione
ee1bddb3b0
Bug 1581859: Part 3b - Update existing GetPropertyAsInterface callers to use typesafe do_GetProperty instead. r=mccr8,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D103211
2021-03-23 23:57:11 +00:00
Cosmin Sabou
7493b9124d
Backed out 10 changesets (bug 1581859) for causing hazard failures on ExtensionsParent.cpp.
...
Backed out changeset 6020ec7d7f32 (bug 1581859)
Backed out changeset 07901e457839 (bug 1581859)
Backed out changeset e23389fc98b5 (bug 1581859)
Backed out changeset 4287eebc2c77 (bug 1581859)
Backed out changeset eeff6f501cfc (bug 1581859)
Backed out changeset 22db36f7d16d (bug 1581859)
Backed out changeset 16831d45d0ed (bug 1581859)
Backed out changeset 816643de7694 (bug 1581859)
Backed out changeset 6fd5aa7895e3 (bug 1581859)
Backed out changeset 2b68d2eee18e (bug 1581859)
2021-03-23 05:48:27 +02:00
Kris Maglione
40d57d3619
Bug 1581859: Part 3b - Update existing GetPropertyAsInterface callers to use typesafe do_GetProperty instead. r=mccr8,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D103211
2021-03-22 20:12:16 +00:00
Olli Pettay
300ccf2927
Bug 1698549 - Call FireDelayedDOMEvents when restoring a bfcached page, r=peterv
...
The test isn't testing anything mApplicationCache related, since appcache is basically
no-op code.
Depends on D107930
Differential Revision: https://phabricator.services.mozilla.com/D108487
2021-03-21 21:46:25 +00:00
Alexandru Michis
651e3d34ea
Backed out changeset f588378316fd (bug 1699259) for causing mochitest failures in test_focusrings.xhtml
...
CLOSED TREE
2021-03-20 03:10:02 +02:00
Emilio Cobos Álvarez
dd869c5378
Bug 1699259 - Add a ChromeOnly FocusOptions.preventFocusRing to opt out of focus ring heuristics. r=edgar,Gijs
...
This seems easier than making those heuristics work across processes
somehow.
Differential Revision: https://phabricator.services.mozilla.com/D108931
2021-03-19 23:10:35 +00:00
harry
1e57da5402
Bug 1699506 - Part 1 - Add a NSTitlebarAccessoryViewController to ToolbarWindow to track when the titlebar is shown in fullscreen. r=mac-reviewers,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D106846
2021-03-18 20:20:39 +00:00
Emilio Cobos Álvarez
ce2b7f509a
Bug 1699154 - Tweak focusring heuristics for script focus. r=edgar
...
What we implemented before this patch was basically what the heuristics
in the spec said, which used to be normative:
https://drafts.csswg.org/selectors/#the-focus-visible-pseudo
That has become non-normative and there's ongoing discussion on what
should happen for cases like this in:
https://github.com/w3c/csswg-drafts/issues/5885
https://github.com/web-platform-tests/wpt/pull/27806
There seems to be agreement on that WPT issue on cases like this one, so
let's make it work.
Differential Revision: https://phabricator.services.mozilla.com/D108805
2021-03-18 19:53:38 +00:00
Nika Layzell
62ff9d48ca
Bug 1697927 - Part 1: Only expose HadOriginalOpener on BrowsingContext, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D108860
2021-03-18 16:15:17 +00:00
smolnar
6b4219af67
Backed out changeset 74ab7aa60b1a (bug 1699154) for causing reftest failures. CLOSED TREE
2021-03-18 18:39:44 +02:00
Emilio Cobos Álvarez
bd2d67da06
Bug 1699154 - Tweak focusring heuristics for script focus. r=edgar
...
What we implemented before this patch was basically what the heuristics
in the spec said, which used to be normative:
https://drafts.csswg.org/selectors/#the-focus-visible-pseudo
That has become non-normative and there's ongoing discussion on what
should happen for cases like this in:
https://github.com/w3c/csswg-drafts/issues/5885
https://github.com/web-platform-tests/wpt/pull/27806
There seems to be agreement on that WPT issue on cases like this one, so
let's make it work.
Differential Revision: https://phabricator.services.mozilla.com/D108805
2021-03-18 15:08:31 +00:00
smolnar
8a66401dd4
Backed out changeset 1c8b807651b8 (bug 1699154) for causing mochitest failures in test_focusrings.xhtml CLOSED TREE
2021-03-18 15:46:51 +02:00
Emilio Cobos Álvarez
6e69a23e46
Bug 1699154 - Tweak focusring heuristics for script focus. r=edgar
...
What we implemented before this patch was basically what the heuristics
in the spec said, which used to be normative:
https://drafts.csswg.org/selectors/#the-focus-visible-pseudo
That has become non-normative and there's ongoing discussion on what
should happen for cases like this in:
https://github.com/w3c/csswg-drafts/issues/5885
https://github.com/web-platform-tests/wpt/pull/27806
There seems to be agreement on that WPT issue on cases like this one, so
let's make it work.
Differential Revision: https://phabricator.services.mozilla.com/D108805
2021-03-18 12:34:31 +00:00
Narcis Beleuzu
621e227f84
Backed out 9 changesets (bug 1581859) for bustages jsapi.h . CLOSED TREE
...
Backed out changeset 2a3a77ae1eae (bug 1581859)
Backed out changeset 181c3f29f222 (bug 1581859)
Backed out changeset f7c39feb502e (bug 1581859)
Backed out changeset 9c7d0015c616 (bug 1581859)
Backed out changeset d2b8ee78745d (bug 1581859)
Backed out changeset 92359266d420 (bug 1581859)
Backed out changeset 98ba6b96c900 (bug 1581859)
Backed out changeset 0eb043b5c904 (bug 1581859)
Backed out changeset 55a4c2fc561d (bug 1581859)
2021-03-18 08:26:57 +02:00
Kris Maglione
af42a6a9e5
Bug 1581859: Part 3b - Update existing GetPropertyAsInterface callers to use typesafe do_GetProperty instead. r=mccr8,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D103211
2021-03-18 05:51:06 +00:00
Paul Zuehlcke
27d9b4cfaa
Bug 1668322 - Disable anti-dos confirmation prompt for tab level print dialogs. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D108484
2021-03-16 14:02:58 +00:00
Emilio Cobos Álvarez
7d08ebb2c8
Bug 1698175 - Add a pref for window.print to block. r=tsmith
...
Let me know if this doesn't work for your purposes.
Differential Revision: https://phabricator.services.mozilla.com/D108254
2021-03-12 22:45:46 +00:00
Kagami Sascha Rosylight
46b5d10e47
Bug 1697525 - Prevent calling printPreview().print() r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D107918
2021-03-12 16:20:24 +00:00
Hector Zhao
549cc3c27d
Bug 1694882 - WebExtension alerts should show the extension name as the origin. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D107320
2021-03-05 10:29:16 +00:00
Edgar Chen
b57d088547
Bug 1677474 - Part 3: Trigger blur steps when window needs to adjust its focused element; r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D104538
2021-03-02 10:17:16 +00:00
Simon Giesecke
024dba94ba
Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in dom/base. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D106105
2021-02-26 11:36:40 +00:00
Simon Giesecke
95c38cc6b8
Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika
...
This makes the naming more consistent with other functions called
Insert and/or Update. Also, it removes the ambiguity whether
Put expects that an entry already exists or not, in particular because
it differed from nsTHashtable::PutEntry in that regard.
Differential Revision: https://phabricator.services.mozilla.com/D105473
2021-02-26 09:11:46 +00:00