Commit Graph
1702 Commits
Author SHA1 Message Date
velzie 64edeacd89 singlethreaded 2026-06-18 15:27:14 -04:00
Masayuki Nakano 52def4ebef Bug 2026022 - Make TextEditor and HTMLEditor initialize Selection before focus event is dispatched r=smaug
Currently, our editor and document viewer manage `Selection` state and
ranges within their `focus`/`blur` event listeners. However, UI Events
defines that the events should be fired after the focus move finished
[1][2]. Therefore, we need to move the handlers to
`EventTarget::PreHandleEvent` or the event listener of the event target
parent of the window (in the capturing phase of the default event group).
Otherwise, a web content's event listener runs before we maintain the
`Selection`. This patch moves the handlers to
`nsGlobalWindowInner::PreHandleEvent`.

Currently, there are 3 event listeners which maintain the `Selection`.

`nsDocViewerFocusListener`:

This maintains the active `nsFrameSelection` and the display of the
last focused selection only when the document node gets focus. This
patch removes this class and move the code into new static methods of
`nsFrameSelection`.

`HTMLEditor::OnFocus`:

This activates the document `nsFrameSelection` and collapses `Selection`
to the focused element if `Selection` ranges are not in the focused
editing host. This does it even if a text control gets focus even though
the focused `TextEditor` will handle the further user inputs.

`TextEditor::OnFocus`:

This activate the independent `nsFrameSelection`.

These handlers run in the following order:
1. `nsDocViewerFocusListener`
2. `HTMLEditor`
3. `TextEditor`

Therefore, `nsGlobalWindowInner::PreHandleEvent` handles all of them
within this order.

Note that `TextEditor::OnFocus` is now called after `HTMLInputElement`
or `HTMLTextAreaElement` prepares the further `change` event
dispatching. After applying this patch, their `PreHandleEvent` will do
that. Then, `nsGlobalWindowInner::PreHandleEvent` will run because
`PreHandleEvent`s are called in the bubbling phase order. Therefore, the
handling order shouldn't be changed.

1. https://w3c.github.io/uievents/#event-type-focus
2. https://w3c.github.io/uievents/#event-type-blur

Differential Revision: https://phabricator.services.mozilla.com/D292335
2026-05-27 03:32:07 +00:00
Daniel Holbert f67f00d372 Bug 2036951: Use 'MakeRefPtr' instead of 'new' to allocate reference-counted objects, in various places within layout. r=layout-reviewers,TYLin
Differential Revision: https://phabricator.services.mozilla.com/D298452
2026-05-05 06:23:23 +00:00
Emilio Cobos Álvarez 5739ff900f Bug 2031065 - More cleanly destroy objects in nsDocumentViewer. r=layout-reviewers,dholbert
It seems worth being consistent about the pattern, which we follow
inconsistently now.

Differential Revision: https://phabricator.services.mozilla.com/D293518
2026-04-11 09:30:17 +00:00
Adam Vandolder 18113ecfd2 Bug 1892551 - Part 6: Remove now-unused attributes and methods from nsISHEntry. r=farre,dom-core
Differential Revision: https://phabricator.services.mozilla.com/D212463
2026-03-18 17:26:25 +00:00
Adam Vandolder 387517ad2c Bug 1892551 - Part 5: Remove now-unnecessary usage of nsISHEntry. r=farre,dom-core
Differential Revision: https://phabricator.services.mozilla.com/D210689
2026-03-18 17:26:22 +00:00
Adam Vandolder dd7184fd48 Bug 1892551 - Part 2: Remove SessionHistoryInParent conditionals. r=dom-core,farre,core-sessionstore-reviewers,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D208061
2026-03-18 17:26:15 +00:00
Sylvestre Ledru 55481ac4b5 Bug 2023419 - Remove Emacs/Vim modelines from layout/ r=emilio,firefox-style-system-reviewers,layout-reviewers
replaced by .editorconfig

