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

18364 Коммитов

Автор SHA1 Сообщение Дата
Kyle Machulis 2bb286e58e Bug 1524683 - Move all nsIFrameLoaderOwner references to nsFrameLoaderOwner; r=nika
Depends on D19728

Differential Revision: https://phabricator.services.mozilla.com/D19729

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:53 +00:00
Kyle Machulis 623c5a81b8 Bug 1524683 - Add nsFrameLoaderOwner class; r=nika
Depends on D19727

Differential Revision: https://phabricator.services.mozilla.com/D19728

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:51 +00:00
Kyle Machulis 9fb68b2ccf Bug 1524683 - Remove nsIFrameLoaderOwner from tests; r=nika
Any time we QI to nsIFrameLoaderOwner in tests, we're really accessing
a MozFrameLoader. We don't need to be doing that anymore.

Differential Revision: https://phabricator.services.mozilla.com/D19727

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:49 +00:00
Valentin Gosu 38f19c2395 Bug 1521808 - Use topWindowPrincipal for CrossOriginOpenerPolicy check r=mayhemer,nika
- Adds nsIHttpChannelInternal.setTopWindowPrincipal used to pass the principal from the child to the parent

Differential Revision: https://phabricator.services.mozilla.com/D18391

--HG--
extra : moz-landing-system : lando
2019-02-15 22:28:56 +00:00
Cosmin Sabou 8cb8ef3973 Merge mozilla-central to autoland. 2019-02-15 20:50:34 +02:00
Cosmin Sabou a4b19fcd61 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02:00
Cosmin Sabou ba308a2f90 Backed out 4 changesets (bug 1521808) for causing merge conflicts.
Backed out changeset 42641f88d7da (bug 1521808)
Backed out changeset 32ce09b2c33a (bug 1521808)
Backed out changeset 94e513102b53 (bug 1521808)
Backed out changeset a08553c07886 (bug 1521808)
2019-02-15 20:34:07 +02:00
Alex Gaynor 80995034cd Bug 1516691 - use a release assert to prevent this scenario in release builds; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D19505

--HG--
extra : moz-landing-system : lando
2019-02-13 21:57:26 +00:00
Valentin Gosu 27cac83e4a Bug 1521808 - Use topWindowPrincipal for CrossOriginOpenerPolicy check r=mayhemer,nika
- Adds nsIHttpChannelInternal.setTopWindowPrincipal used to pass the principal from the child to the parent

Differential Revision: https://phabricator.services.mozilla.com/D18391

--HG--
extra : moz-landing-system : lando
2019-02-15 12:15:21 +00:00
Emilio Cobos Álvarez a3a05dc592 Bug 1525509 - Don't rebuild the frame tree to un-suppress whitespace if we cannot flush layout. r=dholbert
The information we'd get would be meaningless anyway in a fully new frame tree
if we don't run layout.

We should consider whether we need to un-suppress whitespace at all here...

Differential Revision: https://phabricator.services.mozilla.com/D19724

--HG--
extra : moz-landing-system : lando
2019-02-15 06:29:54 +00:00
Andreas Farre 48da8e2402 Bug 1515646 - Add FindWithName and FindChildWithName to BrowsingContext. r=peterv
This implements the step of choosing a browsing context with
FindWithName, which should be equivalent to calling
nsIDocShellTreeItem.findItemWithName passing null for 'aRequestor' and
'aOriginalRequestor' and false for 'aSkipTabGroup'.

Differential Revision: https://phabricator.services.mozilla.com/D15190

--HG--
extra : moz-landing-system : lando
2019-02-15 09:59:21 +00:00
Sylvestre Ledru 41d1d79094 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D19663

--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Boris Zbarsky 8a0e2dabbe Bug 1527905. Switch from zone-per-tab to zone-per-toplevel-load. r=mccr8
The main reason for this change is that we don't really want to share
compartments across same-origin navigations in the same tab (because that will
tend to keep the oldest global involved alive, due to CCWs and
XPCWrappedNatives allocated in that global).  We could somehow flag
compartments as not sharable when we navigate, but it's simpler to just switch
zones, since we restrict our search of shareable compartments to a single zone.

A side benefit is that this way the lifetime of objects in a single zone is
more likely to be similar.

Differential Revision: https://phabricator.services.mozilla.com/D19797

--HG--
extra : moz-landing-system : lando
2019-02-14 22:43:19 +00:00
Masayuki Nakano dbf1103279 Bug 1525162 - Make nsClipboardCommand::IsCommandEnabled() check whether window has document before accessing the document r=smaug
nsClipboardCommand::IsCommandEnabled() accesses document without null-check.
That must be the cause of the reported crash.  This patch just adds the check.

Differential Revision: https://phabricator.services.mozilla.com/D19594

--HG--
extra : moz-landing-system : lando
2019-02-13 00:11:03 +00:00
Randell Jesup cdfa13f6d8 Bug 1528336: Fix Timeout log assertion r=smaug 2019-02-15 17:43:24 -05:00
Razvan Maries 2fb9019d41 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-02-15 11:59:08 +02:00
longsonr 8e1810987f Bug 1523178 - Merge SVGAngle and nsSVGOrientType into SVGOrient r=jwatt
--HG--
rename : dom/svg/SVGAngle.cpp => dom/svg/SVGOrient.cpp
rename : dom/svg/SVGAngle.h => dom/svg/SVGOrient.h
2019-02-15 08:41:37 +00:00
Boris Zbarsky 6664f13df1 Bug 1523843 part 2. Use a single compartment for same-origin Realms in a single page (toplevel load). r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D19799

--HG--
extra : moz-landing-system : lando
2019-02-21 22:56:30 +00:00
Ehsan Akhgari b5a2bda7ee Bug 1527505 - Part 9: Make nsIPermissionManager accept ACString arguments for permission types instead of raw C strings; r=nika
This will mean that in places like the tight loop in GetTypeIndex()
we would no longer require calling strlen() on the input type argument
once per loop iteration.

Depends on D20236

Differential Revision: https://phabricator.services.mozilla.com/D20237

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:28 +00:00
Jan de Mooij a036edcd64 Bug 1529306 - Trigger GC timers before CC timers in nsJSContext::RunNextCollectorTimer. r=mccr8
This fixes frequent jsreftest OOMs on Win32 because we weren't triggering GC
frequently enough. Bug 1377131 changed the timer ordering in this code and might
have regressed this.

Differential Revision: https://phabricator.services.mozilla.com/D20664

--HG--
extra : moz-landing-system : lando
2019-02-21 20:50:25 +00:00
Emilio Cobos Álvarez d073df2e6e Bug 1528675 - Rename NODE_CHROME_ONLY_ACCESS to NODE_HAS_BEEN_IN_UA_WIDGET, and use that to determine our wrapper scope. r=bzbarsky
It won't change then, even when removed from the UA Widget. It also gives us an
extra node bit.

Differential Revision: https://phabricator.services.mozilla.com/D20560

--HG--
extra : moz-landing-system : lando
2019-02-21 18:39:28 +00:00
Emilio Cobos Álvarez 1ade5eb59b Bug 1528675 - Remove XBL's chromeOnlyContent stuff. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D20559

--HG--
extra : moz-landing-system : lando
2019-02-21 18:39:28 +00:00
Randell Jesup df67b772ca Bug 1527414: fix firing order assertions in nested event loops in RunTimeout r=ehsan 2019-02-19 08:48:05 -05:00
Edgar Chen 8a104d860e Bug 1518121 - Part 3: Add tests for scrollable frame in Shadow DOM; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19652

--HG--
extra : moz-landing-system : lando
2019-02-13 20:39:08 +00:00
Edgar Chen 89cf3fb922 Bug 1518121 - Part 2: Update ExplicitChildIterator correctly when we are at the end of child list of a slot parent; r=smaug
The mIndexInInserted keeps pointing to the last assigned node of a slot parent
when we are at the end of child list. So when we calles GetPreviousChild when we
are at the end of child list, ExplicitChildIterator will skip last assigned node.

Differential Revision: https://phabricator.services.mozilla.com/D19651

--HG--
extra : moz-landing-system : lando
2019-02-14 10:14:33 +00:00
Edgar Chen d2d97dd768 Bug 1518121 - Part 1: Check isFocusable from frame first if content has frame; r=smaug
This is for the scrollable frame, because nsIFrame::IsFocusable of a scrollable
frame returns true with tabIndex = 0 even if the content has no tabIndex
attribute.

