Commit Graph

5010 Commits

Author SHA1 Message Date
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
Gijs Kruitbosch
ba009dae2f Bug 1408044 - remove the 'about:' page from toolkit, r=dao
MozReview-Commit-ID: 8qNBcCYWxhe

--HG--
extra : rebase_source : 7fbd316235899cbd340c53ea2111b020eff941d4
2017-11-16 17:16:12 +00: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
Ciure Andrei
a8907fc95a Backed out 5 changesets (bug 1408044) for failing Android test: TestAboutPagesPreparer.java:24: cannot find symbol. r=backout on a CLOSED TREE
Backed out changeset 5c5152ad910d (bug 1408044)
Backed out changeset c9a062838c12 (bug 1408044)
Backed out changeset 9ceaa645f2a9 (bug 1408044)
Backed out changeset 10fc0a581606 (bug 1408044)
Backed out changeset 513140019014 (bug 1408044)
2017-11-17 12:19:30 +02:00
Brendan Dahl
f9e980c97f Bug 1409580 - Skip test_bug511449.html in headless mode. r=jrmuizel
This could be enabled by adding support for SynthesizeNativeKeyEvent, but so
far this is the only test I've run into that needs this.

MozReview-Commit-ID: 9BWeHCc1fCi

--HG--
extra : rebase_source : c5b9fa25507816a988d072e290940a8d012af758
2017-10-19 17:16:17 -07:00
Gijs Kruitbosch
460f3e9014 Bug 1408044 - remove the 'about:' page from toolkit, r=dao
MozReview-Commit-ID: 8qNBcCYWxhe

--HG--
extra : rebase_source : b56c3e86aa16d975fbc38d1b50c101bfefa425a3
2017-11-16 17:16:12 +00:00
Nicholas Nethercote
f553c82da0 Bug 1416638 - Add a PrefValueKind arg to Preferences::Get*(), and remove Preferences::GetDefault*(). r=glandium
MozReview-Commit-ID: LgnZAf1pAl1

--HG--
extra : rebase_source : 8ba7c4bfb331f70fd41c2ae1d428e4cb9058d069
2017-11-14 19:06:01 +11:00
Bevis Tseng
a22e59eff8 Bug 1414136 - Fix test failures in session history relying on non-comformant Promise handling. r=sawang 2017-11-10 10:33:25 +08: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
Kyle Machulis
ea86e1d617 Bug 1416069 - Remove nsIDOMHTMLHtmlElement and nsIDOMHTMLBaseElement; r=bz
MozReview-Commit-ID: 7qUw7cLeTpe
2017-11-10 13:10:02 -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
Geoff Brown
78ad3423b1 Bug 1393441 - Disable test_bug293235.xul for on-going frequent intermittent failures; r=me,test-only 2017-11-09 09:33:03 -07: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
Jonathan Watt
2322aebae3 Bug 1413217 - Fix some includes etc. in widget code. r=jimm
MozReview-Commit-ID: 8bW6WIPMun4
2017-10-12 17:03:35 +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
6fbe557b4c Bug 1412824: Refactor MaybeCloseWindow and allow to reuse the window close code from within nsExternalHelperAppService as well as nsDSURIContentListener. r=smaug 2017-11-03 13:23:25 +01: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
Marco Castelluccio
e806915aa2 Bug 1412982 - Compile nsDownloadHistory only if Places is not used. r=mak
--HG--
extra : rebase_source : 40294c023f64dfb1e27e11add4f54c1de50fbf97
2017-11-02 17:30:01 +01:00
Kyle Machulis
be815f3caf Bug 1412437 - Remove nsIDOMHTMLTextAreaElement; r=bz
MozReview-Commit-ID: JAON7Rd7IAo
2017-11-01 14:28:22 -07: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
Andrew Osmond
0e2b74f9d2 Bug 1404422 - Part 2. Make chrome test ignore generic, unrelated chrome URLs from events. r=tnikkel 2017-11-01 06:59:10 -04:00
Marco Castelluccio
184be31cf6 Bug 1413052 - Remove nsCommandHandler as it is unused. r=mossop
--HG--
extra : rebase_source : de588679698715a35ab02099635483d31a005b56
2017-10-31 00:15:32 +00: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
Andrew McCreight
0d44bb055a Bug 1412137 - Fix up mode lines in docshell/. r=freesamael
MozReview-Commit-ID: 8xm0Ax7pqZF

--HG--
extra : rebase_source : c32694e2a5808c3de86601420d72800cfda4cfef
2017-10-26 16:03:44 -07:00
Edouard Oger
76547f53cc Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
MozReview-Commit-ID: APdGc9avJDw

--HG--
extra : rebase_source : aaa788be5251607ebedcb5b690da0e2a1a64e2cb
2017-10-24 14:05:52 -04:00
Sebastian Hengst
93903f0306 Backed out 2 changesets (bug 1395460) for eslint failure at browser/components/uitour/UITour.jsm:556 (no return value from arrow function). r=backout on a CLOSED TREE
Backed out changeset 0bc6d186d609 (bug 1395460)
Backed out changeset 6c028123001d (bug 1395460)
2017-10-26 23:33:04 +02:00
Edouard Oger
58876ecbe9 Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
MozReview-Commit-ID: APdGc9avJDw

--HG--
extra : rebase_source : 9da1cea9fb6494c057bc6587a7bcbdb4ac127448
2017-10-24 14:05:52 -04: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
Jesse Ruderman
cad2954183 Bug 443655 - Add crashtest. r=me 2017-10-18 09:43:10 -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
Sebastian Hengst
6cab3753eb merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-17 11:48:30 +02:00
Sebastian Hengst
32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02: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
Ethan Lin
f585fef0f1 Bug 1408296 - Enable some crashtests for webrender. r=kats
MozReview-Commit-ID: 543ZYLhacx8

--HG--
extra : rebase_source : 247ddffeba52e7a7fbe864c2644be66b164ceb24
2017-10-13 11:56:04 +08: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
Kyle Machulis
1cc8b01353 Bug 1406224 - Remove nsIDOMHTMLImageElement; r=bz
MozReview-Commit-ID: GCATWRt6qMo

--HG--
extra : rebase_source : 29854f1374c6ad318da0b5b68be23507667c3be4
2017-10-06 13:27:23 -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
Sebastian Hengst
044775ad49 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-11 00:01:28 +02:00
evilpies@gmail.com
06beef32ba Bug 1305237 LoadInfo changes to include all ancestors principals and window IDs, r=bz,mystor
MozReview-Commit-ID: 1IMi5MqTx7o

--HG--
extra : rebase_source : 373f1928987718fe3bc22306e0dd3ae13fc0cd9f
2017-10-10 09:54:00 -07:00
Peter Van der Beken
c705293c1c Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Ben Kelly
20f23200cd Bug 1391693 P1 Rename nsIInterceptedChannel.cancel() to cancelInterception() r=jdm 2017-10-09 10:03:40 -07:00