Samael Wang
5d946a3ccf
Bug 1406161 - Part 1: Reorder #include, #define, forward declarations, global & static variables. r=smaug
...
MozReview-Commit-ID: 9DKL1zuLboL
--HG--
extra : rebase_source : 97a01497f1a1a67d93e102ca8a9b2503e779c9e0
2017-12-15 14:14:06 -06:00
Emilio Cobos Álvarez
c8eb630ebe
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ffdf5d2cb5
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
c0959b2955
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Csoregi Natalia
0bf10c4d4e
Backed out 14 changesets (bug 1425975) for M(5) permafails mochitest/test_ext_webrequest_filter.html. r=backout a=backout
...
Backed out changeset e6f4a2d1df9a (bug 1425975)
Backed out changeset 1e657fa97b71 (bug 1425975)
Backed out changeset 9e1544ec814d (bug 1425975)
Backed out changeset 0e50d9d1d069 (bug 1425975)
Backed out changeset fb89dbd922ba (bug 1425975)
Backed out changeset f2b451ce55d4 (bug 1425975)
Backed out changeset 4ce186c6d8f5 (bug 1425975)
Backed out changeset 6f520ab76d6a (bug 1425975)
Backed out changeset f091f5e182c4 (bug 1425975)
Backed out changeset 82d39ed8c831 (bug 1425975)
Backed out changeset df13eba47970 (bug 1425975)
Backed out changeset 553628a56e6a (bug 1425975)
Backed out changeset acf4d61babab (bug 1425975)
Backed out changeset b7ae11b5bce8 (bug 1425975)
2017-12-24 00:23:57 +02:00
Ben Kelly
34fc67d3c5
Bug 1425975 P12 Don't mark an initial about:blank client as controlled if its sandboxed. r=asuth
2017-12-22 21:09:20 -05:00
Ben Kelly
b09f6aba9a
Bug 1425975 P7 Use the mControlledClients list to drive controller start and stop logic. r=asuth
2017-12-22 21:09:19 -05:00
Ben Kelly
0240c2751f
Bug 1426253 P3 Use the window/document GetController() method. r=asuth
2017-12-20 10:53:18 -05:00
Jonathan Kingston
d592ba8cc6
Bug 1419007 - ensure errors FireOnLocationChange after documentURI has changed in docshell. r=sawang r=francois
...
MozReview-Commit-ID: AaZEIOI4sW1
2017-11-21 11:40:01 +00:00
Ben Kelly
890e126aaa
Bug 1293277 P6 Use the ClientInfo.Id() value for FetchEvent.clientId. r=baku
2017-12-12 15:44:48 -05:00
Andrea Marchesini
b32bea6044
Bug 1424809 - Get rid of NS_NewPostDataStream, r=valentin
2017-12-12 06:01:17 -06:00
Ben Kelly
65e9628fa6
Bug 1423913 P2 Make callers expect infallble CreateSource() and CreateHandle(). r=baku
2017-12-08 11:52:07 -05:00
Narcis Beleuzu
fd0b701b6f
Backed out 4 changesets (bug 1417251) for reftest failures in abs-pos-non-replaced-vrl* on Windows and in box-sizing-replaced* on Android. r=backout a=backout
...
Backed out changeset 66d4e6df73d2 (bug 1417251)
Backed out changeset 5f8edbddf6b5 (bug 1417251)
Backed out changeset bf26cbb99b6a (bug 1417251)
Backed out changeset 2374657677b7 (bug 1417251)
--HG--
extra : amend_source : 9e00f8873f41a7aa6a98e6ccb6528e0c3c19eb05
2017-12-08 14:31:03 +02:00
Mike Conley
053fbea1fc
Backed out changeset 4643e46ff8d3 (bug 1397426)
...
--HG--
extra : rebase_source : 3e235d725c42300f3c8f3af51850e3c4e1aa7ddf
2017-12-06 16:03:32 -05:00
Jonathan Watt
3e61847b92
Bug 1417251, part 2 - Make the reftest harness support loading of consecutive URIs differing only by hash. r=dbaron,bz
...
MozReview-Commit-ID: 6VVJrtX1KZa
2017-11-14 15:58:30 +00:00
Ben Kelly
fb38b7b228
Bug 1423412 P1 Actually mark window/worker ClientSource objects controlled when loaded with a controlling service worker. r=baku r=jld
2017-12-05 20:45:22 -05:00
Ben Kelly
c948c62fd6
Bug 1422584 Handle nullptr ClientSource in nsDocShell::MaybeCreateInitialClientSource(). r=baku
2017-12-05 11:45:11 -05:00
Ben Kelly
2982dea3de
Bug 1422983 Cycle collect the ClientSource object when owned by an nsGlobalWindowInner or nsDocShell object. r=mccr8
2017-12-04 22:13:33 -05:00
Valentin Gosu
2d82c0834f
Bug 1422518 - Use LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL for meta refresh r=bz
...
MozReview-Commit-ID: H3hnO3NmHYA
2017-12-05 02:29:41 +01:00
Mike Conley
cacae0556b
Bug 1397426 - Rename TabChild's notion of "active tabs" to "visible tabs" and move logic into renderLayers. r=billm
...
MozReview-Commit-ID: 1bBNwew7uCk
--HG--
extra : rebase_source : fb907f0e9f02635b122dbf67da7a7c1292427cec
2017-11-03 11:27:29 -04:00
Thomas Nguyen
fd883fdb12
Bug 1345433 - Bring back assertion that history entries need a valid triggeringPrincipal r=JanH,smaug
...
MozReview-Commit-ID: 9GfGIxkqfhM
--HG--
extra : rebase_source : 9568fb89e43400453d42980a267aee733d551e13
2017-10-23 18:14:28 +08:00
Samael Wang
c17e17983e
Bug 1418119 - Update the assertion in nsDocShell::InternalLoad to reflect the change of OnLinkClickSync in bug 1397512. r=bz
...
MozReview-Commit-ID: J7BCKdsH8Dx
--HG--
extra : rebase_source : 60870294ea1297c4fa4cde66598fdd026e266c9f
2017-11-23 15:07:11 +08:00
Valentin Gosu
ee8c43ddf9
Bug 1414425 - Make sure the appropriate triggeringPrincipal is set for a meta refresh. r=bz
...
MozReview-Commit-ID: 4Kn6P4hnx74
2017-11-09 16:32:51 +01:00
Ben Kelly
f4ddc50d61
Bug 1420743 P2 Check the inner window for an existing document instead of the outer window in nsDocShell::EnsureInitialClientSource(). r=baku
2017-11-28 12:10:40 -05:00
Ben Kelly
e9bc23f889
Bug 1420743 P1 Do a better job of clearing docshell's mInitialClientSource at the end of page load. r=baku
2017-11-28 12:10:40 -05:00
Gabriele Svelto
8efb4e695e
Bug 1402519 - Remove MOZ_CRASHREPORTER directives from docshell; r=bz
...
MozReview-Commit-ID: 4V8AEYX3Xa7
--HG--
extra : rebase_source : 4d9d95148a8a4e9143c972a067feba37b29321d1
2017-10-10 12:03:40 +02:00
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
shindli
fb855aa7ba
Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
...
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto
af621335e5
Bug 1402519 - Remove MOZ_CRASHREPORTER directives from docshell; r=bz
...
MozReview-Commit-ID: 4V8AEYX3Xa7
--HG--
extra : rebase_source : b82ac111ceef5c9f01108cd0542c3cae51070ecf
2017-10-10 12:03:40 +02:00
Sebastian Hengst
925c9f36c0
Backed out 4 changesets (bug 1417251) for reftest failures, e.g. in box-decoration-break-with-outset-box-shadow-1.html. r=backout on a CLOSED TREE
...
Backed out changeset cdd6eb876d3d (bug 1417251)
Backed out changeset c2b174094be3 (bug 1417251)
Backed out changeset 9a85c4bd47e4 (bug 1417251)
Backed out changeset a9f5ffd87cd5 (bug 1417251)
2017-11-22 18:34:58 +02:00
Jonathan Watt
c73cc60a66
Bug 1417251, part 1 - Make the reftest harness support loading of consecutive URIs differing only by hash. r=dbaron,bz
...
When the URIs of consecutively loaded tests/references differed only by hash
we would previously do an anchor scroll causing us to fail timing out
waiting for a 'load' event that would never come. This change makes us load
such URIs using nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE to force a reload of
the document.
MozReview-Commit-ID: 6Fhy9h1tZol
2017-11-03 08:35:08 +00:00
Andrea Marchesini
ad64933e5a
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 2 - NS_NewInputStreamChannel, r=smaug
2017-11-22 11:18:36 +01:00
Ben Kelly
3935375a57
Bug 1419536 P3 Handle creating and activating the ClientSource in nsDocShell and nsGlobalWindow. r=baku r=freesamael
2017-11-21 15:13:05 -05:00
Oriol Brufau
a3f319d3d4
Bug 1418438 - Avoid null deref in nsIDocShell's forcedCharset. r=emk
...
MozReview-Commit-ID: KsTWmlAhDp8
--HG--
extra : rebase_source : 21e7476103c03488628f72aa517031135cfa4fe7
2017-11-17 21:28:50 +01:00
Bill McCloskey
fe841a52b6
Bug 1412195 - Track all changes to TabChild active state (r=bevis)
...
MozReview-Commit-ID: 7nQjquaM4sQ
2017-11-11 21:04:20 -08:00
Andreea Pavel
e1c8aba28f
Merge mozilla-central to mozilla-inbound r=merge a=merge on a CLOSED TREE
2017-11-09 22:17:00 +02:00
Johann Hofmann
43fcda5c22
Bug 1412559 - Make the "confirm repost" prompt tab modal. r=bz
...
This is done to prevent malicious pages from abusing the feature
to lock up the browser.
MozReview-Commit-ID: 8Gf55nbMwCu
--HG--
extra : rebase_source : d3426bfef38a3dba27b1d1183b5f4427cbeb7436
2017-11-08 18:26:33 +01:00
Mats Palmgren
1c2b8c222e
Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio
...
MozReview-Commit-ID: 8FPTPKWyVtY
2017-11-09 03:00:48 +01:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Christoph Kerschbaumer
6584da597b
Bug 1407891: Allow view-image to open a data: URI by setting a flag on the loadinfo. r=bz
2017-11-08 20:01:41 +01:00
Marco Castelluccio
7cdad0f284
Bug 1413248 - Remove nsIContextMenuListener, nsIContextMenuListener2 and nsContextMenuInfo as they are unused. r=qdot
...
--HG--
extra : rebase_source : e219d10f4516a79c2503362c07e02429da490209
2017-10-31 17:23:15 +00:00
Christoph Kerschbaumer
3d0a1f002e
Bug 1403814 - Block toplevel data: URI navigations only if openend in the browser. r=smaug
2017-11-03 13:23:11 +01:00
Nika Layzell
a864cbc340
Bug 1401379 - Part 1: Make nsDocShell and nsDocLoader cycle collected, r=smaug
...
MozReview-Commit-ID: Bui924n8Kvn
2017-11-01 11:06:24 -04:00
Samael Wang
f22b5529d8
Bug 1397512 - Part 1: Use LOAD_NORMAL_REPLACE in OnLinkClickSync if it's running inside an onload handler. r=smaug
...
MozReview-Commit-ID: BILgS0XTAIc
--HG--
extra : rebase_source : 76ec2c1b37ae6850ea216cfbc22ee292ec8c4d77
2017-10-26 14:13:46 +08:00
Masatoshi Kimura
dbd92543c6
Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj
...
MozReview-Commit-ID: 7JoD4VYzZp3
--HG--
extra : rebase_source : 5db437f1c34608aa223916874d62b48c59baeae8
2017-10-21 23:53:02 +09:00
Andrew McCreight
4648f443a8
Bug 1407740 - Fix a crash by setting a flag to true. r=bz
2017-10-20 16:11:26 -04:00
Nicholas Nethercote
7f098bdb9c
Bug 1409227 (part 4) - Replace nsMemory::Clone(id, sizeof(nsID)) with nsID::Clone(id). r=mccr8.
...
This change requires introducing nsID::Clone(). Because it's infallible, the
patch also removes some redundant failure-handling code. (nsMemory::Clone() is
also infallible, so this code was redundant even before this change.)
--HG--
extra : rebase_source : ef22757d3fa814320490bf7e19e822b8f0c4bdc3
2017-10-18 10:39:20 +11:00
Christoph Kerschbaumer
ebfa77072c
Bug 1408451: Log to web console when blocking toplevel data: URI navigations. r=bz
2017-10-16 14:18:52 +02:00
Kris Maglione
4a767c7e6e
Bug 1404198: Part 2j - Switch to NS_NewTimer* everywhere else. r=njn
...
MozReview-Commit-ID: LmGIgfmNSmk
--HG--
extra : rebase_source : bf34e852beb0c8f6eafd09184c2e0cda95f95f83
2017-09-24 19:57:48 -07:00
Kris Maglione
5fdcb5a5d2
Bug 1407056: Part 1 - Provide more consistent principal/origin URL to content policies. r=bz,ckerschb
...
We're currently fairly vague and inconsistent about the values we provide to
content policy implementations for requestOrigin and requestPrincipal. In some
cases they're the triggering principal, sometimes the loading principal,
sometimes the channel principal.
Our existing content policy implementations which require or expect a loading
principal currently retrieve it from the context node. Since no current
callers require the principal to be the loading principal, and some already
expect it to be the triggering principal (which there's currently no other way
to retrieve), I chose to pass the triggering principal whenever possible, but
use the loading principal to determine the origin URL.
As a follow-up, I'd like to change the nsIContentPolicy interface to
explicitly receive loading and triggering principals, or possibly just
LoadInfo instances, rather than poorly-defined request
origin/principal/context args. But since that may cause trouble for
comm-central, I'd rather not do it as part of this bug.
MozReview-Commit-ID: LqD9GxdzMte
--HG--
extra : rebase_source : 41ce439912ae7b895e0a3b0e660fa6ba571eb50f
2017-10-12 15:43:55 -07:00