Differential Revision: https://phabricator.services.mozilla.com/D19646

--HG--
extra : moz-landing-system : lando
2019-02-13 19:11:43 +00:00
Hiroyuki Ikezoe ff820309e3 Bug 1525075 - Use the ICB size for Element.{clientWidth, clientHeight} instead of expanded the layout viewport size. r=botond
This is what Chrome does.

documentElement-clientWidth-on-minimum-scale-size.tentative.html was the test
case for this but unfortunately it was disabled in bug 1515043. And it seems
that the test case failed on Android in the first place.

Differential Revision: https://phabricator.services.mozilla.com/D19461

--HG--
extra : moz-landing-system : lando
2019-02-13 23:47:32 +00:00
Andrea Marchesini 769f057698 Bug 433274 - Allow popups from context menu events - part 2, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19500

--HG--
extra : moz-landing-system : lando
2019-02-12 15:11:36 +00:00
Hiroyuki Ikezoe e4b8830fe1 Bug 1443320 - Drop |aNotify| argument from Element::SetSMILOverrideStyleDeclaration. r=birtles
The other call site was removed in
https://hg.mozilla.org/mozilla-central/rev/e8c0ffefb34f

Depends on D19570

Differential Revision: https://phabricator.services.mozilla.com/D19571

--HG--
extra : moz-landing-system : lando
2019-02-13 04:44:34 +00:00
Andreea Pavel 7b1605af56 Backed out 3 changesets (bug 1525959, bug 1526002) for failing android
Backed out changeset de0efca1118e (bug 1526002)
Backed out changeset 503cbc86e442 (bug 1525959)
Backed out changeset 33ea61c54aea (bug 1525959)
2019-02-12 23:53:05 +02:00
Thomas Nguyen 92cca5e26c Bug 1517703 - Part 1 - Implement ReferrerInfo class r=smaug
The class contains original full referrer and referrer policy will be
applied to the referrer.

Differential Revision: https://phabricator.services.mozilla.com/D17923

--HG--
extra : moz-landing-system : lando
2019-02-12 19:35:32 +00:00
Markus Stange f3d9f254c8 Bug 1506976 - Make FirstContentfulPaint timing measure until the composite end of the paint. r=bas
Differential Revision: https://phabricator.services.mozilla.com/D18880

--HG--
extra : moz-landing-system : lando
2019-02-12 19:09:06 +00:00
Jonathan Kingston 3421b8fcff Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
Replacing js and text occurences of asyncOpen2
Replacing open2 with open

Differential Revision: https://phabricator.services.mozilla.com/D16885

--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
James Willcox c7a8bf9699 Bug 1526002 - Replace 'isFennec' with 'is_fennec' in mochitest.ini r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D19038

--HG--
extra : moz-landing-system : lando
2019-02-10 19:07:57 +00:00
James Willcox 228b5844d5 Bug 1525959 - Skip some mochitests tests under GeckoView r=geckoview-reviewers,esawin
There are few things that are either Fennec-specific or don't work
currently under GeckoView w/ e10s under TestRunnerActivity. Disable
these so we can get some testing going in automation.

Differential Revision: https://phabricator.services.mozilla.com/D19016

--HG--
extra : moz-landing-system : lando
2019-02-12 15:15:28 +00:00
Andrea Marchesini b962fd77c9 Bug 433274 - Allow popups from context menu events, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19476

--HG--
extra : moz-landing-system : lando
2019-02-12 12:02:07 +00:00
Tom Schuster a60d06b5ef Bug 1525006 - Add a new internal ContentPolicyType for ES6 modules. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D19269

--HG--
extra : moz-landing-system : lando
2019-02-12 13:16:32 +00:00
Dorel Luca 313155b999 Backed out 4 changesets (bug 1521808) for build bustage. CLOSED TREE
Backed out changeset 80aeea5f7abe (bug 1521808)
Backed out changeset c8c151d92c03 (bug 1521808)
Backed out changeset cc0a5c7dabb4 (bug 1521808)
Backed out changeset 8d5174a560fa (bug 1521808)
2019-02-12 14:54:45 +02:00
Valentin Gosu f8fe725d87 Bug 1521808 - Use topWindowPrincipal for CrossOriginOpenerPolicy check r=mayhemer,nika
- Adds nsIHttpChannelInternal.setTopWindowPrincipal used to pass the principal from the child to the parent

Differential Revision: https://phabricator.services.mozilla.com/D18391

--HG--
extra : moz-landing-system : lando
2019-02-12 12:16:16 +00:00
Randell Jesup 116aa4c705 Bug 1515132: Add telemetry for FirstContentfulPaint data-review=chutten r=mstange,a=chutten
Defined in the PerformancePaintTiming spec, though we're not supporting the
DOM API yet
2019-02-12 01:13:48 -05:00
Bogdan Tara 87a0b11003 Merge inbound to mozilla-central. a=merge 2019-02-12 07:25:23 +02:00
Hiroyuki Ikezoe 7f39371579 Bug 1526749 - Drop Element.scrollByNoFlush. r=kats,mccr8
It's no longer used since bug 970125.

Differential Revision: https://phabricator.services.mozilla.com/D19289

--HG--
extra : moz-landing-system : lando
2019-02-11 23:44:51 +00:00
Bogdan Tara 2c0ee18d6e Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-11 23:59:48 +02:00
Bogdan Tara 12bbbc3d51 Merge inbound to mozilla-central. a=merge 2019-02-11 23:55:15 +02:00
Boris Zbarsky bc348929b6 Bug 1515582. Remove the separate XBL scope setup. r=bholley
With these changes, XBL just runs in the window scope of whatever document it's
attached to.  Since (outside of tests and "remote XUL") we no longer attach XBL
to web documents, this is fine.  And "remote XUL" already ran without the XBL
scope.

Native anonymous content, which used to be placed in the XBL scope to hide it
from the page, is now placed in the unprivileged junk scope, so it stays hidden
from the page.

dom/xbl/test/test_bug944407.xul is being removed because we are changing the
behavior it's trying to test for.  Since we now always put the XBL in the same
scope as the page, script is enabled for the XBL if and only if it's enabled for
the page.

dom/base/test/test_bug419527.xhtml, dom/events/test/test_bug391568.xhtml,
dom/xbl/test/test_bug1086996.xhtml are being switched to a chrome test because
otherwise the XBL can't see the getAnonymousNodes method.

All the XBL bits are being removed from test_interfaces because we no longer
have a separate XBL scope to test the behavior of.

js/xpconnect/tests/mochitest/test_nac.xhtml is being removed because XBL no
longer has access to NAC unless the page it's attached to does too, so the test
doesn't really make sense.

layout/xul/test/test_bug1197913.xul is being switched to a chrome test because
its XUL elements use bindings that rely on APIs that are not exposed to normal
web content.

layout/reftests/bugs/495385-2f.xhtml is being removed because I can't think of
a sane way to test that in the new world, short of running the reftest as
chrome.  And it doesn't seem worthwhile to look for a way to do that.

dom/xbl/test/test_bug1098628_throw_from_construct.xhtml now needs to
expectUncaughtException(), because the exception is now being thrown in Window
scope.

