Граф коммитов

67902 Коммитов

Автор SHA1 Сообщение Дата
Alex Gaynor 5881f616ec Bug 1405312 - Remove dead code from nsPluginHost; r=jimm
MozReview-Commit-ID: BsZIoTeZrNL

--HG--
extra : rebase_source : dbc6a3edeb0c22fba76ce9b7f74ed02c69a26494
2017-10-03 09:53:08 -04:00
Thomas Wisniewski 5b68608547 Bug 1070763 - Ensure that XHRs sniff the BOM for non-JSON responseTypes, and flush the decoder upon end-of-stream; r=hsivonen
MozReview-Commit-ID: ICHbs2BQcbR

--HG--
extra : rebase_source : 91fac79b191330c5f771386f9977450a569157b1
2017-10-03 08:54:14 -04:00
Sebastian Hengst 9a0edde0b2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IRW0W7LuIM7
2017-10-03 11:43:52 +02:00
Wes Kocher 2364d1a8d8 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4ZKbmMi1U80
2017-10-02 16:23:14 -07:00
Wes Kocher 382a7d90d6 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Wes Kocher c5de7a07ee Backed out changeset 29a6664e8f73 (bug 1319342) for wpt failures in Node-cloneNode.html a=backout
MozReview-Commit-ID: 2FoC3zDqXO2

--HG--
extra : source : 6f575308a3818ded268d34403f1aa158502290e1
2017-10-02 14:27:09 -07:00
Ehsan Akhgari a3b87e2b92 Bug 1405039 - Avoid using nsINode::GetChildAt() in HTMLEditor::GetSelectedElement(); r=masayuki 2017-10-02 14:22:57 -04:00
John Dai c76b412976 Bug 1319342 - Clone a node should enqueue an upgrade reaction. r=smaug 2017-10-01 23:12:00 -04:00
Sebastian Hengst 4d183e475c Backed out changeset 9b5b03b2114d (bug 1401379) 2017-10-02 19:57:33 +02:00
Sebastian Hengst 3c456e1e9b Backed out changeset 4249adc2593a (bug 1401379) 2017-10-02 19:57:27 +02:00
Sebastian Hengst 5f1ccbc275 Backed out changeset 0eb4a7009f43 (bug 1401379) 2017-10-02 19:57:17 +02:00
Sebastian Hengst 52601bea95 Backed out changeset 8a26cdedeb58 (bug 1401379) 2017-10-02 19:57:11 +02:00
Sebastian Hengst 592dda1465 Backed out changeset 436ecd081ffa (bug 1401379) 2017-10-02 19:57:06 +02:00
Sebastian Hengst 7edab52dde Backed out changeset 318b85f85682 (bug 1401379) 2017-10-02 19:57:00 +02:00
Benjamin Smedberg 28588c1731 Bug 1352567 - Remove NPAPI seekable and file streams from the dom/plugins/base code, r=jimm
MozReview-Commit-ID: 4qxEFjTKMVZ
2017-10-02 14:54:22 -07:00
Benjamin Smedberg ce00e2cd37 Bug 1352567 - Remove plugin IPC code to support stream types other than NP_NORMAL (seekable and/or file streams), r=jimm
MozReview-Commit-ID: FWl2gcpKy6D
2017-10-02 14:54:22 -07:00
Benjamin Smedberg 3dbd8ee851 Bug 1352567 - Remove tests for plugin stream behavior except NP_NORMAL, r=jimm
MozReview-Commit-ID: 8ne3cKV1bxc
2017-10-02 14:54:21 -07:00
Wes Kocher fee639d976 Backed out changeset 29a6664e8f73 (bug 1319342) for wpt failures in Node-cloneNode.html a=backout
MozReview-Commit-ID: 2FoC3zDqXO2
2017-10-02 14:27:09 -07:00
Kirk Steuber 0dc3847027 Bug 1402025 - Ensure form submission flush when unsetting relevant attributes r=bz
It seems that we were flushing any pending submission when changing the action or target attributes of a form, but not when unsetting those attributes.

MozReview-Commit-ID: E6aUnokg54k