Differential Revision: https://phabricator.services.mozilla.com/D287852
2026-03-17 12:05:43 +00:00
Norisz Fay a86d829321 Revert "Bug 2012637 - part 9: Add a Firefox Source Docs documentation page for TreeKind and notable issues r=smaug,dom-core" as requested by dev
This reverts commit 88008cd8ca.

Revert "Bug 2012637 - part 8: Make `nsContentUtils::ComparePoints` handle `TreeKind::Flat` and `TreeKind::FlatForSelection` correctly r=smaug,dom-core"

This reverts commit 73e6f6587b.

Revert "Bug 2012637 - part 7: Make `RangeUtils::CompareNodeToRangeBoundaries()` use `nsContentUtils::ComparePoints` with valid point in the tree r=smaug"

This reverts commit 6985d5e80f.

Revert "Bug 2012637 - part 6: Make `nsRange::CutContents()` convert the range boundaries to the ones in the DOM before comparing r=smaug"

This reverts commit 73b585af3d.

Revert "Bug 2012637 - part 5: Delete the default template parameter of `nsContentUtils::ComparePoints` and relatives r=smaug,dom-core"

This reverts commit 1a7f24e5b5.

Revert "Bug 2012637 - part 4: Make `nsContentUtils` use `nsIContent` for taking a child node as a parameter r=smaug"

This reverts commit a6ea8d6824.

Revert "Bug 2012637 - part 3: Add template `nsINode` API which can switch to call API from `TreeKind` r=smaug,dom-core,webidl"

This reverts commit a4211e9df0.

Revert "Bug 2012637 - part 2: Add `TreeKind::FlatForSelection` and change the template parameter of `ChildIteratorBase` to `TreeKind` r=smaug,dom-core"

This reverts commit 0241749ee7.

Revert "Bug 2012637 - part 1: Make `ChildIterBase` template class to re-implement `FlattenedChildIterator` for DOM, Flat and FlatForSelection TreeKind r=smaug,dom-core,layout-reviewers,emilio"

This reverts commit 9e71cb77fb.
2026-03-13 02:52:45 +00:00
Masayuki Nakano a4211e9df0 Bug 2012637 - part 3: Add template nsINode API which can switch to call API from TreeKind r=smaug,dom-core,webidl
This will make the main patch simpler. However, some of them do not
support `TreeKind::ShadowIncludingDOM` because it's unclear what
should return as a parent node of a child of `ShadowRoot`, what should
return as a child node of a shadow host. To avoid the developers to use
them on wrong assumptions, this patch makes the users use `DOM`, `Flat`
or `FlatForSelection` explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D281305
2026-03-12 03:01:50 +00:00
Vincent Hilla 3da21b9ff1 Bug 2014692 - Propagate OOM during DocumentViewer creation and handle it in RecvConstructBrowser. r=dom-core,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D285092
2026-02-27 01:29:58 +00:00
Vincent Hilla ede75989a2 Bug 2017434 - Add nsresult of SetNewDocument in nsDocumentViewer::InitInternal to crash reports. r=dom-core,smaug
Differential Revision: https://phabricator.services.mozilla.com/D283773
2026-02-18 20:54:35 +00:00
Cristina Horotan 74bfd56f10 Revert "Bug 2017434 - Add nsresult of SetNewDocument in nsDocumentViewer::InitInternal to crash reports. r=dom-core,smaug" for causing build bustage on nsDocumentViewer.cpp
This reverts commit 5e41c6eba1.
2026-02-18 17:20:08 +00:00
Vincent Hilla 5e41c6eba1 Bug 2017434 - Add nsresult of SetNewDocument in nsDocumentViewer::InitInternal to crash reports. r=dom-core,smaug
Differential Revision: https://phabricator.services.mozilla.com/D283773
2026-02-18 16:48:08 +00:00
Emilio Cobos Álvarez bff9d29ee4 Bug 2010264 - Remove NS_PRINT_PREVIEW define. r=jwatt
It always matches NS_PRINTING, so no need for it, really.

