Eitan Isaacson
6e8749d0da
Bug 1693597 - P2: Rename ProxyAccessible to RemoteAccessible. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D105671
2021-02-19 23:14:33 +00:00
Eitan Isaacson
6e49732365
Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan
...
Differential Revision: https://phabricator.services.mozilla.com/D105670
2021-02-19 23:14:32 +00:00
Cameron McCormack
5e3e854648
Bug 1668106 - Store subdocument intrinsic size and ratio on content rather than frame. r=dholbert
...
This avoids a problem where we receive the IPC message from the child
with updated intrinsics before an <embed> or <object> has had its frame
constructed in the parent, and drop the update.
Differential Revision: https://phabricator.services.mozilla.com/D99304
2020-12-10 21:34:38 +00:00
Simon Giesecke
971b645fe3
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Henri Sivonen
96ae695458
Bug 1618386 - Add action ids to filter out stale active browsing context updates. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D94969
2020-11-16 19:16:20 +00:00
Sylvestre Ledru
fde06f6d21
Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
...
Also add some missing namespace qualifications
Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')
Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 17:04:01 +00:00
Butkovits Atila
964cca3198
Backed out changeset c0adbf7522dc (bug 1674637) for bustage on GMPParent.cpp. CLOSED TREE
2020-11-04 10:54:36 +02:00
Sylvestre Ledru
5f29324f60
Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
...
Also add some missing namespace qualifications
Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')
Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 08:29:00 +00:00
Edgar Chen
3af8ce6d7a
Bug 1667081 - Part 1: Replace usage of nsIFocusManager with nsFocusManager; r=hsivonen
...
This patch is bascially done by:
perl -p -i -e "s/nsIFocusManager\* /nsFocusManager* /g;" $( find . -name *.cpp )
perl -p -i -e "s/nsCOMPtr<nsIFocusManager>/RefPtr<nsFocusManager>/g;" $( find . -name *.cpp )
Differential Revision: https://phabricator.services.mozilla.com/D91287
2020-09-29 07:21:09 +00:00
Bogdan Tara
8f6c53bdf5
Backed out 9 changesets (bug 1667081) for assertion failure on nsFocusManager CLOSED TREE
...
Backed out changeset 156ab3eba505 (bug 1667081)
Backed out changeset 2e37f347082c (bug 1667081)
Backed out changeset 8f59cef879ae (bug 1667081)
Backed out changeset 1298ff140218 (bug 1667081)
Backed out changeset 91342c822425 (bug 1667081)
Backed out changeset aafb1878c590 (bug 1667081)
Backed out changeset 2252e975f0d7 (bug 1667081)
Backed out changeset c3bac5f407d2 (bug 1667081)
Backed out changeset b1e6e81396ae (bug 1667081)
2020-09-28 20:02:52 +03:00
Edgar Chen
6abd74544d
Bug 1667081 - Part 1: Replace usage of nsIFocusManager with nsFocusManager; r=hsivonen
...
This patch is bascially done by:
perl -p -i -e "s/nsIFocusManager\* /nsFocusManager* /g;" $( find . -name *.cpp )
perl -p -i -e "s/nsCOMPtr<nsIFocusManager>/RefPtr<nsFocusManager>/g;" $( find . -name *.cpp )
Differential Revision: https://phabricator.services.mozilla.com/D91287
2020-09-28 14:04:12 +00:00
Cameron McCormack
a9b6211496
Bug 1658343 - Propagate intrinsic sizes from SVG documents in embed/object to parent using IPC. r=kmag,dholbert
...
Differential Revision: https://phabricator.services.mozilla.com/D90055
2020-09-21 02:09:57 +00:00
Matt Woodrow
19c4b43cba
Bug 1626362 - Move url classifier notifications to parent process. r=nika,necko-reviewers,JuniorHsu
...
We shouldn't need to handle this with an early return in docshell, since the classifier failure codes won't display an error page anyway.
Differential Revision: https://phabricator.services.mozilla.com/D80108
2020-06-25 04:32:28 +00:00
Csoregi Natalia
e67ceab432
Backed out 9 changesets (bug 1626362) for failures on a-download-click-404.html. CLOSED TREE
...
Backed out changeset d29ac651a4fd (bug 1626362)
Backed out changeset 5ba5cf98a95d (bug 1626362)
Backed out changeset 69b5b01da9c1 (bug 1626362)
Backed out changeset 1d31061f4421 (bug 1626362)
Backed out changeset a627870e35fb (bug 1626362)
Backed out changeset 5f3ee46032b6 (bug 1626362)
Backed out changeset 5b170666991e (bug 1626362)
Backed out changeset 4d31c2ede058 (bug 1626362)
Backed out changeset 66a9ba0f87cb (bug 1626362)
2020-06-25 02:45:52 +03:00
Matt Woodrow
87cdbac816
Bug 1626362 - Move url classifier notifications to parent process. r=nika,necko-reviewers,JuniorHsu
...
We shouldn't need to handle this with an early return in docshell, since the classifier failure codes won't display an error page anyway.
Differential Revision: https://phabricator.services.mozilla.com/D80108
2020-06-24 22:03:04 +00:00
Nika Layzell
e6a9e27a19
Bug 1637088 - Delay creating BrowserBridgeChild until after new PBrowser has been created, r=farre,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D75614
2020-05-25 06:06:30 +00:00
Nika Layzell
76b1144754
Bug 1633820 - Part 2: Avoid creating an extra LoadContext when we already have a BrowsingContext, r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D72932
2020-05-07 22:18:50 +00:00
Razvan Maries
7a5b66f9b6
Backed out 5 changesets (bug 1633820) for build bustages at TabContext.cpp. CLOSED TREE
...
Backed out changeset 0a20dd1935d7 (bug 1633820)
Backed out changeset 626e834293ed (bug 1633820)
Backed out changeset 14cc454a8cbc (bug 1633820)
Backed out changeset 7bbcb9266b87 (bug 1633820)
Backed out changeset ef99672bd2af (bug 1633820)
2020-05-08 00:59:20 +03:00
Nika Layzell
51df83bff7
Bug 1633820 - Part 2: Avoid creating an extra LoadContext when we already have a BrowsingContext, r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D72932
2020-05-07 17:18:44 +00:00
Bogdan Tara
7fce40912d
Backed out 5 changesets (bug 1633820) for bustages complaining about TabContext CLOSED TREE
...
Backed out changeset 4982d41d5e6b (bug 1633820)
Backed out changeset 9803c41e42f9 (bug 1633820)
Backed out changeset 2475bbab03a8 (bug 1633820)
Backed out changeset 762f0b2c154c (bug 1633820)
Backed out changeset f9ea871a0227 (bug 1633820)
2020-05-06 22:39:46 +03:00
Nika Layzell
ae47d770a2
Bug 1633820 - Part 2: Avoid creating an extra LoadContext when we already have a BrowsingContext, r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D72932
2020-05-06 17:45:59 +00:00
Nika Layzell
c507cc54ac
Bug 1633812 - Simplify the subframe crash codepath, r=farre
...
Previously the BrowsingContext was also being sent down, despite it being
obvious from the PBrowserBridge actor which the message was sent over.
Differential Revision: https://phabricator.services.mozilla.com/D72929
2020-04-29 09:58:50 +00:00
Tim Huang
c3a39c3bec
Bug 1608516 - Part 1: Add IPCs for allowing do AddBlockedNodeByClassifier() across process boundaries. r=baku
...
This patch adds IPCs that allow us to be able to report the blocked node
across the process boundary.
Differential Revision: https://phabricator.services.mozilla.com/D71938
2020-04-22 22:21:48 +00:00
Stefan Hindli
18cbb5abb9
Backed out 3 changesets (bug 1608516) for causing mochitest permafailures in toolkit/components/url-classifier/tests/mochitest/test_classified_annotations.html CLOSED TREE
...
Backed out changeset f588a8808e45 (bug 1608516)
Backed out changeset 2a8566d55ba6 (bug 1608516)
Backed out changeset 8c1be470cb2c (bug 1608516)
2020-04-23 00:31:42 +03:00
Tim Huang
63168eae1d
Bug 1608516 - Part 1: Add IPCs for allowing do AddBlockedNodeByClassifier() across process boundaries. r=baku
...
This patch adds IPCs that allow us to be able to report the blocked node
across the process boundary.
Differential Revision: https://phabricator.services.mozilla.com/D71938
2020-04-22 14:31:39 +00:00
Matt Woodrow
a27cfc760b
Bug 1627971 - Add option to MaybeFireEmbedderLoadEvents to also fire the error event to the embedder element. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D70585
--HG--
extra : moz-landing-system : lando
2020-04-15 22:30:13 +00:00
Boris Zbarsky
5f4fd391ec
Bug 1440212 part 1. Remove the always-true aIsTrusted argument of FireFrameLoadEvent. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D35599
--HG--
extra : moz-landing-system : lando
2020-03-11 22:29:53 +00:00
Nika Layzell
b614aeff7b
Bug 1615403 - Part 6: Use MaybeDiscarded for WindowGlobalInit, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D62837
--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:50 +00:00
Nika Layzell
476ad24af9
Bug 1615403 - Part 2: Use MaybeDiscarded for direct IPC arguments, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D62833
--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:35 +00:00
pbz
70e1dba79e
Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D55811
--HG--
extra : moz-landing-system : lando
2020-01-16 14:38:40 +00:00
Oana Pop Rus
661db3a39f
Backed out 7 changesets (bug 1432856) for build bustages failures in nsWindow.h on a CLOSED TREE
...
Backed out changeset 3d08c3cce533 (bug 1432856)
Backed out changeset 49d03dd89b17 (bug 1432856)
Backed out changeset 62fc84c8ce99 (bug 1432856)
Backed out changeset a8a4fa63f5b2 (bug 1432856)
Backed out changeset c81f3d5b9bf3 (bug 1432856)
Backed out changeset 8351a8b1d96a (bug 1432856)
Backed out changeset a303b775a51b (bug 1432856)
2019-12-16 23:53:35 +02:00
pbz
e03ecc2171
Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D55811
--HG--
extra : moz-landing-system : lando
2019-12-16 21:06:11 +00:00
Gabriele Svelto
ace6d1063f
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55442
--HG--
extra : moz-landing-system : lando
2019-12-06 09:24:56 +00:00
Dorel Luca
a381d5c96d
Backed out changeset f6e53d1c6518 (bug 1600545) for Android build bustage. CLOSED TREE
2019-12-04 17:32:27 +02:00
Gabriele Svelto
bc9290f767
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55442
--HG--
extra : moz-landing-system : lando
2019-12-04 15:01:19 +00:00
Nika Layzell
a3cad4162e
Bug 1589054 - Part 1: Cleanly kill BrowserBridgeChild if process switch fails, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D49464
--HG--
extra : moz-landing-system : lando
2019-10-22 13:57:00 +00:00
Cosmin Sabou
cce21ffe59
Backed out 3 changesets (bug 1589054) for browser chrome failures on browser_crash_oopiframe.js CLOSED TREE
...
Backed out changeset 1a43032819e1 (bug 1589054)
Backed out changeset 91e4d5c6422a (bug 1589054)
Backed out changeset 03bc24aa3a2c (bug 1589054)
2019-10-21 19:29:20 +03:00
Nika Layzell
a73568ddeb
Bug 1589054 - Part 1: Cleanly kill BrowserBridgeChild if process switch fails, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D49464
--HG--
extra : moz-landing-system : lando
2019-10-21 14:03:36 +00:00
Nika Layzell
090b6dbc31
Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D47309
--HG--
extra : moz-landing-system : lando
2019-10-15 16:19:14 +00:00
Nika Layzell
87aa1365a0
Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
...
This is useful in part 3, where the initialization will need to be called from
multiple places.
Differential Revision: https://phabricator.services.mozilla.com/D47308
--HG--
extra : moz-landing-system : lando
2019-10-15 16:19:13 +00:00
Csoregi Natalia
8768a4f5e3
Backed out 7 changesets (bug 1576714) for fission permafailures on test_bug590812.html. a=backout
...
Backed out changeset d0c49f00eb91 (bug 1576714)
Backed out changeset faecc9f35b49 (bug 1576714)
Backed out changeset 2e156655c31e (bug 1576714)
Backed out changeset eece722082c7 (bug 1576714)
Backed out changeset ebda40f96884 (bug 1576714)
Backed out changeset 7dce423417d8 (bug 1576714)
Backed out changeset 9a5072019168 (bug 1576714)
2019-10-05 00:08:33 +03:00
Nika Layzell
7b1c569d54
Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D47309
--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:22 +00:00
Nika Layzell
6131a7ef18
Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
...
This is useful in part 3, where the initialization will need to be called from
multiple places.
Differential Revision: https://phabricator.services.mozilla.com/D47308
--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:20 +00:00
Brindusan Cristian
950e03660b
Backed out 6 changesets (bug 1576714) for build bustages at nsFrameLoaderOwner.cpp. CLOSED TREE
...
Backed out changeset 083967e704d2 (bug 1576714)
Backed out changeset b3467f1bdde7 (bug 1576714)
Backed out changeset 88e3b4b7fbaf (bug 1576714)
Backed out changeset b91221da32c7 (bug 1576714)
Backed out changeset 6996b7705f06 (bug 1576714)
Backed out changeset a303fc193f60 (bug 1576714)
2019-10-02 04:14:53 +03:00
Nika Layzell
b0d4c1a661
Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D47309
--HG--
extra : moz-landing-system : lando
2019-10-01 18:09:01 +00:00
Nika Layzell
df7f3d2a70
Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
...
This is useful in part 3, where the initialization will need to be called from
multiple places.
Differential Revision: https://phabricator.services.mozilla.com/D47308
--HG--
extra : moz-landing-system : lando
2019-10-01 18:08:59 +00:00
Jonathan Watt
d88a4a0a4b
Bug 1559841. Make the 'load' event wait for OOP-iframes to load. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D41953
--HG--
extra : moz-landing-system : lando
2019-09-19 00:00:44 +00:00
Sebastian Hengst
2e7e5f93bc
Backed out changeset 20abb86e0049 (bug 1559841) for several fission regressions, e.g. bug 1576413. a=backout,kmag
2019-08-27 22:26:15 +02:00
Andreas Farre
6e42fb98f8
Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D40937
--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
Jonathan Watt
4562fab69f
Bug 1559841. Make the 'load' event wait for OOP-iframes to load. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D41953
--HG--
extra : moz-landing-system : lando
2019-08-24 00:03:54 +00:00