dom/xbl/test/test_bug1359859.xhtml needs to expectUncaughtException() as needed
and not use XPCNativeWrapper (which it doesn't need to anyway now).

dom/xbl/test/test_bug389322.xhtml, dom/xbl/test/test_bug400705.xhtml,
dom/xbl/test/test_bug401907.xhtml, dom/xbl/test/test_bug403162.xhtml,
dom/xbl/test/test_bug526178.xhtml, dom/xbl/test/test_bug639338.xhtml don't need
to use XPCNativeWrapper anymore.

dom/xbl/test/test_bug821850.html is being removed because it exists only to test XBL scopes.

dom/xbl/test/file_bug950909.xml is being changed to work without a separate XBL
scope (though whether the test still makes sense at that point is a bit questionable).

Differential Revision: https://phabricator.services.mozilla.com/D19260

--HG--
extra : moz-landing-system : lando
2019-02-11 21:51:47 +00:00
Luke Wagner fc9dea6cc7 Bug 1520931 - Remove asm.js cache hooks JS API (r=bbouvier)
--HG--
extra : rebase_source : aac95865af1b87970d49b89edbec0acad6c74219
2019-02-11 11:41:57 -06:00
Mike Conley 2c53e6da2d Bug 1525188 - Don't set remoteType attributes when swapping frameLoaders. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D19220

--HG--
extra : moz-landing-system : lando
2019-02-08 21:16:40 +00:00
Emilio Cobos Álvarez 8101ae2ea8 Bug 1523071 - Use Rust lengths for margin / padding / inset. r=jwatt
Also for the intersection observer root margin, since it was easier to fix it
up and clean it up than not doing it.

This is the first big step to get rid of nscoord. It duplicates a bit of logic
in nsLayoutUtils since for now max/min-width/height are still represented with
nsStyleCoord, but I think I prefer to land this incrementally.

I didn't add helpers for the physical accessors of the style rect sides that
nsStyleSides has (top/bottom/left/right) since I think we generally should
encourage the logical versions, but let me know if you want me to do that.

Differential Revision: https://phabricator.services.mozilla.com/D17739
2019-02-10 04:11:58 +01:00
Csoregi Natalia ce23db018d Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-02-09 11:41:49 +02:00
Jon Coppeard e3e3e6ab9a Bug 1525905 - Require both arguments to JS_TransplantObject to be non-gray r=sfink r=bz 2019-02-09 07:30:08 +00:00
Gurzau Raul 94e9660ff4 Backed out 9 changesets (bug 1500257) for build bustage at /dom/TabParent.h on a CLOSED TREE
Backed out changeset 335ddf6a213a (bug 1500257)
Backed out changeset 1e1b5cd23412 (bug 1500257)
Backed out changeset 4c85fb68f2ed (bug 1500257)
Backed out changeset ba62cc27c32f (bug 1500257)
Backed out changeset b68b732411e2 (bug 1500257)
Backed out changeset e33b9de7283e (bug 1500257)
Backed out changeset 002762a021c4 (bug 1500257)
Backed out changeset e72d9d31a8bc (bug 1500257)
Backed out changeset 1615df089ad3 (bug 1500257)
2019-02-09 09:10:29 +02:00
Masayuki Nakano da6598c374 Bug 1524212 - Make nsContentUtils::DispatchInputEvent() update HTMLInputElement.validationMessage before dispatching "input" event r=smaug
"input" event listener may want to check HTMLInputElement.validationMessage.
However, due to moving "input" event dispatcher from
HTMLInputElement::SetUserInput() to editor, HTMLInputElement::SetValueInternal()
updates it **after** dispatching "input" event.

This patch makes nsContentUtils::DispatchInputEvent() guarantees to update
validationMessage value before dispatching every event.  On the other hand,
SetValueInternal() may be called without "input" event dispatchers.  Therefore,
it needs to keep updating validationMessage value in such cases.

Differential Revision: https://phabricator.services.mozilla.com/D19126

--HG--
extra : moz-landing-system : lando
2019-02-08 22:17:10 +00:00
John Dai 3013aa2b9f Bug 1513877 - Implement send and receive methods for base WindowActor class. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D18695

--HG--
extra : moz-landing-system : lando
2019-02-08 13:02:08 +00:00
Oana Pop Rus 1f2fab8f20 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-08 12:11:54 +02:00
Oana Pop Rus 03ebbdab95 Merge inbound to mozilla-central. a=merge 2019-02-08 11:53:37 +02:00
Jan de Mooij 13c7bd6d2c Bug 1525674 part 1 - Change the enumerate proxy trap to return the jsid vector instead of an iterator. r=bzbarsky,evilpie
In vm/Iteration.cpp this inlines some functions because there's a single
caller now. Follow-up patches will do additional cleanup/optimization.

Differential Revision: https://phabricator.services.mozilla.com/D18926

--HG--
extra : moz-landing-system : lando
2019-02-08 08:17:00 +00:00
Razvan Maries 8add624474 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-02-08 06:26:00 +02:00
Zibi Braniecki aee876626a Bug 1524106 - Disconnect l10n root when destroying the document. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D18774

--HG--
extra : moz-landing-system : lando
2019-02-07 14:37:26 +00:00
Xidorn Quan a55a8f3935 Bug 1524130 - Remove deprecation of attr modified event. r=smaug
It was added in bug 1461696 probably for tracking whether bug 1460295
is a wide-spread issue or so. This deprecation was already part of
deprecated mutation event, so it's never output to console. It was
added purely for getting telemetry.

Given that related issues are now fixed, we no longer needs this.

Differential Revision: https://phabricator.services.mozilla.com/D18935

--HG--
extra : moz-landing-system : lando
2019-02-07 14:21:08 +00:00
fabrice@desre.org 4d0cadaad2 Bug 1525831, let originaltarget be non-nsIContent in ShadowRoot, r=smaug
--HG--
extra : rebase_source : ae831713854c1f9131462bca387a49bf8f231748
2019-02-07 23:33:20 +02:00
Kris Maglione eefb3e95fa Bug 1524688: Part 58 - Convert SlowScriptDebug to static registration. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D18468

--HG--
rename : dom/base/SlowScriptDebug.js => dom/base/SlowScriptDebug.jsm
extra : source : 92877cf4fe33df2706fd03ad472f304da03482e5
2019-01-30 11:42:53 -08:00
Kris Maglione eab0e66456 Bug 1524688: Part 57 - Convert ProcessSelector to static registration. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D18467

--HG--
rename : dom/base/ProcessSelector.js => dom/base/ProcessSelector.jsm
extra : source : b4938f2ff8fd9f3af3914a1eefa991ab1c174706
2019-01-30 11:41:05 -08:00
Kris Maglione 22b7edd20c Bug 1524688: Part 56 - Convert contentAreaDropsListener to static registration. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D18466

--HG--
rename : dom/base/contentAreaDropListener.js => dom/base/ContentAreaDropListener.jsm
extra : source : 230d2feaf941443d88f9f5f65048c53d70e59b86
2019-01-30 11:37:53 -08:00
Oana Pop Rus 490ab7f9b8 Merge inbound to mozilla-central. a=merge 2019-02-07 11:47:46 +02:00
Brendan Dahl ed6a76c718 Bug 1524640 - Fix font loading during mozPrintCallback. r=smaug
Copy fonts loaded during a mozPrintCallback into the cloned document,
so they are available during printing.

Differential Revision: https://phabricator.services.mozilla.com/D18613

--HG--
extra : moz-landing-system : lando
2019-02-06 23:46:58 +00:00
Boris Zbarsky 0b91ef777d Bug 1471496 part 1. Fix IsPlatformObjectSameOrigin to do the right thing when we're doing first-party isolation but turning off its effects on scripted property access. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D18029

--HG--
extra : moz-landing-system : lando
2019-02-06 14:53:13 +00:00
Kris Maglione f349027d4c Bug 1524687: Part 9 - Convert gtk widget module to static registration. r=erahm
--HG--
extra : rebase_source : 7cbb575ae4ab96258bf827ef826aec18ccfba554
extra : source : 9c24919ac5c2056255dec5725af1fa1548f29ca2
2019-01-24 17:27:24 -08:00
Ryan Hunt 2feee8e648 Bug 1500257 part 8 - Remove dependency on RenderFrame from nsDisplayRemote. r=aosmond
This commit removes the dependency on RenderFrame from nsDisplayRemote so that
it can work in child processes with remote subframes. Instead nsDisplayRemote
now works with an nsFrameLoader, which will return the LayerId from either
the RenderFrame (for top-level remote browsers), or from RemoteFrameChild
(for remote subframes).

Differential Revision: https://phabricator.services.mozilla.com/D17448

--HG--
extra : source : 1e1b5cd23412a85fad19ab8ec5aacf31b3a9c9b6
extra : intermediate-source : a62c029510315d109faa9edb31216014e7c70367
extra : histedit_source : 3df246e632fbb71f731c856779e0d2201b3673a3
2019-01-23 11:07:57 -06:00
Ryan Hunt 1834509eeb Bug 1500257 part 8 - Remove dependency on RenderFrame from nsDisplayRemote. r=aosmond
This commit removes the dependency on RenderFrame from nsDisplayRemote so that
it can work in child processes with remote subframes. Instead nsDisplayRemote
now works with an nsFrameLoader, which will return the LayerId from either
the RenderFrame (for top-level remote browsers), or from RemoteFrameChild
(for remote subframes).

Differential Revision: https://phabricator.services.mozilla.com/D17448

--HG--
extra : rebase_source : c16611bf63b8fcb2e5de6a9cb8f54155f992fc32
extra : histedit_source : 6323f7756c5d3ebfbbe55148cb81503c512b9afb
2019-01-23 11:07:57 -06:00
Ryan Hunt a0478b2152 Bug 1500257 part 7 - Modify RenderFrame to hold onto TabParent instead of nsFrameLoader. r=aosmond
A TabParent for a remote subframe will have the same owner content as the top-level
remote browser. This means that 'TabParent::GetFrameLoader()' will return the
frame loader of the top-level remote browser.

This is fine for getting the layer manager and compositor for connecting layer trees,
but the frame loader is also used to acquire a TabParent for its process ID. This
is incorrect in the remote subframe case, and will lead to the compositor rejecting
layer transactions for the remote subframe because it will only accept them from
the top-level remote browser's process.

This commit switches RenderFrame to just hold on to TabParent, and acquire the
nsFrameLoader as necessary.

Another change is to RenderFrame::SetOwnerContent. Previously this method would
take the new owner content and check an assertion. I don't see much value in the
assertion, so I've removed it. Additionally, now that we acquire the owner content,
and therefore the layer manager, from TabParent, we need to ensure that
RenderFrame::SetOwnerContent is ran after the TabParent has had it's owner content
updated. So the callsite has been moved into TabParent. This resolved a test failure
with frame loader swapping.

Differential Revision: https://phabricator.services.mozilla.com/D17447

--HG--
extra : source : 4c85fb68f2ed297828bf4646301c2d80d1c8e0a1
extra : intermediate-source : 62ad54fb95eb76f88865f43da1a5d556421e7884
extra : histedit_source : 6b7085118bca83433b26fcec3983a385bd536672
2019-01-23 09:52:30 -06:00
Ryan Hunt fc71962023 Bug 1500257 part 7 - Modify RenderFrame to hold onto TabParent instead of nsFrameLoader. r=aosmond
A TabParent for a remote subframe will have the same owner content as the top-level
remote browser. This means that 'TabParent::GetFrameLoader()' will return the
frame loader of the top-level remote browser.

This is fine for getting the layer manager and compositor for connecting layer trees,
but the frame loader is also used to acquire a TabParent for its process ID. This
is incorrect in the remote subframe case, and will lead to the compositor rejecting
layer transactions for the remote subframe because it will only accept them from
the top-level remote browser's process.

This commit switches RenderFrame to just hold on to TabParent, and acquire the
nsFrameLoader as necessary.

Another change is to RenderFrame::SetOwnerContent. Previously this method would
take the new owner content and check an assertion. I don't see much value in the
assertion, so I've removed it. Additionally, now that we acquire the owner content,
and therefore the layer manager, from TabParent, we need to ensure that
RenderFrame::SetOwnerContent is ran after the TabParent has had it's owner content
updated. So the callsite has been moved into TabParent. This resolved a test failure
with frame loader swapping.

Differential Revision: https://phabricator.services.mozilla.com/D17447

--HG--
extra : rebase_source : 7a4c6aede22c4c457b03803f794d6845f4fd6482
extra : histedit_source : 19692ca27b05c4b8a7eb521f432bc21a756e9085
2019-01-23 09:52:30 -06:00
Ryan Hunt f83e394596 Bug 1500257 part 5 - Implement messages for loading and displaying remote subframes on PRemoteFrame. r=qdot
This commit hooks up the pieces of the PRemoteFrame protocol that
will proxy initialization, sizing, and display messages. The messages
chosen are just enough to start the frame and get an initial rendering.

Differential Revision: https://phabricator.services.mozilla.com/D17445

--HG--
extra : source : b68b732411e2e1e6851799262246bff70e6649da
extra : intermediate-source : c19bc81c4f43a5adba92184b2572c09c6c5a0680
2019-01-23 11:04:26 -06:00
Ryan Hunt 0d69472e8b Bug 1500257 part 4 - Modify nsFrameLoader to create PRemoteFrame when enabled via pref and attribute. r=qdot
This commit hooks up nsFrameLoader in the child process to use the
PRemoteFrame protocol to support remote iframes. This is only activated
when a special pref is set, and the iframe has a marker attribute on it.

For example:
<iframe fission/>

In the future, we should unify nsFrameLoader to operate on a common
interface between the parent process top-level browser, and child
process subframe case. This commit just adds a new member that can
be used instead of mRemoteBrowser, when appropriate. IsRemoteFrame()
will return true for both cases.

Differential Revision: https://phabricator.services.mozilla.com/D17444

--HG--
extra : source : e33b9de7283e5fb6441e118b25af8d4ac3411bf2
extra : intermediate-source : 697a9159e0d260118ee6ebd34948d187a8c5359f
2019-01-23 10:56:27 -06:00
Ryan Hunt b84d458836 Bug 1500257 part 5 - Implement messages for loading and displaying remote subframes on PRemoteFrame. r=qdot
This commit hooks up the pieces of the PRemoteFrame protocol that
will proxy initialization, sizing, and display messages. The messages
chosen are just enough to start the frame and get an initial rendering.

Differential Revision: https://phabricator.services.mozilla.com/D17445

--HG--
extra : rebase_source : a361afeaa08e2bf450608ba6a3fd4040f155875a
extra : histedit_source : a2b33c6dbc756a323d825b29255da4a6343208bc
2019-01-23 11:04:26 -06:00
Ryan Hunt e95b5afb88 Bug 1500257 part 4 - Modify nsFrameLoader to create PRemoteFrame when enabled via pref and attribute. r=qdot
This commit hooks up nsFrameLoader in the child process to use the
PRemoteFrame protocol to support remote iframes. This is only activated
when a special pref is set, and the iframe has a marker attribute on it.

For example:
<iframe fission/>

In the future, we should unify nsFrameLoader to operate on a common
interface between the parent process top-level browser, and child
process subframe case. This commit just adds a new member that can
be used instead of mRemoteBrowser, when appropriate. IsRemoteFrame()
will return true for both cases.

Differential Revision: https://phabricator.services.mozilla.com/D17444

--HG--
extra : rebase_source : 7bab851665c0ed99be6ee1b47f6baad369410987
extra : histedit_source : 76ee7b1dd959a12080da4e683ff174ab3a04d84e
2019-01-23 10:56:27 -06:00
Ryan Hunt 00e98538aa Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D21106

--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
John Dai 51a8161060 Bug 1523399 - Fix intermittent TV. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D18716

--HG--
extra : moz-landing-system : lando
2019-02-06 20:50:42 +00:00
Boris Zbarsky eed069177d Bug 1525346 followup. Fix the assertEnteredPolicy failure to reopen the CLOSED TREE. 2019-02-06 15:51:28 -05:00
Boris Zbarsky 1edfd73fc3 Bug 1525346. Fix the cross-compartment bug in MaybeCrossOriginObject::enumerate. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D18714

--HG--
extra : moz-landing-system : lando
2019-02-06 14:51:55 +00:00
Emilio Cobos Álvarez d29cff7e18 Bug 1445844 - Add a pref to block large custom cursors outside of the viewport's bounds. r=smaug
And for now, start blocking custom cursors that are larger than 64 pixels.

I wish I knew how to add a test for this, but I tested manually using the
test-case from bug 1518189 with and without hidpi.

We always treat the cursor image size as CSS pixels (and upscale it to device
pixels in HiDPI). We have bugs to stop doing that though (bug 1425694).

Differential Revision: https://phabricator.services.mozilla.com/D18671

--HG--
extra : moz-landing-system : lando
2019-02-06 17:40:46 +00:00
Boris Zbarsky 250e088daf Bug 1521677. Change defineProperties to handle non-configurable properties on WindowProxy like defineProperty does. r=evilpie
We want to indicate "we didn't actually manage to define your properties as
non-configurable" but we don't want to throw exceptions when people try to
Object.defineProperties with a non-configurable property in the list on a
WindowProxy.

Though maybe we should just silently ignore the "can't define non-configurable
on WindowProxy" bits in defineProperties and just return the object anyway?
The reason we do the "return null" bit in defineProperty is so that Caja and
the like can detect it, but if they're not using defineProperties to start with
they may not need to detect this "failure".  On the other hand, Mark Miller
thinks the detection will be needed...

Differential Revision: https://phabricator.services.mozilla.com/D17516

--HG--
extra : moz-landing-system : lando
2019-02-06 16:55:08 +00:00
Alex Gaynor 0f01791ffc Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Recv/Answer methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).