Differential Revision: https://phabricator.services.mozilla.com/D278966
2026-01-15 18:24:39 +00:00
Emilio Cobos Álvarez 28398d11d3 Bug 2010056 - Don't create a pres context for print documents. r=layout-reviewers,dshin
We currently end up in this weird state where the document ends up with two
pres contexts (one from print job, one from viewer), one of them uninitialized
(because InitPresentationStuff never runs).

Differential Revision: https://phabricator.services.mozilla.com/D278849
2026-01-14 15:37:10 +00:00
pstanciu 06f6ad2119 Revert "Bug 2010056 - Don't create a pres context for print documents. r=layout-reviewers,dshin" for causing iOS build bustages @nsDocumentViewer.cpp
This reverts commit cc2bd5ef8a.
2026-01-14 04:17:20 +00:00
Emilio Cobos Álvarez cc2bd5ef8a Bug 2010056 - Don't create a pres context for print documents. r=layout-reviewers,dshin
We currently end up in this weird state where the document ends up with two
pres contexts (one from print job, one from viewer), one of them uninitialized
(because InitPresentationStuff never runs).

Differential Revision: https://phabricator.services.mozilla.com/D278849
2026-01-14 02:24:40 +00:00
Emilio Cobos Álvarez 05df374ad7 Bug 2010056 - Make document viewer initialization more infallible. r=layout-reviewers,dshin
No behavior change, just less code.

Differential Revision: https://phabricator.services.mozilla.com/D278848
2026-01-14 00:02:24 +00:00
Vincent Hilla 1d7618633a Bug 1858562 - Part 1: Implement Document Picture-in-Picture Spec. r=edgar,smaug,dom-core,webidl,firefox-style-system-reviewers,layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D265290
2025-12-16 19:10:04 +00:00
Emilio Cobos Álvarez bf41a6f6a7 Bug 337801 - Add a missing include to fix non-unified builds.
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2025-11-28 17:03:13 +00:00
Emilio Cobos Álvarez 1d93d8f2ae Bug 337801 - Rename nsView to PresShellWidgetListener, and remove the view/ dir. r=jwatt
Since that's what it does now. Also clean-up a little bit while at it.

Differential Revision: https://phabricator.services.mozilla.com/D274410
2025-11-28 15:07:09 +00:00
Emilio Cobos Álvarez ba0e228d4f Bug 2000639 - Remove nsViewManager. r=jwatt
After the previous patches, nsViewManager is basically a backpointer to
its pres shell.

Remove it and just make PresShell manage the root view directly. After
this is done, we can decide what to do about nsView (which is itself
little more than a widget listener that forwards to pres shell right
now).

This technically starts listening to mParentWidget slightly later (on
pres shell creation), but I think that's ok.

Differential Revision: https://phabricator.services.mozilla.com/D272890
2025-11-28 10:48:18 +00:00
Emilio Cobos Álvarez ef2d17cdc5 Bug 2000626 - Move delayed resizes to PresShell. r=jwatt
This removes the last need for frames to have a view around.

Differential Revision: https://phabricator.services.mozilla.com/D272884
2025-11-28 09:35:45 +00:00
Henri SivonenandVincent Hilla 39a8a4171b Bug 543435 - Make initial about:blank not get overwritten by an async about:blank load. r=sessionstore-reviewers,sfoster,timhuang,credential-management-reviewers,issammani,webidl,extension-reviewers,tabbrowser-reviewers,migration-reviewers,home-newtab-reviewers,hsivonen,cookie-reviewers,fxview-reviewers,firefox-desktop-core-reviewers ,dao,valentin,mossop,smaug,geckoview-reviewers,Jamie,mtigley,thecount,media-playback-reviewers,padenot,dom-worker-reviewers,jesup,jdescottes,asuth,robwu,karlt,profiler-reviewers,kpatenio,devtools-reviewers,tcampbell,nchevobbe
Co-authored-by: Vincent Hilla <[email protected]>
Signed-off-by: Vincent Hilla <[email protected]>

Differential Revision: https://phabricator.services.mozilla.com/D155376
2025-11-24 05:34:22 +00:00
Emilio Cobos Álvarez 8ef739bd5f Bug 2000145 - Remove more nsView members. r=tnikkel,layout-reviewers
* Dimensions don't need to be a rect, just a size.
 * We don't need a frame, it's just the pres shells root frame.
 * mWidgetIsTopLevel is always true iff there is a widget.

