Cosmin Sabou
686b764b66
Backed out changeset ad4847d17298 (bug 1551306) for causing build bustages. CLOSED TREE
2020-03-27 20:24:17 +02:00
sonakshi
7a6d3eebfa
Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68235
2020-03-27 17:57:10 +00:00
Mihai Alexandru Michis
75d3336fbd
Backed out changeset d91e4acdd63c (bug 1551306) for causing bustages in request::InitBitsRequest
...
CLOSED TREE
2020-03-27 16:12:47 +02:00
sonakshi
3bcf43bb56
Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68235
2020-03-27 14:05:02 +00:00
Tim Huang
37f162c69d
Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan
...
Given that we are going to add ContentBlockingAllowList in
CookieSettings, so CookieSettings will be responsible for more stuff than the
cookie behavior and cookie permission. We should use a proper name to
reflect the purpose of it. The name 'CookieSettings' is misleading that
this is only for cookie related stuff. So, we decide to rename
'CookieSettins' to 'CookieJarSettings' which serves better meaning here.
Differential Revision: https://phabricator.services.mozilla.com/D63935
2020-03-04 08:59:08 +00:00
Matt Woodrow
f3883f930b
Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59263
2020-01-15 08:02:57 +00:00
Narcis Beleuzu
bf2b2d612d
Backed out changeset b3538b7016aa (bug 1599438) for bustages on TestHttpFuzzing.cpp . CLOSED TREE
2020-01-15 06:03:55 +02:00
Matt Woodrow
5f6fd6d997
Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59263
2020-01-15 02:05:57 +00:00
Gabriele Svelto
eb403b8785
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
2019-12-06 09:24:56 +00:00
Boris Zbarsky
2df1df0176
Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D53067
2019-12-05 04:44:32 +00:00
Dorel Luca
67889e1013
Backed out changeset f6e53d1c6518 (bug 1600545) for Android build bustage. CLOSED TREE
2019-12-04 17:32:27 +02:00
Gabriele Svelto
dc6fa2e86c
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
2019-12-04 15:01:19 +00:00
Olli Pettay
1870f57250
Bug 1598775 - Ensure postMessage related optimizations during page load work also in Fission, r=farre
...
Bug 1534012 added a test for postMessage during load and that revealed that mLoading flag isn't always updated
soon enough, so add BrowsingContext::IsLoading which checks also possible local loading status.
Depends on D54754
Differential Revision: https://phabricator.services.mozilla.com/D54836
2019-11-30 21:13:54 +00:00
Olli Pettay
c26c2348f4
Bug 1599467 - Make XHR and Fetch to use deprioritized loading while the top level page is loading in Fission, r=farre
...
The patch moves DeprioritizedLoadRunner handling from top level inner window to top level browsing context.
Differential Revision: https://phabricator.services.mozilla.com/D54754
2019-11-30 21:13:24 +00:00
Dana Keeler
4a8a5fb4fa
bug 1550686 - remove nsIBadCertListener2 r=dragana,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D51001
2019-11-06 00:19:14 +00:00
Andrea Marchesini
5d9289d065
Bug 1591579 - Retrieve the XHR response values only when needed, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D51412
2019-11-04 17:46:23 +00:00
Andrea Marchesini
e858585987
Bug 1591579 - XHR ArrayBufferBuilder needs to have a refcounted buffer handling, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D51088
2019-11-04 15:38:04 +00:00
Andrea Marchesini
9883986e8b
Bug 1591579 - XMLWorker takes data from XMLMainThread without calling GetResponse(), r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50921
2019-11-04 15:38:08 +00:00
Andrea Marchesini
a2c06573fd
Bug 1591579 - XHR-MainThread exposes a set of methods to retrieve response values for workers, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50920
2019-11-04 15:38:10 +00:00
Andrea Marchesini
480ab92597
Bug 1591579 - XHR uses a ref-counted ArrayBufferBuilder, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50919
2019-11-04 15:38:12 +00:00
Andrea Marchesini
23e7de35ce
Bug 1591579 - XHR creates the Blob response only at the first GetResponse() call, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50918
2019-11-04 15:38:14 +00:00
Dorel Luca
4d33a0c3ce
Backed out 7 changesets (bug 1591579) for Hazzard failure on dom/xhr/XMLHttpRequestWorker.cpp. CLOSED TREE
...
Backed out changeset 9a1cf12c3de1 (bug 1591579)
Backed out changeset 4a228aa6e526 (bug 1591579)
Backed out changeset b19e6eba3b12 (bug 1591579)
Backed out changeset d7c095dce497 (bug 1591579)
Backed out changeset dfb0fcebe51e (bug 1591579)
Backed out changeset 9d525c1c558d (bug 1591579)
Backed out changeset f4bcdcefe2d1 (bug 1591579)
2019-11-04 17:33:15 +02:00
Andrea Marchesini
a21db591b2
Bug 1591579 - Retrieve the XHR response values only when needed, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D51412
2019-11-04 13:31:14 +00:00
Andrea Marchesini
8402109f2a
Bug 1591579 - XHR ArrayBufferBuilder needs to have a refcounted buffer handling, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D51088
2019-11-04 13:31:14 +00:00
Andrea Marchesini
98a651a79e
Bug 1591579 - XMLWorker takes data from XMLMainThread without calling GetResponse(), r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50921
2019-11-04 13:23:29 +00:00
Andrea Marchesini
8e0a01909d
Bug 1591579 - XHR-MainThread exposes a set of methods to retrieve response values for workers, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50920
2019-11-04 13:23:11 +00:00
Andrea Marchesini
fe5b2d0f1c
Bug 1591579 - XHR uses a ref-counted ArrayBufferBuilder, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50919
2019-11-04 13:22:54 +00:00
Andrea Marchesini
81249bc12b
Bug 1591579 - XHR creates the Blob response only at the first GetResponse() call, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50918
2019-11-04 13:22:39 +00:00
Cosmin Sabou
4fee979a5f
Backed out 6 changesets (bug 1591579) for causing crashes @mozilla::dom::ArrayBufferBuilder::GetArrayBuffer. CLOSED TREE
...
Backed out changeset 188e5fcabf09 (bug 1591579)
Backed out changeset 0b036738dcc8 (bug 1591579)
Backed out changeset f887657889ad (bug 1591579)
Backed out changeset 1f0a3434af2b (bug 1591579)
Backed out changeset 150606f7639b (bug 1591579)
Backed out changeset ca31ccb7a42a (bug 1591579)
2019-10-31 13:45:21 +02:00
Andrea Marchesini
2f3da51738
Bug 1591579 - XHR ArrayBufferBuilder needs to have a refcounted buffer handling, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D51088
2019-10-31 10:28:10 +00:00
Andrea Marchesini
8fd1a0748c
Bug 1591579 - XMLWorker takes data from XMLMainThread without calling GetResponse(), r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50921
2019-10-31 10:27:33 +00:00
Andrea Marchesini
1bce839176
Bug 1591579 - XHR-MainThread exposes a set of methods to retrieve response values for workers, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50920
2019-10-31 10:27:11 +00:00
Andrea Marchesini
560d3b1eb7
Bug 1591579 - XHR uses a ref-counted ArrayBufferBuilder, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50919
2019-10-31 10:26:54 +00:00
Andrea Marchesini
782d5d56d4
Bug 1591579 - XHR creates the Blob response only at the first GetResponse() call, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50918
2019-10-31 10:26:41 +00:00
Dorel Luca
3c025159dd
Backed out 6 changesets (bug 1591579) for Mochitest failures in dom/html/test/test_formData.html. CLOSED TREE
...
Backed out changeset a6a3816ce90a (bug 1591579)
Backed out changeset e5dff8a0b369 (bug 1591579)
Backed out changeset 891a7037f2ac (bug 1591579)
Backed out changeset 1b33ca1c22a7 (bug 1591579)
Backed out changeset 97732c922fb5 (bug 1591579)
Backed out changeset 299bd59f790d (bug 1591579)
2019-10-30 19:45:49 +02:00
Andrea Marchesini
a793fa7948
Bug 1591579 - XHR ArrayBufferBuilder needs to have a refcounted buffer handling, r=smaug
...
Depends on D50951
Differential Revision: https://phabricator.services.mozilla.com/D51088
2019-10-30 13:14:06 +00:00
Andrea Marchesini
ba80c62c0d
Bug 1591579 - XMLWorker takes data from XMLMainThread without calling GetResponse(), r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50921
2019-10-30 16:52:54 +00:00
Andrea Marchesini
b2907b623e
Bug 1591579 - XHR-MainThread exposes a set of methods to retrieve response values for workers, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50920
2019-10-30 12:28:02 +00:00
Andrea Marchesini
1d7d50761f
Bug 1591579 - XHR uses a ref-counted ArrayBufferBuilder, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50919
2019-10-30 12:28:00 +00:00
Andrea Marchesini
cb9ae6dbd6
Bug 1591579 - XHR creates the Blob response only at the first GetResponse() call, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D50918
2019-10-30 12:27:58 +00:00
Andrea Marchesini
de63797ea7
Bug 1585284 - Use BlobImpl in MutableBlobStorage instead of Blob, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D49436
2019-10-21 05:33:33 +00:00
Andrea Marchesini
e5c5bd4530
Bug 1585284 - Use nsIGlobalObject in any Blob/File CTOR, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D49392
2019-10-21 05:33:33 +00:00
Kershaw Chang
a09cc710df
Bug 1546185 - Also check mEventDispatchingSuspended to see if we are in sync event loop r=baku
...
Only useing `mFlagSyncLooping` to check if the current code is in sync event loop is not enough. The crashtest in this patch shows that `mFlagSyncLooping` is set to false in OnStopReequets while we are still in sync event loop.
`mEventDispatchingSuspended` is set to true right before calling `SpinEventLoopUntil` and set to false after, so we should also use it to check if `SpinEventLoopUntil` is finished.
Differential Revision: https://phabricator.services.mozilla.com/D47240
2019-10-01 11:31:43 +00:00
Edgar Chen
9ce65d9730
Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D45168
2019-09-20 20:51:25 +00:00
Daniel Varga
0c8477fc87
Backed out 3 changesets (bug 1578355) for build bustage at build/src/dom/base/nsSyncLoadService.h:48:21. On a CLOSED TREE
...
Backed out changeset d50ad759f129 (bug 1578355)
Backed out changeset 339ab54ca471 (bug 1578355)
Backed out changeset 284299dac42c (bug 1578355)
2019-09-20 14:05:12 +03:00
Edgar Chen
91a465e33d
Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D45168
2019-09-20 10:31:55 +00:00
Bas Schouten
caad66fdd9
Bug 1548373: Report Open stacks for XHR responses. r=mayhemer,julienw
...
Differential Revision: https://phabricator.services.mozilla.com/D42831
2019-09-11 15:33:00 +00:00
Thomas Nguyen
a688b675a4
Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug
...
ReferrerPolicy gets tossed back and forth as a uint32_t and
ReferrerPolicy enum in header file. Expose ReferrerPolicyValues from
webidl file and use consistently in native code.
Differential Revision: https://phabricator.services.mozilla.com/D41954
2019-08-21 13:24:45 +00:00
Ehsan Akhgari
72bfb10c8a
Bug 1575335 - Avoid creating an extra copy of the file name URI when checking whether the currently running script is from a tracker; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D42706
2019-08-20 20:58:57 +00:00
Nicholas Nethercote
0d12f68593
Bug 1573720 - Convert dom.mapped_arraybuffer.enabled to a static pref. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D41918
2019-08-15 05:31:10 +00:00