Differential Revision: https://phabricator.services.mozilla.com/D18132

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:43 +00:00
Boris Zbarsky 7ce60ebe8c Bug 1525355. Make sure to clear out the cached-function-map slot on WindowProxy before we transplant it. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D18725

--HG--
extra : moz-landing-system : lando
2019-02-06 13:01:27 +00:00
Oana Pop Rus 3da646bddf Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-06 12:07:13 +02:00
Liang-Heng Chen bd2504a471 Bug 1485266 - Use stand-ins for native colors when RFP is enabled r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D17755

--HG--
extra : moz-landing-system : lando
2019-02-06 08:45:44 +00:00
Cosmin Sabou 3bd26d627f Backed out 2 changesets (bug 1471496) as requested by developer on irc. CLOSED TREE
Backed out changeset 00cdd5991ace (bug 1471496)
Backed out changeset 317151999412 (bug 1471496)
2019-02-06 01:23:17 +02:00
Boris Zbarsky a7acf741cc Bug 1471496 part 1. Fix IsPlatformObjectSameOrigin to do the right thing when we're doing first-party isolation but turning off its effects on scripted property access. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D18029

--HG--
extra : moz-landing-system : lando
2019-02-05 18:46:15 +00:00
Cosmin Sabou 8bd3dcb455 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-05 23:58:20 +02:00
Cosmin Sabou 297a7340db Backed out 8 changesets (bug 1525208) for assertion mass failures on dom/base/ThirdPartyUtil. CLOSED TREE
Backed out changeset 7a679beef53e (bug 1525208)
Backed out changeset 4a97d6a5440f (bug 1525208)
Backed out changeset 40cdbb0f3e33 (bug 1525208)
Backed out changeset 461bf050580c (bug 1525208)
Backed out changeset 529fc4945c00 (bug 1525208)
Backed out changeset 80d33523be6e (bug 1525208)
Backed out changeset 6afabd86b213 (bug 1525208)
Backed out changeset bc4389577ba8 (bug 1525208)
2019-02-05 21:04:45 +02:00
Ehsan Akhgari 385a0977d4 Bug 1525208 - Part 6: Remove some needless AddRef/Release calls in the loop inside ThirdPartyUtil::IsThirdPartyWindow(); r=baku
Depends on D18647