--HG--
extra : rebase_source : 1e331b0ce03dbd77a79a8bafa6bb3ea39c6ea22b
2017-09-28 12:09:56 -07:00
Nika Layzell dab0599a68 Backed out changeset cc51fec33925 (bug 1395973) for failing browser-chrome's toolkit/content/tests/browser/browser_bug982298.js with Linux x64 debug and OSX debug. r=backout
MozReview-Commit-ID: 7YQyktv5oEJ
2017-10-02 12:09:42 -04:00
Nika Layzell 8fe35461a1 Bug 1401379 - Part 8: Avoid using mDocShell to check if the window has been closed, r=smaug
MozReview-Commit-ID: CyNanVzyyNp
2017-10-02 11:58:03 -04:00
Nika Layzell ca2daae3e9 Bug 1401379 - Part 7: Don't try to break nsDocShell <-> nsGlobalWindow references when cleaning up, r=smaug
MozReview-Commit-ID: CnAiOaAOTkw
2017-10-02 11:58:03 -04:00
Nika Layzell dce098bf67 Bug 1401379 - Part 6: Cycle collect nsWebBrowser, r=smaug
MozReview-Commit-ID: 1hteVsTlTvd
2017-10-02 11:58:03 -04:00
Nika Layzell eb1c2391bb Bug 1401379 - Part 5: Don't check for a docshell to determine if a window is alive, r=smaug
MozReview-Commit-ID: 8Ze3KrgpaTQ
2017-10-02 11:58:02 -04:00
Nika Layzell c5473d47fc Bug 1401379 - Part 3: Make nsGlobalWindow's reference to nsDocShell strong, r=smaug
MozReview-Commit-ID: DxCjgWGRR0G
2017-10-02 11:58:02 -04:00
Nika Layzell 484b697044 Bug 1401379 - Part 2: Add more cycle collector edges for nsDocShell, r=smaug
MozReview-Commit-ID: 3j9jfLv7MO2
2017-10-02 11:58:01 -04:00
Nika Layzell b69ed2bf16 Bug 1399626 - Part 6: Stop asserting that RangeBoundary objects are valid as they are created, r=masayuki
This is necessary, as we now use RangeBoundary objects as intermediate types to
pass (parent,offset) pairs into constructors for nsRange. We are allowed to try
to construct invalid nsRange objects, but unfortunately doing so would fire an
assertion if we don't allow constructing invalid RangeBoundary objects.

It's possible to check if the RangeBoundary object is valid by calling
`IsSetAndValid`, which should be done for error checking when you don't trust
the source of the RangeBoundary object anyway.

MozReview-Commit-ID: 3Pf80ndRZLW
2017-10-02 11:58:00 -04:00
Nika Layzell c62dc4b532 Bug 1399626 - Part 5: Update ContentEventHandler to use the new nsIContentIterator::Init overload when possible, r=masayuki
MozReview-Commit-ID: 2Zk8zTs58hu
2017-10-02 11:58:00 -04:00
Nika Layzell cbc8fa8a3b Bug 1399626 - Part 4: Allow initializing nsIContentIterator with RangeBoundaries, r=masayuki
This patch adds an overload to nsIContentIterator::Init which accepts
RangeBoundary objects, and modifies the codepath to avoid using the offset of
the start or end nodes to construct the nsIContentIterator.

MozReview-Commit-ID: 5ZqKeiUunoN
2017-10-02 11:58:00 -04:00
Nika Layzell 7a623e996f Bug 1399626 - Part 3: Add a variant of ComparePoints to nsContentUtils which takes RangeBoundaries, r=masayuki
This is a temporary implementation, which will hopefully be fleshed out in the
future to not require calling the `Offset()` methods. Currently it just
dispatches to the existing implementation using Container() and Offset().

MozReview-Commit-ID: 9Zssbhzrnz3
2017-10-02 11:57:59 -04:00
Nika Layzell 80c94fabbf Bug 1399626 - Part 2: Add overloads of nsRange::{CreateRange, SetStartAndEnd} which take RangeBoundaries, r=masayuki
MozReview-Commit-ID: 3u6jcMh5mni
2017-10-02 11:57:59 -04:00
Nika Layzell 31035d4882 Bug 1399626 - Part 1: Add some helper methods to RangeBoundary, r=masayuki
MozReview-Commit-ID: Cy4oEQKdX39
2017-10-02 11:57:59 -04:00
John Dai 25f8ec6929 Bug 1121994 - Implement adopted callback for custom elements. r=smaug 2017-10-02 00:42:00 -04:00
Catalin Badea 77a75549c2 Bug 1395973 - Remove index cache from nsContentIterator. r=masayuki
nsContentIterator used to maintain a stack of indices so that when it
finished iterating through a subtree it would know the position of the
next node. Maintaining this stack is expensive and unnecessary since we
have fast getters for next and previous siblings.
2017-10-02 15:31:49 +01:00
Andrea Marchesini 9067ec472c Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
Olli Pettay 657d54de19 Bug 1402941 - Add HTMLSlotElement (disabled for now), r=hsivonen
--HG--
extra : rebase_source : ced3d844425bee6fddd22641646a7366ffd5d69e
2017-10-02 13:22:12 +03:00
Sebastian Hengst af851f54b8 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-02 11:06:31 +02:00
Christoph Kerschbaumer a3d6a913cc Bug 1402363: Test Mixed Content Redirect Blocking. r=tanvi,kate 2017-10-02 09:12:12 +02:00
Christoph Kerschbaumer 8944f6c302 Bug 1402363: Explicitly cancel channel after mixed content redirect. r=honza,kate 2017-10-02 09:11:57 +02:00
Gabor Krizsanits 481bdfb4f4 Bug 1404383 - Delay nsStringBundle preloading in content processes. r=smaug
Early in the startup the channel creation might fail,
in nsStringBundle load and any further attempts are prevented which
leads to broken ocaization support for the process. Let's wait until
the child process learns about the chrome URLs registered on the parent
side with the preloads.
2017-09-29 17:54:06 +02:00
J.C. Jones cdb5d484f9 Bug 1401803 - WebAuthn types need to return ArrayBuffers r=keeler
The Web Authentication types, by spec, return ArrayBuffer objects, while we
were returning a concrete Uint8Array. This is a fairly straightforward change
to add functionality to CryptoBuffer and the WebIDL types, however it's a
substantial change to the tests.