Differential Revision: https://phabricator.services.mozilla.com/D272573
2025-11-15 00:32:55 +00:00
Emilio Cobos Álvarez 3b9fd7d6db Bug 1999868 - Simplify PresShell's / nsViewManager resize APIs. r=tnikkel,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D272384
2025-11-14 02:59:07 +00:00
Emilio Cobos Álvarez 8bd614f762 Bug 1999627 - Remove nsViewManager's device context. r=tnikkel,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D272211
2025-11-12 18:37:00 +00:00
Emilio Cobos Álvarez 4bbf8598d1 Bug 1998125 - Remove a lot of now unused view code. r=layout-reviewers,firefox-style-system-reviewers,dshin
No need to reposition views during layout and so on, now that we don't
use views for either popups nor subdocuments.

No need for nsView to have parent / sibling / children either.

Differential Revision: https://phabricator.services.mozilla.com/D271205
2025-11-12 01:53:45 +00:00
Emilio Cobos Álvarez 18be90ee9f Bug 1994942 - Don't use views for subdocs. r=tnikkel,jwatt
This allows to clean up even more view code, since views now are just a
link between layout and widget at the root and little else (so the whole
view children and so on can go), but that will be done in separate
patches since these patches are not risk-free.

Notable changes:

 * PresShell::WillPaint() now recurses into subdocuments. That was done
   previously via CallWillPaintOnObservers().
 * Embedder frame is tracked directly by nsSubDocumentFrame an
   PresShell. It might be possible to simplify this further,
   if bug 1997773 sticks.

Differential Revision: https://phabricator.services.mozilla.com/D232057
2025-11-11 07:33:01 +00:00
serge-sans-paille 7662b3abdc Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 19:36:01 +00:00
Cristina Horotan 8a1b1970b7 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing Gtest failures on AlreadyAddRefed.h
This reverts commit e98adca292.
2025-10-21 16:16:29 +00:00
serge-sans-paille e98adca292 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 15:05:17 +00:00
Cristina Horotan aab924e90d Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing build bustage at nsBrowserApp.cpp
This reverts commit fd0ffa193c.
2025-10-21 10:44:13 +00:00
serge-sans-paille fd0ffa193c Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 09:44:11 +00:00
Narcis Beleuzu e1e6bbb1c9 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing bustages on Document.cpp
This reverts commit b23c15e927.
2025-10-21 06:34:58 +00:00
serge-sans-paille b23c15e927 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 06:01:36 +00:00
Emilio Cobos Álvarez d2eb173cee Bug 1995049 - Simplify widget move/resize APIs. r=stransky,mac-reviewers,mstange
We no longer have child windows which means that all widgets use desktop
pixels. Make the type system enforce that.

We want to start storing coordinates in DesktopPixels for GTK, to deal
correctly with fractional scaling, so move mBounds to the relevant
subclasses.

There's no behavior change. Some of the changes uncover coordinate
system confusions in Windows that I plan to fix in followups.

Android / iOS / PuppetWidgets don't care about the coordinate
differences, because their DesktopToLayoutDeviceScale is 1.0. Still I
made puppet widgets go through the coordinate conversion because it
seemed easier than casting or what not.

Differential Revision: https://phabricator.services.mozilla.com/D269091
2025-10-17 23:33:52 +00:00
Emilio Cobos Álvarez e2e9753dfa Bug 1994893 - Make the assertion stricter. r=tnikkel,layout-reviewers
Will land if try is green.

Differential Revision: https://phabricator.services.mozilla.com/D269011
2025-10-17 11:17:07 +00:00
Emilio Cobos Álvarez c2a7a56a17 Bug 1994893 - Remove an assert that doesn't hold because resource docs don't have a parent widget. 2025-10-17 07:59:55 +00:00
Emilio Cobos Álvarez 476c551dc5 Bug 1994893 - Clean up widget / view / nsDocumentViewer initialization. r=tnikkel,layout-reviewers
We always attach to the top-level widget / never create child popups.

