Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Andreea Pavel
29ba7b4974
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-04-11 17:40:37 +03:00
Andreea Pavel
4114ad2cfc
Merge mozilla-inbound to mozilla-central. a=merge
2018-04-11 17:36:09 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Nika Layzell
952f6a915a
Bug 1443954 - Part 3: Add support for RefCounted types to IPDL, r=bz,froydnj,baku
...
This patch was reviewed in parts, however the intermediate states would not build:
Bug 1443954 - Part 3A: Strip pointers from the argument to WriteParam and WriteIPDLParam before selecting the ParamTraits impl, r=froydnj
Bug 1443954 - Part 3B: Move nsIAlertNotification serialization to the refcounted system, r=bz
Bug 1443954 - Part 3C: Move geolocation serialization to the refcounted system, r=bz
Bug 1443954 - Part 3D: Move nsIInputStream serialization to the refcounted system, r=baku
Bug 1443954 - Part 3E: Move BlobImpl serialization to the refcounted system, r=baku
Bug 1443954 - Part 3F: Correctly implement ParamTraits for actors after the ParamTraits changes, r=froydnj
2018-04-10 17:49:48 -04:00
Nika Layzell
b286bc10d9
Bug 1443379 - Stop pretending cacheKey can be anything other than uint32_t, r=smaug
2018-04-10 17:49:46 -04:00
Nika Layzell
adc5b074cd
Bug 1434768 - Part 5: Add EvictLocalContentViewers to ChildSHistory, r=bz
2018-04-10 17:49:46 -04:00
Nika Layzell
11744e4b91
Bug 1434768 - Part 4: Create a ParentSHistory in nsFrameLoader, r=bz
2018-04-10 17:49:45 -04:00
Nika Layzell
4464c02334
Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz
2018-04-10 17:49:45 -04:00
Nika Layzell
8822e43271
Bug 1434768 - Part 2: Replace nsDocShell::mSessionHistory with ChildSHistory, r=bz
2018-04-10 17:49:45 -04:00
Nika Layzell
c3cbd8710f
Bug 1434768 - Part 1: Add Child/ParentSHistory classes which wrap nsISHistory, r=bz
2018-04-10 17:49:44 -04:00
Gijs Kruitbosch
ab8c7381c6
Bug 1427726 - remove nsIJARChannel::isUnsafe and nsIDocShell::channelIsUnsafe, r=bz
...
MozReview-Commit-ID: 7XyRqzKDbsq
--HG--
extra : rebase_source : 34b73305fbea96d01ba44f7e97f82d05a6561b0d
2018-02-07 14:25:33 +00:00
Gijs Kruitbosch
f6a05ddbd5
Bug 1427726 - remove support for remote JAR files, r=michal
...
MozReview-Commit-ID: H7aaTmj3FI1
--HG--
rename : modules/libjar/test/mochitest/bug403331.zip => modules/libjar/test/mochitest/bug1173171.zip
rename : modules/libjar/test/mochitest/bug403331.zip^headers^ => modules/libjar/test/mochitest/bug1173171.zip^headers^
extra : rebase_source : 30a8e937840bbfed5fe7e66202a5d2893b19c037
2018-02-07 13:54:39 +00:00
Andreea Pavel
f9b34d3781
Backed out 5 changesets (bug 1427726) for failing linux asan at modules/libjar/test/unit/test_bug407303.js on a CLOSED TREE
...
Backed out changeset ee9abd6f1ba5 (bug 1427726)
Backed out changeset b1b76f9dff73 (bug 1427726)
Backed out changeset f41cf7811770 (bug 1427726)
Backed out changeset cb35e7b10235 (bug 1427726)
Backed out changeset 753ece6c9f1b (bug 1427726)
--HG--
rename : modules/libjar/test/mochitest/bug1173171.zip => modules/libjar/test/mochitest/bug403331.zip
rename : modules/libjar/test/mochitest/bug1173171.zip^headers^ => modules/libjar/test/mochitest/bug403331.zip^headers^
2018-04-11 12:46:20 +03:00
Gijs Kruitbosch
bf0070e2f6
Bug 1427726 - remove nsIJARChannel::isUnsafe and nsIDocShell::channelIsUnsafe, r=bz
...
MozReview-Commit-ID: 7XyRqzKDbsq
--HG--
extra : rebase_source : ad7994fd90f62a95e35043e147fd52f5e5b498c1
2018-02-07 14:25:33 +00:00
Gijs Kruitbosch
1f5038413e
Bug 1427726 - remove support for remote JAR files, r=michal
...
MozReview-Commit-ID: H7aaTmj3FI1
--HG--
rename : modules/libjar/test/mochitest/bug403331.zip => modules/libjar/test/mochitest/bug1173171.zip
rename : modules/libjar/test/mochitest/bug403331.zip^headers^ => modules/libjar/test/mochitest/bug1173171.zip^headers^
extra : rebase_source : 0fbe2ed07a3ccdb3693973e966e1ea3e43dd1623
2018-02-07 13:54:39 +00:00
Andreea Pavel
26f640b36b
Backed out 4 changesets (bug 1366808) for Windows GPU leakchecks on a CLOSED TREE
...
Backed out changeset 23f60e5acaa2 (bug 1366808)
Backed out changeset bf2262b6aca8 (bug 1366808)
Backed out changeset 1fc82af3a155 (bug 1366808)
Backed out changeset 0649f0d9884b (bug 1366808)
2018-04-10 05:11:36 +03:00
Stephen A Pohl
b40a23754c
Bug 1366808: Properly detect buildID mismatches between parent and child processes and display about:restartrequired to prompt the user to restart Firefox before proceeding. r=jimm,felipe,bz
2018-04-09 20:16:31 -04:00
Boris Zbarsky
7c94e8697f
Bug 1449631 part 3. Remove nsIDOMEventTarget::RemoveSystemEventListener. r=smaug
...
MozReview-Commit-ID: F67Od8surQ8
2018-04-05 13:42:40 -04:00
Florian Quèze
aeee824925
Bug 1449925 - make the --private command line parameter work when browser.startup.blankWindow is true, r=Ehsan.
2018-04-04 21:29:16 +02:00
Christoph Kerschbaumer
4197b7d96d
Bug 1439713 - Update tests relying on nsIContentPolicy. r=bz
2018-03-29 11:14:58 +02:00
Christoph Kerschbaumer
3739c23b85
Bug 1439713 - Add flag to loadinfo for skipping certain security policy checks. r=bz
2018-03-29 11:14:35 +02:00
Christoph Kerschbaumer
a929955d1f
Bug 1439713 - Change nsIContentPolicy shouldLoad to take an <uri, loadInfo> pair instead of the various args. r=bz
2018-03-29 12:16:23 +02:00
Masayuki Nakano
ec04470e25
Bug 1448876 - Get rid of nsIClipboardDragDropHooks and nsIClipboardDragDropHookList interfaces r=bz
...
nsIClipboardDragDropHooks and nsIClipboardDragDropHookList allow XUL apps
to customize drag and drop operation and paste operation. However, this
feature was used only by ChatZilla and it doesn't work on Gecko anymore.
So, we can get rid of them from our tree.
MozReview-Commit-ID: Ibs3V1gI8Ry
--HG--
extra : rebase_source : 83428293d59aaca432d76c71b214aa7799f7f9de
2018-03-26 23:56:53 +09:00
Franziskus Kiefer
806baa5430
Bug 1415279 - Move error strings for certError and netError pages to frontend, r=johannh,keeler,Honza,snorp
...
This patch moves all TLS error string handling to the frontend.
Dev-tools doesn't show the same error code as the page does anymore but only the error code as string.
All logging of these error messages has been removed.
Bug #: 1415279
Differential Revision: https://phabricator.services.mozilla.com/D607
--HG--
extra : rebase_source : 61e2d94cb21ef4c02b81448531609205c85a9707
2018-03-27 13:31:52 +02:00
Tim Nguyen
e002c63fa4
Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
...
MozReview-Commit-ID: 5dsyKwvjYht
--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00
Tim Nguyen
5e399b2f06
Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
...
MozReview-Commit-ID: A5rMjQ6xnRw
--HG--
extra : rebase_source : 31166bca511e5bc16ffff2acab2e3295d9f6079c
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
27703664b0
Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
...
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
e2ed0b5dfb
Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
...
MozReview-Commit-ID: 5dsyKwvjYht
--HG--
extra : rebase_source : 8e9f24d20829021db2239435c7d8d0db08e28bf9
2018-03-16 23:21:46 +00:00
Tim Nguyen
78b296ff06
Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
...
MozReview-Commit-ID: A5rMjQ6xnRw
--HG--
extra : rebase_source : e44817bd271a3477fdd54f405beb1b5096a032d0
2018-03-25 13:59:50 +02:00
Boris Zbarsky
29d232e53f
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
Peter Van der Beken
f5754d679a
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
...
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Tooru Fujisawa
e2417d4b9f
Bug 1342070 - Part 0: Add API to tell Profile Timeline Recording state to JS engine. r=till,tromey
2018-04-17 14:59:56 +02:00
Brindusan Cristian
8bcf097e09
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-04-17 13:10:25 +03:00
Emilio Cobos Álvarez
8fc8563d65
Bug 1452143: Expose and honor a cssErrorReportingEnabled in the docshell. r=bholley
...
The idea would be for parallel CSS parsing to check the static methods in
ErrorReporter before loading the sheet.
MozReview-Commit-ID: D7cedJQpz9K
2018-04-17 11:23:31 +02:00
Boris Zbarsky
f982b572f8
Bug 1446711 part 2. Get rid of nsIDOMMouseEvent::GetClientX/Y. r=qdot
...
MozReview-Commit-ID: DqMhK4wajH5
2018-03-20 00:16:05 -04:00
Boris Zbarsky
c0eef0b3dd
Bug 1446711 part 1. Get rid of nsIDOMMouseEvent::GetScreenX/Y. r=qdot
...
MozReview-Commit-ID: 9Y61WHTDVvF
2018-03-20 00:16:05 -04:00
Tooru Fujisawa
1adba8c1fc
Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao
2018-03-19 11:16:45 +09:00
Bogdan Tara
7eb4cdd58d
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-03-17 12:34:09 +02:00
Boris Zbarsky
c5b088227c
Bug 1445417 part 3. Stop using ndIDOMDragEvent in docshell and dom code. r=mystor
...
MozReview-Commit-ID: 21JCx8OeaR5
2018-03-16 22:25:25 -04:00
Adrian Wielgosik
87a72d3f51
Bug 1446515 - Remove nsIDOMFileList. r=bz
...
MozReview-Commit-ID: 4ab1e6NTcOB
--HG--
extra : rebase_source : 09388e531e2bcc6a133cc1ec76946a79ddf2bcb0
2018-03-16 20:55:32 +01:00
Gijs Kruitbosch
58ea959557
No bug, update documentation of nsAboutRedirector.cpp that was outdated, rs=Mossop
2018-03-15 18:20:02 +00:00
Jim Blandy
9120910ea9
Bug 1438121: Final Part 1: Change JS::CopyAsyncStack's maxFrameCount to be a Maybe, and use that type throughout. r=tromey
...
I botched another patch in this series because I was confused about when zero
meant "no limit" and when it actually just meant zero, so I figured I'd fix this.
MozReview-Commit-ID: 5vgzKGSKL8F
--HG--
extra : rebase_source : dc57c22b08455a1867eeaa139b3045d2ae181cef
extra : histedit_source : e82898f74e8568bbbd10f7589427f5fbbcfe24fa
2018-03-06 21:52:31 -08:00
Nika Layzell
ea653b9e5e
Bug 1440771 - Part 3: Use nsCOMPtr<nsIInputStream> directly in PContent, r=baku
...
MozReview-Commit-ID: 32gMROoF1qU
2018-03-05 16:00:05 -05:00
Eitan Isaacson
528d0526a6
Bug 1442355 - Add a getter for docshell's colormatrix. r=smaug
...
--HG--
extra : rebase_source : ceb177980b2da2e0efa3e78a68f9bc299386355f
2018-03-05 09:51:00 +02:00
Emilio Cobos Álvarez
2988d4e66d
Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug
...
aDocument is always content->OwnerDoc().
aContainer is always content->GetParent().
Differential Revision: https://phabricator.services.mozilla.com/D664
MozReview-Commit-ID: 4xwPCOnhyIL
2018-03-01 22:45:17 +01:00
Sebastian Hengst
6098a3cc4d
merge mozilla-central to mozilla-inbound. CLOSED TREE
2018-03-01 12:29:42 +02:00
Sebastian Hengst
3a10644021
Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
...
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)
--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Sebastian Hengst
1761ef65c7
merge mozilla-central to mozilla-inbound. CLOSED TREE
2018-02-28 20:19:28 +02:00
Florian Quèze
c546946f86
Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8.
2018-02-28 18:51:34 +01:00
Florian Quèze
c714053d73
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Sebastian Hengst
1ded4e973b
merge mozilla-central to mozilla-inbound
2018-02-28 12:58:05 +02:00
Sebastian Hengst
769222fadf
merge mozilla-inbound to mozilla-central. a=merge
...
--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
2018-02-28 12:54:12 +02:00
Tooru Fujisawa
f8972997f6
Bug 1435908 - Part 4: Pass the triggering principal when opening an URI in non-tab browser drag and drop. r=Gijs
2018-02-28 10:36:44 +09:00
Eitan Isaacson
f24dd705f9
Bug 1431466 - expose colormatrix in docshell. r=kats
...
--HG--
extra : rebase_source : e007cdaf28e4e67a2760c1e8105312cec94bf16a
2018-02-27 13:00:00 +02:00
Emilio Cobos Álvarez
9f26540cc4
Bug 1441547: Make character data change notifications use a const reference for the info parameter. r=smaug
...
It's not intended to be mutated.
MozReview-Commit-ID: 5nkD1YkidlV
--HG--
extra : rebase_source : 810d429208fa3eaf30e220e77a7d27107cb77346
2018-02-27 15:30:27 +01:00
Peter Van der Beken
6cf0e1c871
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
...
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Eugen Sawin
ce66babc57
Bug 1441964 - [1.0] Return URI-load delegation success state instead of throwing. r=snorp
2018-02-28 21:02:35 +01:00
Eugen Sawin
c1b732dbb8
Bug 1440592 - [1.0] Use correct where constant for new window. r=smaug
2018-02-28 21:02:35 +01:00
Valentin Gosu
27e9e0be9f
Bug 1433958 - Change code that sets nsIURI.host to use nsIURIMutator r=mayhemer
...
MozReview-Commit-ID: 7T5gCu8WOfa
--HG--
extra : rebase_source : 752c34e5f9dde2e16fc9243c11860b987acbcb93
2018-02-26 20:43:47 +01:00
Valentin Gosu
84b854ce2c
Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer
...
* Code in XMLHttpRequestMainThread is converted to set the username and password individually. This is because when the parameters are empty, it ended up calling SetUserPass(":") which always returns an error.
MozReview-Commit-ID: 3cK5HeyzjFE
--HG--
extra : rebase_source : f34400c11245d88648b0ae9c196637628afa9517
2018-02-26 20:43:46 +01:00
Kirk Steuber
f923709efc
Bug 1438243 - Improve the UI for pages blocked by policy r=Felipe
...
Improves the UI for pages blocked by the enterprise policy manager. These improvements include a new image instead of the generic "info" image and updated, approved strings for the page.
MozReview-Commit-ID: 9d6V9onHGGg
--HG--
extra : rebase_source : d702947924f24d9440455a56b7e2f876ab634464
2018-02-22 15:41:12 -08:00
Valentin Gosu
a60ce32b46
Bug 1439931 - nsIIOService.extractScheme/net_ExtractURLScheme should lowercase its output r=mayhemer
...
MozReview-Commit-ID: LZ2rqIdIoXQ
--HG--
extra : rebase_source : 3d9973f0001ddc2d98cad0ddddb646cedac489c7
2018-02-26 16:42:27 +01:00
Adrian Wielgosik
2d4df58ad8
Bug 1439751 - Remove all members from nsIDOMHTMLInputElement. r=qdot
...
MozReview-Commit-ID: JVagEzvSONN
--HG--
extra : rebase_source : a7e1cf2e5ccc1925f3a11c7d935438ef6307c70c
2018-02-20 23:10:44 +01:00
Masayuki Nakano
cf83ee7bb4
Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
...
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.
MozReview-Commit-ID: De4enbjux3T
--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Yaroslav Taben
9460881a14
Bug 619092 - Refactor code for removing wyciwyg scheme from URL into util method r=bz
...
MozReview-Commit-ID: 3eSJJDMDKfE
--HG--
extra : rebase_source : a55ff32e3435f15bbe325b92f4f0a33a22afd679
2018-02-16 16:52:50 -05:00
Hiroyuki Ikezoe
7034a44b02
Bug 1432396 - Add assertions that we don't allow reinitialization of variables that were reset in nsDocShell::Destroy(). r=bz
...
Here is the list of variables which are reset in nsDocShell::Destroy().
The right column shows the function where the variable is set. In this patch
all the functions other than SetTreeOwner(*1) have an assertion that we don't
allow the function to be called or bail out during destroying the docshell.
It is possible that SetTreeOwner() is called in script through
`browser.setAttribute("primary", "true")`. So we can't assert there, we just
bail out from SetTreeOwner when the docshell is being destroyed.
mInitialClientSource MaybeCreateInitialClientSource()
mObserveErrorPages: Initially true, never sets true again
mLoadingURI: CreateContentViewer()
mOSHE->SetEditorData(nullptr): DetachEditorFromWindow()
mLSHE->SetEditorData(nullptr): Setting again in RestoreFromHistory() after bailing out if mIsBeingDestroyed is true
mContentListener: Init()
Stop(nsIWebNavigation::STOP_ALL)
mRestorePresentationEvent: RestorePresentation()
mFailedChannel: LoadErrorPage()
mFailedURI: LoadErrorPage()
mRefreshURIList: RefreshURI()
mEditorData: ReattachEditorToWindow() and EnsureEditorData()
mTransferableHookData: EnsureTransferableHookData()
mContentViewer: SetupNewViewer()
mParentWidget: SetParentWidget()
mCurrentURI: SetCurrentURI()
mScriptGlobal: EnsureScriptEnvironment()
mSessionHistory SetSessionHistory()
SetTreeOwner(): SetTreeOwner() *1
mOnePermittedSandboxedNavigator: SetOnePermittedSandboxedNavigator()
mSecurityUI: SetSecurityUI()
CancelRefreshURITimers()
mRefreshURIList: RefreshURI()
mSavedRefreshURIList: RefreshURI()
mPrivateBrowsingId: SetPrivateBrowsing()
mOriginAttributes: SetOriginAttributes()
DecreasePrivateDocShellCount: SetAffectPrivateSessionLifetime()
MozReview-Commit-ID: G5d941R9K8V
--HG--
extra : rebase_source : 978e5b232e76a803c104c030bbeb91315d886491
2018-02-16 06:29:59 +09:00
Hiroyuki Ikezoe
fbdb88bdd8
Bug 1432396 - Do not process nsDocShell::Destroy() if the docshell is already being destroyed. r=bz
...
The test case in this patch is harmless without this fix, no assertion happens,
no failure happens in the test, but nsDocShell::Destroy() is processed twice.
MozReview-Commit-ID: 2g949emc7at
--HG--
extra : rebase_source : 34209e5cd5310521b2eec4d4f67f355bfdae5d8d
2018-02-16 06:15:04 +09:00
Hiroyuki Ikezoe
74793b07f2
Bug 1432396 - Stop the newly create orphaned viewer when the docshell is destroyed in nsDocShell::CreateContentViewer(). r=bz
...
Normally the docshell stops the content viewer in nsDocShell::Stop(), but in this
case it won't be stopped in that function since the new content viewer has never
been associated with this docshell.
dom/base/test/test_bug1126851.html is a test case that we bail out
from CreateContentViewer() due to win.close() in an unload event callback.
MozReview-Commit-ID: 7O7TmwHN9re
--HG--
extra : rebase_source : 8f50efd4b582d3283ad482fd896b5d558c0e8269
2018-02-16 06:15:03 +09:00
Hiroyuki Ikezoe
cb1555c1b4
Bug 1432396 - Bail out if the docshell is being destroyed due to pagehide notification. r=bz
...
There are four call sites of FirePageHideNotification(). Two of them are
handled in this patch. The other two will be taken care of in the subsequent
patches in this patch series respectively.
Without this fix, the test case in this patch causes assertions when
cycle collection happens.
MozReview-Commit-ID: 6GSxjdfXGcY
--HG--
extra : rebase_source : 998b95ae90a1ad80dc177d5eecf1a592ba375116
2018-02-16 06:15:03 +09:00
Hiroyuki Ikezoe
a337532619
Bug 1432396 - Check the docshell is being destroyed along with the tree owner at the top of nsDocShell::CreateContentViewer(). r=bz
...
We bail out the function to make sure we don't process CreateContentViewer
and mLoadingURI is not re-initialized in the function while destroying the
docshell.
MozReview-Commit-ID: AYJ1t2N786N
--HG--
extra : rebase_source : b02c6a061a8938936b40195e166ac2b6c187406d
2018-02-16 06:15:02 +09:00
Kirk Steuber
04e4231688
Bug 1421707 - Implement a system for disabling about: pages via Policy r=bz,Felipe
...
Additionally adds the enterprise policy for disabling about:config.
MozReview-Commit-ID: 7bT8eV3tRnN
--HG--
extra : rebase_source : a54cc94ea9dbecdfd37a17c96e5048a5d20c6411
2018-02-06 10:00:56 -08:00
Michael Kaply
0bb8ee8527
Bug 1371367 - Treat langpack search engines as default. r=florian
...
MozReview-Commit-ID: AVYhWRk2Alk
--HG--
extra : rebase_source : 86d4f76acc42f1e1bc831aa913a46231c7ab8d4a
2018-02-14 10:34:25 -06:00
Adrian Wielgosik
1bc4558c83
Bug 1437300 - Remove nsIDocCharset. r=bz
...
MozReview-Commit-ID: Ldl4utK3JKr
--HG--
extra : rebase_source : 7009469dd13e16d43fcdba7549ad88ccf3eb3552
2018-02-10 19:12:42 +01:00
Nathan Froyd
0f56acaf26
Bug 1437604 - remove NS_INTERFACE_MAP_END_THREADSAFE; r=mystor
...
This macro is identical to NS_INTERFACE_MAP_END and encourages the
reader to think that there's something extra-special threadsafe about QI
implementations that use the macro, when in reality there's nothing of
the sort.
2018-02-12 14:36:46 -05:00
Tom Ritter
aa82f54ab6
Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
...
There are a few different reasons why tests needed updating (not an exhaustive list):
- Tests assume that successive operations take place at different times.
- Tests assume that an operation took a minimum amount of time.
- Tests hardcodes a specific delay.
In most cases we hardcode the preference off. In some cases this is the best approach,
in others, we would like to improve. The bug for tracking those improvements is Bug 1429648
An improvement that is present in some tests is to hardcode a specific precision reduction
that is acceptable based on the confides of the test. (Obviously this needs to be a fix for
the test framework and not a requirement on the feature being tested.)
In a few places, the test itself can be fixed, for example to no longer require the end
time of an operation to be strictly greater than the start time, and allows it to be equal
to it.
MozReview-Commit-ID: J59c7xQtZZJ
--HG--
extra : rebase_source : df8a03e76eaf9cdc9524dbb3eb9035af237e534b
2018-02-12 11:39:41 -06:00
Josh Matthews
19738f789f
Bug 1436743
- Dispatch events via the docgroup rather than the tabgroup when possible. r=mystor
2018-02-08 15:54:00 -05:00
Emilio Cobos Álvarez
e6314d1382
Bug 1435939: Make media feature changes always async. r=bz
...
Much in the spirit of bug 1434474.
We right now call MediaFeatureChanges sync or async pretty randomly. This has
caused bugs in the past like bug 1413143.
Unify media feature changes, and only post them async, and flush them from
FlushPendingNotifications.
This also fixes a pre-existing problem where style wasn't flushed correctly from
getComputedStyle when there were pending media feature values.
MozReview-Commit-ID: H9S1M8fk5H4
2018-02-07 15:27:30 +01:00
Gurzau Raul
772c8edfef
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-02-07 02:29:42 +02:00
Andrew McCreight
5dec0e0beb
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Samael Wang
3fdff5f7c9
Bug 1416307 - Set triggeringPrincipal to current document's principal, if aPrincipal is not given. r=bz
...
MozReview-Commit-ID: 8lxKFeUlyzq
2018-02-06 13:28:30 -05:00
Boris Zbarsky
29c18cd07f
Bug 1434318 part 4. Remove nsIDOMDocument's documentElement attribute. r=mystor
...
MozReview-Commit-ID: 2FUstFDF2lF
2018-01-31 15:18:10 -05:00
Boris Zbarsky
c62e23596a
Bug 1434318 part 2. Stop using nsIContentViewer::GetDOMDocument in C++. r=mystor
...
MozReview-Commit-ID: FoMoVgCngGR
2018-01-31 15:18:09 -05:00
Boris Zbarsky
45afd61f33
Bug 1434318 part 1. Make nsIContentViewer's DOMDocument readonly. r=mystor
...
No one ever assigns to it in JS anyway.
MozReview-Commit-ID: EAoOXSFnwtl
2018-01-31 15:18:09 -05:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Boris Zbarsky
7c392f077e
Bug 1418085 part 6. Remove nsIDOMHTMLElement. r=mystor
...
MozReview-Commit-ID: 5QUyFeAQYZQ
2018-01-30 00:25:36 -05:00
Boris Zbarsky
9da3878bc9
Bug 1418076 part 11. Eliminate the nsIDOMHTMLDocument interface. r=mystor
...
MozReview-Commit-ID: 4lEcUeenbg3
2018-01-26 01:03:25 -05:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533
) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533
)
Backed out changeset 34c999fa006b (bug 1431533
)
Backed out changeset e2674287e57f (bug 1431533
)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533
) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533
)
Backed out changeset 12fc4dee861c (bug 1431533
)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Ben Kelly
e71d8db226
Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth
2018-01-26 13:08:59 -08:00
Andrea Marchesini
c6da271117
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
...
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Kris Maglione
aec63e140c
Backed out 3 changesets (bug 1431533
) for Android mochitest bustage. CLOSED TREE
...
MozReview-Commit-ID: 5ubE9EMQpZ9
--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione
30b3a49bfd
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
MozReview-Commit-ID: 8V1ZT53ReiP
--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Brindusan Cristian
368c3d5b6b
Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
...
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Ben Kelly
81f9741573
Bug 1431847 P5 Perform service worker interception in the parent if ServiceWorkerParentInterceptEnable() returns true. r=asuth
2018-01-24 12:47:16 -05:00
Andrea Marchesini
6480b95ba3
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
2018-01-24 17:17:31 +01:00
Nika Layzell
c33284aec0
Bug 1293362 - Part 4: Generate runtime bindings for calling xpcom methods from rust, r=froydnj
...
MozReview-Commit-ID: K37KyHkKsSl
2018-01-23 17:27:26 -05:00
Ben Kelly
70f338b679
Bug 1231211 P10 Move nsDocShell logic into separate ServiceWorkerInterceptController. r=asuth
2018-01-23 10:38:53 -05:00
Ben Kelly
1d94a9ebaa
Bug 1231211 P9 Move logic out of nsDocShell::ChannelControlled() and into ServiceWorkerManager::DispatchFetchEvent(). r=asuth
2018-01-23 10:38:53 -05:00
Ben Kelly
bcb92a3fdd
Bug 1231211 P8 Make nsDocShell::ShouldPrepareForIntercept() only depend on channel data. r=asuth
2018-01-23 10:38:53 -05:00
Ben Kelly
2dc82400a7
Bug 1231211 P7 Pass the nsIChannel to ShouldPrepareForIntercept(). r=asuth
2018-01-23 10:38:53 -05:00
Ben Kelly
5a5a70b6f5
Bug 1231211 P4 Set isReload on LoadInfo in docshell. r=asuth
2018-01-23 10:38:52 -05:00
Emilio Cobos Álvarez
d673bbdc88
Bug 1431854: Remove a bit of indirection in nsSHEntryShared::SetContentViewer. r=smaug
...
MozReview-Commit-ID: HRIfFJa9K2V
--HG--
extra : rebase_source : 5fe6ffea02377d7e93dbd4e2a0f8389be38bb388
2018-01-19 23:50:13 +01:00
Jonathan Watt
d80eff51f9
Bug 1430619 part 3 - Remove nsIContentViewerContainer. r=smaug
...
MozReview-Commit-ID: BxpgH0DPKQw
2018-01-11 12:27:00 +00:00
Jonathan Watt
b7e7d82901
Bug 1430619 part 2 - Move nsIContentViewerContainer::setIsPrinting to nsIDocShell. r=smaug
...
MozReview-Commit-ID: LJrZbDAilnW
2018-01-11 12:05:37 +00:00
Jonathan Watt
e0fb07c39d
Bug 1430619 part 1 - Make nsIContentViewerContainer::embed non-IDL. r=smaug
...
MozReview-Commit-ID: 5yw90tgFCGz
2018-01-11 11:42:15 +00:00
Mike Conley
b9592e87ec
Bug 1423200 - When setting up a new content viewer, if the previous PresShell was active, make the new one active too. r=mystor
...
It's possible to RenderLayers for a top-level content process DocShell without that DocShell being
active. When we do this, the PresShell for that DocShell becomes active, but the DocShell stays
inactive (to avoid accidentally playing paused video or clearing notifications in that DocShell).
If a DocShell is inactive but rendering its layers, it's possible for that DocShell to navigate.
When this occurs, a new PresShell can be created, which normally reads its active state off of
the DocShell. This means that the PresShell will become inactive even though the tab is supposed
to continue rendering its layers.
This patch checks for PresShell active state when setting up a new content viewer after a navigation,
and if the previous PresShell was active, makes the new PresShell active too.
MozReview-Commit-ID: KX9HvZJKqg2
--HG--
extra : rebase_source : aac1710a64b6e5f93b9874b2a15637d94a8ce5b6
2018-01-17 14:36:08 -08:00
Chris Peterson
37efe4d0e6
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Nika Layzell
e0822be7b9
Bug 1383876 - Part 2: Remove GroupedSHistory and Prerendering logic from JS code, r=freesamael
...
MozReview-Commit-ID: KwvOcgQKheK
2018-01-12 17:52:54 -05:00
Nika Layzell
a0d1f16079
Bug 1383876 - Part 1: Remove GroupedSHistory and Prerendering logic from C++ code, r=freesamael, r=smaug
...
MozReview-Commit-ID: 2aHA6NcQPGk
2018-01-12 17:52:52 -05:00
Sylvestre Ledru
4b189b7baf
Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
...
MozReview-Commit-ID: Htgc44dCEjX
--HG--
extra : rebase_source : 55ce6a6a72c36cbfdbeef08fe58d11f2053dc35f
2018-01-10 08:55:38 +01:00
Ciure Andrei
f7400ad72e
Merge inbound to mozilla-central r=merge a=merge
2018-01-11 11:54:56 +02:00
Kate McKinley
e97980a95e
Bug 1424917 - Remove support for HSTS Priming. r=mayhemer, r=ckerschb
...
This patch removes support and tests for HSTS priming from the tree.
2018-01-10 11:07:00 -05:00
Andrew Swan
63c732760f
Bug 1396399
- Clarify rules for applying activeTab permission to content scripts. r=kmag, r=bz
...
MozReview-Commit-ID: 9xPDX8Qk2iR
2017-11-04 21:06:20 -07:00
Milan Sreckovic
2413f473dd
Bug 1423558: Use BaseRect access methods instead of member variables in docshell r=freesamael
...
MozReview-Commit-ID: CrdXCQkKdnh
--HG--
extra : rebase_source : dda614844fdf4c894aafc8736458616ef208bea1
2018-01-10 10:46:57 -05:00
Doug Thayer
1e3446b9cc
Bug 1421703 - Fix tests to use onVisits r=mak
...
Fairly straightforward. Fixes the tests that were broken due to
the changes introduced in part 1.
MozReview-Commit-ID: GbZ9ZpmG9nE
--HG--
extra : rebase_source : ebb2088288718631a941139d5a4d945259aaa0c6
2017-12-14 16:55:31 -06:00
Margareta Eliza Balazs
fe2caaa266
Merge inbound to mozilla-central r=merge a=merge
2018-01-09 11:52:55 +02:00
Alphan Chen
87bb85b91b
Bug 1421214 - Try GoToAnchor() with unescaped string before using document's charset. r=smaug
2018-01-05 15:12:16 +08:00
Ben Kelly
11f4db4683
Bug 1426977 P3 Use StorageAllowedForNewWindow() in nsDocShell::ServiceWorkerAllowedToControlWindow(). r=mystor
2018-01-08 20:25:53 -05:00
Sebastian Hengst
dfcbe8d912
merge central to autoland. r=merge a=merge
2018-01-06 01:54:50 +02:00
Sebastian Hengst
2928d8ae82
Bug 1425975 - Follow-up: Move method to correct position. r=merge-fix a=merge-fix
2018-01-06 01:51:46 +02:00
Sebastian Hengst
a149c84834
Bug 1425975 - Fix merge bustage. r=bustage-fix a=bustage-fix
2018-01-06 01:10:52 +02:00
Sebastian Hengst
d52c7b3231
merge inbound to central. r=merge a=merge
2018-01-06 00:27:10 +02:00
Ben Kelly
7f0e026bcb
Bug 1425975 P16 Make nsDocShell check for session cookie lifetime policy before allowing service worker intercept. r=asuth
2018-01-05 12:10:22 -05:00
Ben Kelly
ddc8898fc1
Bug 1425975 P12 Don't mark an initial about:blank client as controlled if its sandboxed. r=asuth
2018-01-05 12:10:22 -05:00
Ben Kelly
c67746c9b2
Bug 1425975 P7 Use the mControlledClients list to drive controller start and stop logic. r=asuth
2018-01-05 12:10:21 -05:00
Samael Wang
112d2693c3
Bug 1406161 - Part 6: Move shistory related static functions to nsSHistory. r=smaug
...
MozReview-Commit-ID: 7rqo2rISCB5
--HG--
extra : rebase_source : 3de7a21b24ce526f45424a2f1aad4329a8758f78
2017-12-19 18:26:36 +08:00
Samael Wang
3899149f41
Bug 1406161 - Part 5: Move LoadType convertion functions to nsDocShellLoadTypes.h. r=smaug
...
MozReview-Commit-ID: Ccw7cDE20m3
--HG--
extra : rebase_source : 950eee87d0c02a82aa5e0c62f8f1e0fa5e2cb72d
2017-12-19 15:13:02 +08:00
Samael Wang
837eb62f44
Bug 1406161 - Part 4: Move nsPingListener and nsRefreshTimer to separate files. r=smaug
...
MozReview-Commit-ID: 9Z6i9yWoQwj
--HG--
extra : rebase_source : dfa8f9fad42851b92cf20a8aa9ae5b5b114b647f
2017-12-18 20:19:36 -06:00
Samael Wang
e86402b778
Bug 1406161 - Part 3: Remove a dead member function. r=smaug
...
MozReview-Commit-ID: LYNUZhvnAdm
--HG--
extra : rebase_source : 696d21afde06340006e63bf824068fe17c3e7d14
2017-12-15 17:15:02 -06:00
Samael Wang
2387e7d5ac
Bug 1406161 - Part 2: Reorder docshell members and remove unnecessary `virtual` or `NS_IMETHOD` keywords. r=smaug
...
MozReview-Commit-ID: KuEchFzFu7E
--HG--
extra : rebase_source : 8a950c67c746f0771b36bdbd9844d52ea59ea048
2017-12-15 17:09:43 -06:00
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
Mike Conley
5ece45274a
Bug 1397426 - Stop disabling tab warming in browser_bug343515.js. r=billm
...
Tab warming was originally disabled in this test because it was accidentally
setting the DocShell to be active at an unexpected time.
Because tab warming no longer activates DocShells, we can revert this change,
though we also have to make it deal with the fact that switching tabs no longer
makes docShells become activate immediately.
MozReview-Commit-ID: K0fiA5AVfEm
--HG--
extra : rebase_source : 874f112e4368a037b4baf02f205198c0f598b5b8
extra : source : e7a6fe9f9ce7186e8dc3c7aaeab47362c7060f5a
2017-10-23 17:01:48 -04:00
Valentin Gosu
0203cc4abd
Bug 1426501 - Change C++ code to use NS_MutateURI when changing URI r=mayhemer
...
MozReview-Commit-ID: 4VzZlhWrtSJ
--HG--
extra : rebase_source : 9c872dc14c8e5f03e6354ab76c8bf750a7e10260
2018-01-08 15:20:35 +01:00
Mike Conley
921cb8735c
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 : 0e59b548c6c01d7feaf9f40c282ab2f55e47bab7
extra : source : 4643e46ff8d3e84d10ff178e15a1be7f734b020f
2017-11-03 11:27:29 -04:00
Florian Quèze
22c55eb7b7
Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx
2017-12-21 11:11:57 +01:00
Florian Quèze
0f55cd45be
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01: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
2cb1afc933
Bug 1420622 - Remove feed and pcast protocols. r=Gijs
...
MozReview-Commit-ID: KAC9MmLiuBG
--HG--
extra : rebase_source : 076fc5a6acc75362ceffee1b5150e1598af41673
2017-12-19 16:12:29 +00:00
Gurzau Raul
bc6e59d2b4
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-12-19 00:00:36 +02:00
Kartikaya Gupta
4f18e92ffb
Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
...
MozReview-Commit-ID: nbcWhDq5de
--HG--
extra : rebase_source : 25e2c2b8b996ae11cd25dee07d9092ba574a9e40
2017-12-13 18:38:39 -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
Jonathan Watt
f239219d4f
Bug 1425178
- Rename nsPrintEngine to nsPrintJob. r=bobowen
...
MozReview-Commit-ID: 2HCNmeOLPd3
--HG--
rename : layout/printing/nsPrintEngine.cpp => layout/printing/nsPrintJob.cpp
rename : layout/printing/nsPrintEngine.h => layout/printing/nsPrintJob.h
2017-12-04 11:44:17 -06: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
Tooru Fujisawa
b34460eea8
Bug 1372476 - Add event load listener before start loading in docshell/test/browser/browser_bug349769.js. r=billm
2017-12-10 20:12:11 -06:00
Gurzau Raul
91d3bc0100
Merge inbound to mozilla-central r=merge a=merge
2017-12-09 00:36:15 +02: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
Bill McCloskey
f9b9902b91
Bug 1412456 - Fix onbeforeunload test to no longer rely on interposition (r=Gijs)
...
MozReview-Commit-ID: DlIRAvXw6R4
2017-12-07 12:55:26 -08:00
Bill McCloskey
9f4d083047
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Andreea Pavel
89531e8dc3
Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
...
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
9ed0e9cb0e
Bug 1412456 - Fix onbeforeunload test to no longer rely on interposition (r=Gijs)
...
MozReview-Commit-ID: DlIRAvXw6R4
2017-12-06 21:17:08 -08:00
Bill McCloskey
bef7c122df
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
eb65c24c7b
Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
...
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
32656e2e1c
Bug 1412456 - Fix onbeforeunload test to no longer rely on interposition (r=Gijs)
...
MozReview-Commit-ID: DlIRAvXw6R4
2017-12-06 20:46:58 -08:00
Bill McCloskey
be77cf4a01
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Mike Conley
053fbea1fc
Backed out changeset 4643e46ff8d3 (bug 1397426)
...
--HG--
extra : rebase_source : 3e235d725c42300f3c8f3af51850e3c4e1aa7ddf
2017-12-06 16:03:32 -05:00
Mike Conley
69e38dfce8
Backed out changeset e7a6fe9f9ce7 (bug 1397426)
...
--HG--
extra : rebase_source : 2c1b37bd607eee584bafa9f2be8daab3084fc3d0
2017-12-06 15:58:02 -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
Bogdan Tara
28f65f2044
Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE
2017-12-04 22:47:53 +02:00
David Major
2b2c246e13
Bug 1422869 - Add "htp" and "htps" to the scheme typo fixup list. r=bz
...
--HG--
extra : rebase_source : f80cc58b3a71114dbe77edf80aa13be68c13d84c
2017-12-04 12:21:24 -05:00
Csoregi Natalia
009021edbb
Backed out changeset 362425ee97ad (bug 1419007) for ESLint failure and for failing test_threathit_report.html. r=backout on a CLOSED TREE
2017-12-03 21:41:07 +02:00
Jonathan Kingston
4de9966be8
Bug 1419007 - Ensure errors FireOnLocationChange after documentURI has changed in docshell. r=sawang
...
MozReview-Commit-ID: AaZEIOI4sW1
2017-11-21 11:40:01 +00:00
Mike Conley
94c19b3bf1
Bug 1397426 - Stop disabling tab warming in browser_bug343515.js. r=billm
...
Tab warming was originally disabled in this test because it was accidentally
setting the DocShell to be active at an unexpected time.
Because tab warming no longer activates DocShells, we can revert this change,
though we also have to make it deal with the fact that switching tabs no longer
makes docShells become activate immediately.
MozReview-Commit-ID: K0fiA5AVfEm
--HG--
extra : rebase_source : 5de92eb125e1001dd358a5deaa76f626802e3928
2017-10-23 17:01:48 -04: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
Dorel Luca
be78e6ea9b
Merge inbound to mozilla-central r=merge a=merge
2017-11-29 12:26:15 +02:00
Samael Wang
a1cf236d7a
Bug 1362410 - Make the setTimeout run on the same target as HistoryTracker. r=smaug
...
MozReview-Commit-ID: KvcFxG7RMNZ
--HG--
extra : rebase_source : e8c239c100ebe515ef098b4679b8bd9ecf46b15a
2017-11-28 15:50:27 +08:00
Gijs Kruitbosch
5fb33f411d
Bug 1420395 - deal with IDN domains without protocols correctly in nsIURIFixup, r=valentin
...
MozReview-Commit-ID: DZYnxExcqdp
--HG--
extra : rebase_source : 08b4cb23db26a09a3f6fbe8fd7ea79c4191b293e
2017-11-28 14:28:58 +00:00
Tiberius Oros
18ea9ecad9
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
...
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02: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
Cosmin Sabou
651cb90a8a
Backed out changeset be86ccde4f4a (bug 1352497) for bc failures on Windows 7 debug with e10s at docshell/test/browser/browser_bug1309900_crossProcessHistoryNavigation.js r=backout a=backout
2017-11-26 01:36:44 +02:00
Ciure Andrei
327405164b
Merge inbound to mozilla-central r=merge a=merge
2017-11-25 00:04:02 +02:00
Kevin Jones
25bd05b91c
Bug 1415918 - Allow discarding browsers that have beforeunload handlers in tabbrowser.discardBrowser. r=bz
...
MozReview-Commit-ID: 5KQcrOQTSpK
2017-11-24 15:14:46 +01:00
Dão Gottwald
bfd060da04
Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
...
MozReview-Commit-ID: 8aPg9oDFIlu
--HG--
extra : rebase_source : 6e9836a6d66b464df1228f7ed84e9b37bad8809c
2017-11-22 13:51:08 +01: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
Dão Gottwald
aff5b2a7f6
Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
...
MozReview-Commit-ID: 4FQ5aL2XrU5
--HG--
extra : rebase_source : a8863472a82697b3e7668866a35f14b6f01fafe7
2017-11-28 11:38:15 +01: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
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
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
L. David Baron
df95fa026f
Bug 1405875
- Remove now-unused nsIContentViewerFile interface. r=mats
...
This became unused as a result of the previous two patches, and the
earlier removal of nsRegressionTester::DumpFrameModel.
MozReview-Commit-ID: DoQ8C8XNCWW
2017-10-05 11:15:57 -07:00
L. David Baron
70c24e3e54
Bug 1405875
- Remove debug file mechanism from printing. r=mats
...
This was used only by nsRegressionTester::DumpFrameModel, which was
removed in the previous patch.
MozReview-Commit-ID: I8fS7vzlFQw
2017-10-05 11:15:57 -07:00