Frankly, the tests just could use another pass of clean-up now, since this is
a lot of relative ugliness added in. I refactored tab_webauthn_success.html
pretty heavily -- since it was also fairly ugly to start -- but I decided to go
with a lighter touch on the other tests.

MozReview-Commit-ID: 9vb1wdLo3SI

--HG--
rename : dom/webauthn/tests/browser/frame_webauthn_success.html => dom/webauthn/tests/browser/tab_webauthn_success.html
extra : rebase_source : bd2bc326c6bb5e00929b14c7aae66eba335c0605
2017-09-20 07:32:07 -07:00
JW Wang 23e496f3ed Bug 1404771. P3 - constify some members and fix comments. r=gerald
MozReview-Commit-ID: CMJgmY9Al0k

--HG--
extra : rebase_source : 4bacbc52a0bab984d43802c0a93078297423eaf5
extra : intermediate-source : e19cd1f94a3f876cf9763e4296ca8f145897040f
extra : source : 7da3a65c6620166a88367dc6d1f92184fa07f515
2017-09-20 16:43:19 +08:00
JW Wang ad01d1a091 Bug 1404771. P2 - always access mThrottleReadahead within the lock. r=gerald
So it is easier to run Update() loops off the main thread in the future.

MozReview-Commit-ID: LdxzQf6B3GK

--HG--
extra : rebase_source : 157984edf8ea08270fe61376e67183715b5bd4d4
extra : intermediate-source : f4045ce626977d392c799fae8f3d4f19efe3039f
extra : source : 778256b7055f4a470889eeae063660595d34337f
2017-09-20 16:37:32 +08:00
JW Wang 1ed6e3a966 Bug 1404771. P1 - fix the comment of mStreamLength. r=gerald
mStreamLength is always accessed within the lock. So it is safe to read/write
mStreamLength on all threads.

MozReview-Commit-ID: 9zJ2cwRrL5L

--HG--
extra : rebase_source : 10f282aa1c2fce2b9c0f431afb85e9d8ec7fab74
extra : intermediate-source : 38cac3d9015404aa3d1ddfd438ac57bd915fa0a7
extra : source : 60594740401732695f12f5f5232fa0f8e6681111
2017-09-20 16:29:46 +08:00
dmu@mozilla.com e2a5d6b175 Bug 1402749 - Part 2: Only allow updating VR controller amount at Vsync time; r=kip
MozReview-Commit-ID: EwXpyGnTYTD

--HG--
extra : rebase_source : b969991e31dcb612e81dd47129168a535427ce0a
2017-09-29 06:53:27 +00:00
dmu@mozilla.com 92a1d766b1 Bug 1402749 - Part 1: Remove assertion for avoiding no gamepad listeners in race condition; r=Lenzak
MozReview-Commit-ID: AqWugbCKwwx

--HG--
extra : rebase_source : d25ad6c81b33fa57ff7c3ecfa931cc9f4f52fbd4
2017-09-28 17:11:24 +00:00
Bobby Holley d429e49ba4 Bug 1404316 - Use the nsContentUtils machinery for identifying document-level NAC in GetFlattenedTreeParentNodeInternal. r=emilio
MozReview-Commit-ID: 74UMBeZBZcw
2017-10-01 14:08:18 -07:00
Sebastian Hengst 5afa7795ae Backed out changeset e6663f10c42b (bug 1404316) for crashing in devtools/server/tests/browser/browser_canvasframe_helper_04.js on Windows 7 debug with non-e10s builds. r=backout 2017-10-01 10:08:17 +02:00
Bobby Holley 801a3f2a8b Bug 1404316 - Use the nsContentUtils machinery for identifying document-level NAC in GetFlattenedTreeParentNodeInternal. r=emilio
MozReview-Commit-ID: 74UMBeZBZcw
2017-09-30 21:17:33 -07:00
Phil Ringnalda 7546edeeec Backed out 2 changesets (bug 1404316) for debug build bustage
Backed out changeset 555a9dafe460 (bug 1404316)
Backed out changeset e939fa11b68c (bug 1404316)

MozReview-Commit-ID: 5ek3To3HsWo
2017-09-30 21:09:30 -07:00