On child processes this is already asserted via nsIWidget::CreateChild,
and on the parent nowadays our behavior would be nonsensical (we'd
create a separate nsCocoaWindow etc).

Differential Revision: https://phabricator.services.mozilla.com/D268976
2025-10-17 06:36:01 +00:00
Emilio Cobos Álvarez 93b4c09f7e Bug 1933181 - Stop using nsView for popups. r=layout-reviewers,tnikkel
Make the popup frame listener to the widget events itself, rather than
via the view tree.

This is a first step towards getting rid of views as a whole.

This creates the (annoying, but temporary) subtlety of the view tree
jumping across popups, so nsIFrame::GetNearestWidget and co need to
become a bit careful and avoid doing that.

Similarly a couple places relied on view visibility, which now need to
check nsMenuPopupFrame::IsOpen() as well.

Other than that this seems to just work.

Differential Revision: https://phabricator.services.mozilla.com/D230106
2025-10-14 12:03:41 +00:00
Jan-Niklas Jaeschke 43b0fd6d3b Bug 1991911 - Navigation API: Restore upcoming API method tracker when aborting. r=smaug
Triggering a second navigation before the first one finished will abort the first navigation and emit `navigateerror`.
However, `navigateerror` can run script, and therefore can trigger another navigation.
This would run in a (per current status of the HTML spec) unexpected state.
The third navigation would be reentrant, and expects a clean internal state
(no `mUpcomingNonTraverseAPIMethodTracker`). otherwise it would crash.

This patch moves the upcoming API method tracker into a temporary before
aborting ongoing navigations, and reinstating it after the abort loop is finished.

See also discussion at https://github.com/whatwg/html/issues/11735

Additionally, this patch fixes a bug where the unload counter was set too late,
and therefore navigations triggered from pagehide event would not work correctly.

Differential Revision: https://phabricator.services.mozilla.com/D267787
2025-10-09 07:52:15 +00:00
Jan-Niklas Jaeschke 02b345eb14 Bug 1959960, part 3 - Navigation API: Implement #performing-a-navigation-api-traversal. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D259215
2025-09-08 15:10:52 +00:00
Sandor Molnar 9769da1b4a Revert "Bug 1959960, part 4 - Navigation API: Update test expectations. r=farre" for causing bc failures
This reverts commit efa9033dd3.

Revert "Bug 1959960, part 3 - Navigation API: Implement #performing-a-navigation-api-traversal. r=smaug"

This reverts commit d6cb3b2867.

Revert "Bug 1959960, part 2 - Navigation API: Add log messages for navigation methods. r=farre"

This reverts commit 5b352fa6e0.

Revert "Bug 1959960, part 1 - Navigation API: Implement traversal methods. r=farre,dom-core,smaug"

This reverts commit f1667a9dd5.
2025-09-08 13:36:28 +00:00
Jan-Niklas Jaeschke d6cb3b2867 Bug 1959960, part 3 - Navigation API: Implement #performing-a-navigation-api-traversal. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D259215
2025-09-08 11:44:30 +00:00
Masayuki Nakano f8236195a0 Bug 769207 - part 3: Make nsIMutationObserver use AttrModType r=smaug,dom-core,firefox-style-system-reviewers,layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D263054
2025-09-08 00:27:40 +00:00
Emilio Cobos Álvarez f5e8015c05 Bug 1987024 - Clean up clipboard commands. r=jwatt
No need to use outparams and co.

Differential Revision: https://phabricator.services.mozilla.com/D263897
2025-09-06 21:23:55 +00:00
Emilio Cobos Álvarez a8a2311474 Bug 1976457 - Sort includes in layout/. r=janv,dshin
Interesting bit is layout/.clang-format, the rest is all automated.

Differential Revision: https://phabricator.services.mozilla.com/D256616
2025-07-09 13:24:00 +00:00
Andreas Farre 7cb502cd86 Bug 1965192 - Fire traverse navigation event. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D255834
2025-07-07 18:28:03 +00:00