Differential Revision: https://phabricator.services.mozilla.com/D18648

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:54 +00:00
Ehsan Akhgari d7f642dba2 Bug 1525208 - Part 5: Avoid using SameCOMIdentity to compare windows inside ThirdPartyUtil::IsThirdPartyWindow(); r=baku
Depends on D18646

Differential Revision: https://phabricator.services.mozilla.com/D18647

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:52 +00:00
Ehsan Akhgari 4eb46262c5 Bug 1525208 - Part 4: Devirtualize the call to nsEffectiveTLDService::GetBaseDomain() from ThirdPartyUtil::GetBaseDomain(); r=baku
Depends on D18645

Differential Revision: https://phabricator.services.mozilla.com/D18646

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:50 +00:00
Ehsan Akhgari 3bed881ec9 Bug 1525208 - Part 2: Opportunistically avoid some allocations in ThirdPartyUtil.cpp; r=baku
Depends on D18643

Differential Revision: https://phabricator.services.mozilla.com/D18644

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:46 +00:00
Ehsan Akhgari 70c4bbbed8 Bug 1525208 - Part 1: Devirtualize the calls to ThirdPartyUtil in nsContentUtils::IsThirdPartyWindowOrChannel(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D18643

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:44 +00:00
Nika Layzell f7a1ca20a5 Bug 1524361 - Remove unnecessary warning from OpenInternal return codepath, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D18557

--HG--
extra : moz-landing-system : lando
2019-02-05 00:03:28 +00:00
Razvan Maries f86459d5dc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
Emilio Cobos Álvarez 0ebf739646 Bug 1523181 - Don't implicitly flush the user font set.
Summary:
Flushing it at a bad time can cancel loads whose timer / completion
handler is in progress, which makes no sense.

Reviewers: jfkthame, jwatt, heycam

Tags: #secure-revision

Bug #: 1523181

Differential Revision: https://phabricator.services.mozilla.com/D17856
2019-02-05 13:30:13 +01:00
Emilio Cobos Álvarez 073adf9499 Bug 1524266 - Should be able to delete non-selectable and non-editable content in a contenteditable subtree. r=mats
This makes our behavior a bit closer to Blink / WebKit.

This patch fixes multiple issues:

First, fixes the caret movement getting stuck on a <select> element inside an
editor. This is because of the IsRootOfAnonymousSubtree() check that I'm
removing. Instead of that, consider NAC unselectable in UsedUserSelect, just
like generated content. This makes us jump across it correctly, and doesn't
regress the test-case that was added in bug 989012.

Second, it allows to select nodes with user-select: none as long as you're on an
editor. This matches WebKit and Blink. It's something you could do earlier
regardless with user-select: all on the parent, which is why the reporter's
test-case worked before my patch. I think being able to jump across these and
delete them on an editor is the right thing to do.

It adds tests for all this plus the same thing working for non-editable contents
(there was no pre-existing test for that).

Differential Revision: https://phabricator.services.mozilla.com/D18494
2019-02-04 12:03:32 +01:00
Narcis Beleuzu ea68bce62d Backed out changeset 4d5cbdd05859 (bug 1524266) for clipboard failures on test_browserElement_oop_CopyPaste.html
--HG--
extra : rebase_source : 04a0c7ba826ade9ed71752c7e388236fb3214666
2019-02-04 04:06:37 +02:00
Emilio Cobos Álvarez 03963da9ad Bug 1524266 - Should be able to delete non-selectable and non-editable content in a contenteditable subtree. r=mats
This makes our behavior a bit closer to Blink / WebKit.

This patch fixes multiple issues:

First, fixes the caret movement getting stuck on a <select> element inside an
editor. This is because of the IsRootOfAnonymousSubtree() check that I'm
removing. Instead of that, consider NAC unselectable in UsedUserSelect, just
like generated content. This makes us jump across it correctly, and doesn't
regress the test-case that was added in bug 989012.

Second, it allows to select nodes with user-select: none as long as you're on an
editor. This matches WebKit and Blink. It's something you could do earlier
regardless with user-select: all on the parent, which is why the reporter's
test-case worked before my patch. I think being able to jump across these and
delete them on an editor is the right thing to do.

It adds tests for all this plus the same thing working for non-editable contents
(there was no pre-existing test for that).

Differential Revision: https://phabricator.services.mozilla.com/D18494

--HG--
extra : moz-landing-system : lando
2019-02-03 23:13:09 +00:00
Ciure Andrei 9c86f4019d Backed out 2 changesets (bug 1471496) for causing CycleCollectedJSRuntime.cpp perma failures CLOSED TREE
Backed out changeset 9658187a54fb (bug 1471496)
Backed out changeset 2ff333373fe4 (bug 1471496)
2019-02-02 20:44:08 +02:00
Boris Zbarsky 2323f895b0 Bug 1471496 part 1. Fix IsPlatformObjectSameOrigin to do the right thing when we're doing first-party isolation but turning off its effects on scripted property access. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D18029

--HG--
extra : moz-landing-system : lando
2019-01-31 15:53:24 +00:00
Boris Zbarsky d9fc29464f Bug 1521907 part 5. Start using CheckedUnwrapStatic/Dynamic in XPConnect. r=peterv
I am not a huge fan of the UnwrapReflectorToISupports setup here.  Maybe we
should introduce two differently-named methods that make it somewhat clear what
the limitations of not taking a JSContext are?  I couldn't think of sane
naming...

Differential Revision: https://phabricator.services.mozilla.com/D17885

--HG--
extra : moz-landing-system : lando
2019-02-02 03:24:45 +00:00
Boris Zbarsky 12266da44b Bug 1521907 part 4. Start using CheckedUnwrapStatic/Dynamic in non-binding DOM code. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D17884

--HG--
extra : moz-landing-system : lando
2019-02-02 03:24:22 +00:00
Boris Zbarsky 7e5a37a024 Bug 1521907 part 3. Start using CheckedUnwrapStatic/Dynamic in bindings. r=peterv
The basic idea for the changes around UnwrapObjectInternal and its callers
(UnwrapObject, UNWRAP_OBJECT, etc) is to add a parameter to the guts of the
object-unwrapping code in bindings which can be either a JSContext* or nullptr
(statically typed).  Then we test which type it is and do either a
CheckedUnwrapDynamic or CheckedUnwrapStatic.  Since the type is known at
compile time, there is no actual runtime check; the compiler just emits a call
to the right thing directly (verified by examining the assembly output on
Linux).

The rest of the changes are mostly propagating through that template parameter,
adding static asserts to make sure people don't accidentally pass nullptr while
trying to unwrap to a type that might be a WindowProxy or Location, etc.

There are also some changes to places that were calling CheckedUnwrap directly
to use either the static or dynamic version, as needed.

Differential Revision: https://phabricator.services.mozilla.com/D17883

--HG--
extra : moz-landing-system : lando
2019-02-02 03:23:49 +00:00
Boris Zbarsky e5fac88563 Bug 1521907 part 2. Add dynamic CheckedUnwrap support to CrossOriginObjectWrapper. r=peterv,sfink
This will allow us to correctly handle CheckedUnwrapDynamic on wrappers around
WindowProxy and Location.

Differential Revision: https://phabricator.services.mozilla.com/D17882

--HG--
extra : moz-landing-system : lando
2019-02-02 03:23:16 +00:00
Brad Werth 81b95a3014 Bug 1521604 Part 2: Create a Node chrome-only parentFlexElement property, for use by devtools. r=dholbert,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17308

--HG--
extra : moz-landing-system : lando
2019-02-01 22:29:34 +00:00
Brad Werth 5fa35fae72 Bug 1521604 Part 1: Hoist the flushing version of GetPrimaryFrame from Element to nsIContent. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17713

--HG--
extra : moz-landing-system : lando
2019-02-01 22:28:54 +00:00
Gurzau Raul 44e4d42e8a Backed out 7 changesets (bug 1521907) for failing at unit/test_bug1151385.js on a CLOSED TREE.
Backed out changeset ef04359ccf0d (bug 1521907)
Backed out changeset ac1c61bf61e9 (bug 1521907)
Backed out changeset df09b7be63c5 (bug 1521907)
Backed out changeset 585fa0024d46 (bug 1521907)
Backed out changeset e593c29aaff4 (bug 1521907)
Backed out changeset ac2e180a35b6 (bug 1521907)
Backed out changeset 270b1db9ea81 (bug 1521907)
2019-02-02 00:58:16 +02:00
Boris Zbarsky aaacae7c45 Bug 1521907 part 5. Start using CheckedUnwrapStatic/Dynamic in XPConnect. r=peterv
I am not a huge fan of the UnwrapReflectorToISupports setup here.  Maybe we
should introduce two differently-named methods that make it somewhat clear what
the limitations of not taking a JSContext are?  I couldn't think of sane
naming...

Differential Revision: https://phabricator.services.mozilla.com/D17885

--HG--
extra : moz-landing-system : lando
2019-02-01 18:49:04 +00:00
Boris Zbarsky 76e1fab0c7 Bug 1521907 part 4. Start using CheckedUnwrapStatic/Dynamic in non-binding DOM code. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D17884

--HG--
extra : moz-landing-system : lando
2019-02-01 18:48:36 +00:00
Boris Zbarsky d061930645 Bug 1521907 part 3. Start using CheckedUnwrapStatic/Dynamic in bindings. r=peterv
The basic idea for the changes around UnwrapObjectInternal and its callers
(UnwrapObject, UNWRAP_OBJECT, etc) is to add a parameter to the guts of the
object-unwrapping code in bindings which can be either a JSContext* or nullptr
(statically typed).  Then we test which type it is and do either a
CheckedUnwrapDynamic or CheckedUnwrapStatic.  Since the type is known at
compile time, there is no actual runtime check; the compiler just emits a call
to the right thing directly (verified by examining the assembly output on
Linux).

The rest of the changes are mostly propagating through that template parameter,
adding static asserts to make sure people don't accidentally pass nullptr while
trying to unwrap to a type that might be a WindowProxy or Location, etc.

There are also some changes to places that were calling CheckedUnwrap directly
to use either the static or dynamic version, as needed.

Differential Revision: https://phabricator.services.mozilla.com/D17883

--HG--
extra : moz-landing-system : lando
2019-02-01 18:48:13 +00:00
Boris Zbarsky 20b1b5359b Bug 1521907 part 2. Add dynamic CheckedUnwrap support to CrossOriginObjectWrapper. r=peterv,sfink
This will allow us to correctly handle CheckedUnwrapDynamic on wrappers around
WindowProxy and Location.

Differential Revision: https://phabricator.services.mozilla.com/D17882

--HG--
extra : moz-landing-system : lando
2019-02-01 22:00:58 +00:00
Ciure Andrei 63b0f3f854 Backed out 7 changesets (bug 1521907) for JSObject Wrapper.cpp bustages and failures CLOSED TREE
Backed out changeset ce3108090e77 (bug 1521907)
Backed out changeset efd05f4979f1 (bug 1521907)
Backed out changeset 2d0895148907 (bug 1521907)
Backed out changeset 192152fe986a (bug 1521907)
Backed out changeset ca65b46b0d37 (bug 1521907)
Backed out changeset b3daf5ca3d11 (bug 1521907)
Backed out changeset 1b0a09a46c70 (bug 1521907)
2019-02-01 19:38:25 +02:00
Boris Zbarsky bed98f8c98 Bug 1521907 part 5. Start using CheckedUnwrapStatic/Dynamic in XPConnect. r=peterv
I am not a huge fan of the UnwrapReflectorToISupports setup here.  Maybe we
should introduce two differently-named methods that make it somewhat clear what
the limitations of not taking a JSContext are?  I couldn't think of sane
naming...

Differential Revision: https://phabricator.services.mozilla.com/D17885

--HG--
extra : moz-landing-system : lando
2019-02-01 16:17:44 +00:00
Boris Zbarsky b014cb9758 Bug 1521907 part 4. Start using CheckedUnwrapStatic/Dynamic in non-binding DOM code. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D17884

--HG--
extra : moz-landing-system : lando
2019-01-31 15:51:52 +00:00
Boris Zbarsky a3784f4489 Bug 1521907 part 3. Start using CheckedUnwrapStatic/Dynamic in bindings. r=peterv
The basic idea for the changes around UnwrapObjectInternal and its callers
(UnwrapObject, UNWRAP_OBJECT, etc) is to add a parameter to the guts of the
object-unwrapping code in bindings which can be either a JSContext* or nullptr
(statically typed).  Then we test which type it is and do either a
CheckedUnwrapDynamic or CheckedUnwrapStatic.  Since the type is known at
compile time, there is no actual runtime check; the compiler just emits a call
to the right thing directly (verified by examining the assembly output on
Linux).

The rest of the changes are mostly propagating through that template parameter,
adding static asserts to make sure people don't accidentally pass nullptr while
trying to unwrap to a type that might be a WindowProxy or Location, etc.

There are also some changes to places that were calling CheckedUnwrap directly
to use either the static or dynamic version, as needed.

Differential Revision: https://phabricator.services.mozilla.com/D17883

--HG--
extra : moz-landing-system : lando
2019-01-31 15:50:06 +00:00
Boris Zbarsky 9abee38822 Bug 1521907 part 2. Add dynamic CheckedUnwrap support to CrossOriginObjectWrapper. r=peterv
This will allow us to correctly handle CheckedUnwrapDynamic on wrappers around
WindowProxy and Location.

Differential Revision: https://phabricator.services.mozilla.com/D17882

--HG--
extra : moz-landing-system : lando
2019-01-31 11:22:53 +00:00
Andrea Marchesini efe393e3d2 Bug 1524938 - nsContentUtils::StorageAllowedForPrincipal() renamed to nsContentUtils::StorageAllowedForServiceWorker(), r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D18535

--HG--
extra : moz-landing-system : lando
2019-02-05 09:12:11 +00:00
Timothy Guan-tin Chien 25842090e0 Bug 1514098 - Don't call into UA Widget distructor if the element is being CC'd r=peterv,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D18130

--HG--
extra : moz-landing-system : lando
2019-02-04 13:56:22 +00:00
Dorel Luca b9e00de2f9 Backed out 2 changesets (bug 1524938) for Browser-chrome failures in dom/indexedDB/test/browser_private_idb.js. CLOSED TREE
Backed out changeset 9fb30b90e90d (bug 1524938)
Backed out changeset edd013998dc7 (bug 1524938)
2019-02-05 01:22:41 +02:00
Andrea Marchesini 45b8e2a35a Bug 1524938 - nsContentUtils::StorageAllowedForPrincipal() renamed to nsContentUtils::StorageAllowedForServiceWorker(), r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D18535

--HG--
extra : moz-landing-system : lando
2019-02-04 21:20:05 +00:00
Ehsan Akhgari faecb1030e Bug 1525054 - Make ContentPermissionRequestBase calculate the isHandlingUserInput flag itself instead of relying on callers who may or may not pass in the correct information; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D18571

--HG--
extra : moz-landing-system : lando
2019-02-04 19:56:48 +00:00
Sylvestre Ledru 14486004b6 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D18488

--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
arthur.iakab 91f6c9e7c1 Backed out changeset af0f2236d452 (bug 1523878) for build bustages 2019-02-01 07:06:57 +02:00
Andrea Marchesini 3893c47d22 Bug 1523878 - Update ContentBlockingLog to use struct instead of tuple<>, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18052

--HG--
extra : moz-landing-system : lando
2019-02-01 03:22:02 +00:00
Timothy Guan-tin Chien 0e57cd7404 Bug 1523655 - Allow non-HTML elements to attach UA Shadow Root r=emilio
A normal shadow root cannot be attached to a non-HTML element so UA Shadow Root should always be allowed.

Differential Revision: https://phabricator.services.mozilla.com/D18158

--HG--
extra : moz-landing-system : lando
2019-01-31 18:33:30 +00:00
Mike Conley 74ba2aded0 Bug 1522546 - Drop remoteType attribute on frame elements after bound to a ContentParent. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D18228

--HG--
extra : moz-landing-system : lando
2019-01-31 19:54:51 +00:00
Oana Pop Rus 6e3cc15356 Merge inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/passwordmgr/test/test_xml_load.html => toolkit/components/passwordmgr/test/mochitest/test_xml_load.html
2019-01-31 11:37:38 +02:00
Brian Grinstead 6dd3ddfc0f Bug 1523997 - Skip checking for -moz-binding in Element::WrapObject when in the content process r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D18124

--HG--
extra : moz-landing-system : lando
2019-01-31 04:24:14 +00:00
Andrea Marchesini 506304e224 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 7 - cryptomining, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17641
2019-01-30 14:01:51 +01:00
Andrea Marchesini 5a909353eb Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 6 - fingerprinting, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17640
2019-01-30 14:01:05 +01:00
Eric Rahm 2893cf92d0 Bug 1515827 - Remove verbose warning about principals without URIs. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18012

--HG--
extra : moz-landing-system : lando
2019-01-30 15:26:52 +00:00
Daniel Varga 007e1e4a2f Merge mozilla-inbound to mozilla-central. a=merge 2019-01-30 23:54:54 +02:00
Eric Faust 32c3097562 Bug 1520274 - Allow serving BinAST scripts with nosniff. (r=baku, r=dveditz)
--HG--
extra : rebase_source : 0e0599b4501d7c2ba37dc127b8deaf94b5ab52c5
2019-01-30 10:50:47 -08:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Gurzau Raul 7dbbfd497b Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-30 19:06:00 +02:00
Gurzau Raul 7555c5cdea Merge inbound to mozilla-central. a=merge 2019-01-30 19:03:12 +02:00
Andreas Farre aff8c1286e Bug 1521149 - Keep track of all BrowsingContext object in a BrowsingContextGroup r=nika
Differential Revision: https://phabricator.services.mozilla.com/D17003

--HG--
extra : moz-landing-system : lando
2019-01-30 16:07:21 +00:00
Andrea Marchesini 8baff3d7cc Bug 1522672 - Reset external protocol iframe timer for testing, r=smaug 2019-01-30 12:19:35 +01:00
Brian Birtles 9e3969c99a Bug 1523625 - Wait until the animation is on the compositor before testing if it is; r=hiro
This test was failing intermittently on GeckoView e10s. The
waitForAnimationReadyToRestyle helper works around certain cases where, due to
vsync, the animation ends up starting at exactly the same frame time as when it
was created meaning that restyling may not get triggered and hence we won't have
a chance to send it to the compositor.

It's not clear why this happens more frequently on GeckoView e10s but this seems
to fix the failures anyway.

Differential Revision: https://phabricator.services.mozilla.com/D18043

--HG--
extra : moz-landing-system : lando
2019-01-30 06:53:02 +00:00
shindli f7752f11b1 Merge inbound to mozilla-central. a=merge 2019-01-30 06:07:01 +02:00
shindli 011ea038cb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-29 23:54:31 +02:00
garvitdelhi 6bd950c37a Bug 1519185: Remove AttributeWillChange aNewValue parameter r=emilio,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17073
2019-01-29 17:59:38 +01:00
garvitdelhi 1881dd24f8 Bug 1519185: Remove the class attribute preparsing code. r=emilio,bzbarsky
Refactoring code base

Differential Revision: https://phabricator.services.mozilla.com/D17067
2019-01-29 17:56:36 +01:00
Andrea Marchesini 43a5f36077 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 1 - UrlClassifierFeatureFactory::IsClassifierBlockingErrorCode, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17637
2019-01-30 13:43:34 +01:00
Cosmin Sabou 6b126c3ff0 Backed out 2 changesets (bug 1519185) build bustages on nsMenuGroupOwnerX.mm. CLOSED TREE
Backed out changeset e1de5282e21a (bug 1519185)
Backed out changeset 00d8afb01890 (bug 1519185)

--HG--
extra : rebase_source : d92a7d4606992503f24c66093d35676e12a84ff0
2019-01-29 18:22:46 +02:00
garvitdelhi 3b6550b93f Bug 1519185: Remove AttributeWillChange aNewValue parameter r=emilio,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17073

--HG--
extra : moz-landing-system : lando
2019-01-29 15:27:02 +00:00
garvitdelhi d7ec2f37e6 Bug 1519185: Remove the class attribute preparsing code. r=emilio,bzbarsky
Refactoring code base

Differential Revision: https://phabricator.services.mozilla.com/D17067

--HG--
extra : moz-landing-system : lando
2019-01-29 15:24:21 +00:00
Mike Conley cedc83f7ac Bug 1441168 - Make promiseDocumentFlushed reject if the DOM is modified in the callback. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14101

--HG--
extra : moz-landing-system : lando
2019-01-28 06:50:25 +00:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Randell Jesup 0df3232aca Bug 1523333: add setTimeout/Interval profiler markers for all uses r=mstange 2019-01-28 23:52:35 -05:00
Sebastian Hengst b78e4e8667 Merge mozilla-central to mozilla-inbound
--HG--
rename : browser/components/urlbar/tests/legacy/browser_urlbar_search_no_speculative_connect_with_client_cert.js => browser/components/urlbar/tests/browser/browser_urlbar_speculative_connect_not_with_client_cert.js
2019-01-29 02:55:55 +02:00
Sebastian Hengst 90f4b6640c Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 01:33:28 +02:00
Razvan Maries c88bd55f59 Merge mozilla-inbound to mozilla-central a=merge 2019-01-28 23:46:39 +02:00
Ehsan Akhgari 23a8e99aa8 Bug 1523106 - Fix build bustage on a CLOSED TREE 2019-01-28 15:10:59 -05:00
Tom Schuster 35523d50cc Bug 1156077 - Remove the non-standard Proxy getPropertyDescriptor trap. r=bzbarsky,jorendorff
I am bit surprised myself, but just removing the getPropertyDescriptor trap seems to mostly work.
The only real special case here is the XPC Sandbox, which I changed to keep using its getPropertyDescriptorImpl.

testSetPropertyIgnoringNamedGetter.cpp didn't even really need its getPropertyDescriptor implementation.

Differential Revision: https://phabricator.services.mozilla.com/D17386

--HG--
extra : moz-landing-system : lando
2019-01-25 16:41:34 +00:00
Ehsan Akhgari 310750fd8b Bug 1522630 - Report content blocking status notifications from the idle event queue; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17554
2019-01-28 10:05:58 -05:00
Coroiu Cristina 2206b6473a Backed out changeset 5c956ce0000a (bug 1522630) for build bustage at /builds/worker/workspace/build/src/dom/base/nsGlobalWindowOuter.cpp on a CLOSED TREE 2019-01-28 16:41:07 +02:00
Ehsan Akhgari 1cd3fb5bcc Bug 1522630 - Report content blocking status notifications from the idle event queue; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17554
2019-01-28 09:22:07 -05:00
Brindusan Cristian 4faab2f1b6 Merge inbound to mozilla-central. a=merge 2019-01-27 11:35:28 +02:00
Randell Jesup e213c06fe8 Bug 1270059: Defer setTimeout/Intervals()s in content during pageload r=smaug
They will run off the new DeferredTimers idle queue if idle time is available
2019-01-26 12:18:06 -05:00
Randell Jesup 76bd9e73cc Bug 1522150: Add a DeferredTimers queue ahead of the normal Idle EventQueue r=froyd
* * *
Bug 1522150: Rename NS_IdleDispatch* functions since they take queue identifiers r=froyd
2019-01-26 12:18:05 -05:00
Ciure Andrei 849dbde8e4 Backed out 2 changesets (bug 1507286, bug 1497146) for causing multiple crashes in nsFocusManager::GetRedirectedFocus a=backout
Backed out changeset 0509a9edc58a (bug 1507286)
Backed out changeset 21ad3aeb636f (bug 1497146)
2019-01-26 15:09:03 +02:00
Ciure Andrei c194ec78db Backed out changeset 1438836abeab (bug 1522630) for causing testTrackingProtection perma failures a=backout 2019-01-26 15:00:44 +02:00
Ciure Andrei 30444a49bd Backed out changeset 1e68675bce75 (bug 1521189) for causing browser_dbg_rr_breakpoints-01.js to perma fail a=backout 2019-01-26 14:58:54 +02:00
Ciure Andrei fbdba3f818 Merge inbound to mozilla-central. a=merge 2019-01-26 11:37:07 +02:00
Zibi Braniecki 51cb6c2749 Bug 1518252 - Block layout on Fluent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D17334

--HG--
extra : moz-landing-system : lando
2019-01-25 23:14:03 +00:00
Ciure Andrei 156ea01527 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-26 15:52:08 +02:00
Ciure Andrei a27f06758a Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-26 11:38:54 +02:00
Emilio Cobos Álvarez 20d574e559 Bug 1514511 - Flush the document, not the shell, in Selection::ScrollIntoView. r=bzbarsky
Flushing just the shell is not quite sound, since it doesn't flush parent
documents, and also doesn't have the side effect of ensuring the shell is not
destroying and the document is not in the bfcache.

Differential Revision: https://phabricator.services.mozilla.com/D14687
2019-01-26 08:56:41 +01:00
Ehsan Akhgari 5591361c34 Bug 1522630 - Report content blocking status notifications from the idle event queue; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17554
2019-01-25 19:10:54 -05:00
Daniel Varga b48100112a Backed out changeset 6cdc38306375 (bug 1522630) for mochitest-chrome failure at toolkit/components/url-classifier/tests/mochitest/test_threathit_report.html on a CLOSED TREE 2019-01-26 01:52:46 +02:00
Coroiu Cristina 1ec6503fd8 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2019-01-25 23:55:33 +02:00
Nika Layzell 771297a51a Bug 1521189 - Asynchronously destroy WindowGlobalChild, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D17030

--HG--
extra : moz-landing-system : lando
2019-01-25 15:59:30 +00:00
Csoregi Natalia eb81fdc3cb Merge mozilla-central to autoland. CLOSED TREE 2019-01-25 19:02:11 +02:00
Alphan Chen 0022290b4b Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-25 10:19:04 +00:00
Andreas Farre a93a5cfa92 Bug 1519910 - Rename ChromeBrowsingContext to CanonicalBrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D17957

--HG--
rename : docshell/base/ChromeBrowsingContext.cpp => docshell/base/CanonicalBrowsingContext.cpp
rename : docshell/base/ChromeBrowsingContext.h => docshell/base/CanonicalBrowsingContext.h
extra : moz-landing-system : lando
2019-01-29 17:32:28 +00:00
Sebastian Hengst 4af77e7602 Bug 1522630 - Report content blocking status notifications from the idle event queue: add missing chunk. a=bustage-fix CLOSED TREE 2019-01-29 02:23:30 +02:00
Sebastian Hengst 725402f21f Merge mozilla-central to autoland. CLOSED TREE 2019-01-29 02:05:49 +02:00
Hiroyuki Ikezoe 532e1252a3 Bug 1522724 - Add scroll update type for nsIDOMWindowUtils.scrollToVisual(). r=botond
Depends on D17582

Differential Revision: https://phabricator.services.mozilla.com/D17583

--HG--
extra : moz-landing-system : lando
2019-01-28 21:48:43 +00:00
Alphan Chen e6cc4bf7ca Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-28 19:44:03 +00:00
Timothy Guan-tin Chien c013639646 Bug 1507895 - Part V, Remove dom.ua_widget.enabled pref r=smaug
With all the dependency removed this pref can be safely removed.

Depends on D17574

Differential Revision: https://phabricator.services.mozilla.com/D17575

--HG--
extra : moz-landing-system : lando
2019-01-28 18:33:25 +00:00
Timothy Guan-tin Chien 38f8d61ad5 Bug 1507895 - Part IV, Remove the XBL pluginProblem binding r=smaug
This patch removes the XBL pluginProblem binding and have the in-content
UI always created by the UA Widget.

Depends on D17573

Differential Revision: https://phabricator.services.mozilla.com/D17574

--HG--
extra : moz-landing-system : lando
2019-01-26 07:51:10 +00:00
Nika Layzell 9b58a2ab87 Bug 1521189 - Asynchronously destroy WindowGlobalChild, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D17030

--HG--
extra : moz-landing-system : lando
2019-01-28 18:09:13 +00:00
Ehsan Akhgari 5ebc9bcaf0 Bug 1523106 - DeCOMtaminate nsISecurityEventSink; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17742

--HG--
extra : moz-landing-system : lando
2019-01-28 16:40:21 +00:00
longsonr 1fdb590a11 Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles
--HG--
rename : dom/smil/nsISMILAttr.h => dom/smil/SMILAttr.h
2019-01-25 03:24:01 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Kris Maglione a27fd1f4d6 Bug 1476032: Neuter StructuredCloneHolder objects after deserializing. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D17287

--HG--
extra : rebase_source : 7fdebc79676f9161d392931e3b7f8840faed9a9d
2019-01-22 13:01:22 -08:00
Andrea Marchesini 89a0cf9c7e Bug 1514547 - Timing token to allow external protocol URLs are blocked in iframes without user-interaction, r=smaug 2019-01-24 20:05:03 +01:00
Sylvestre Ledru b61d90492b Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Depends on D17388

Differential Revision: https://phabricator.services.mozilla.com/D17389

--HG--
extra : moz-landing-system : lando
2019-01-24 08:11:00 +00:00
Ciure Andrei c035ee7d3a Merge inbound to mozilla-central. a=merge 2019-01-24 05:44:33 +02:00
Cosmin Sabou d4afc5310c Backed out 2 changesets (bug 1518252) for frequent clipboard failures on browser_jsterm_middle_click_paste.
Backed out changeset b6f80451898e (bug 1518252)
Backed out changeset 06114c66901f (bug 1518252)

--HG--
extra : rebase_source : 795b3a29b1344ce224207c4034f13d3d7f1a5c53
2019-01-24 02:50:54 +02:00
Zibi Braniecki 5e38c8a5a5 Bug 1518252 - Block layout on Fluent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D17334

--HG--
extra : moz-landing-system : lando
2019-01-23 21:29:15 +00:00
Andrea Marchesini ae7e7d4c3a Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod 2019-01-23 19:19:19 +01:00
Andrea Marchesini dc777dc7a6 Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh 2019-01-23 19:19:18 +01:00
Razvan Maries 7ccb4bf803 Backed out 2 changesets (bug 1521051) for xpcshell fails on extensions/cookie/test/unit/test_cookies_thirdparty.js. CLOSED TREE
Backed out changeset 90bb620dd870 (bug 1521051)
Backed out changeset 483fa314e45e (bug 1521051)
2019-01-23 22:09:32 +02:00
Ciure Andrei a4eeeccf1d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-23 20:55:29 +02:00
Andrea Marchesini e563896a47 Bug 1515665 - StorageAccess::ePartitionedOrDeny must be used only for trackers, rehsan 2019-01-23 19:19:19 +01:00
Andrea Marchesini 8e0c688733 Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod 2019-01-23 19:19:19 +01:00