Peter Van der Beken
a191be346c
Bug 1643457 - Support ChromeOnly properties on remote proxies. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D78360
2020-06-05 12:45:40 +00:00
Anny Gakhokidze
509b178241
Bug 1530413 - Inconsistent error reporting for non-function object RHS to instanceof, r=bzbarsky,tcampbell
...
Additionally, this fixes test dom/tests/mochitest/bugs/test_bug1530292.html
which fails if fission is enabled.
Differential Revision: https://phabricator.services.mozilla.com/D47779
--HG--
extra : moz-landing-system : lando
2019-10-15 19:55:17 +00:00
Boris Zbarsky
1c016bfe56
Bug 1566678. Handle attempts to setImmutablePrototype on a WindowProxy more gracefully. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D38555
--HG--
extra : moz-landing-system : lando
2019-07-19 08:14:14 +00:00
Sylvestre Ledru
7f60810d86
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D27245
--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Yoshi Cheng-Hao Huang
222255214e
Bug 1534967 - Part 1: use RootedIdVector. r=jonco
...
Differential Revision: https://phabricator.services.mozilla.com/D25042
2019-04-08 10:46:53 +08:00
Boris Zbarsky
1c296d2bfb
Bug 1530292
. Fix crash when cross-compartment WindowProxy is used as RHS of instanceof. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D21035
--HG--
extra : moz-landing-system : lando
2019-02-26 08:50:20 +00: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
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
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
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
Noemi Erli
18a515c6f9
Backed out changeset dfefd2d4d63f (bug 1525346) for failures in test_bug862380.html CLOSED TREE
2019-02-06 00:10:11 +02:00
Boris Zbarsky
c48f274465
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-05 18:45:27 +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
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
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
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
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
Boris Zbarsky
46d5d31b59
Bug 1363208 part 7. Change the Location binding to inherit from MaybeCrossOriginObject. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D15431
--HG--
extra : moz-landing-system : lando
2019-01-21 04:26:13 +00:00
Boris Zbarsky
f699207ace
Bug 1363208 part 3. Change nsOuterWindowProxy to inherit from MaybeCrossOriginObject. r=peterv,jandem
...
The cross-origin named window code in
nsOuterWindowProxy::getOwnPropertyDescriptor is mostly copied from
XrayWrapper::getPropertyDescriptor, with some minor changes because we can't
assume some work that CrossOriginXrayWrapper does. The getPropertyDescriptor
version will go away in a later patch in this stack.
Differential Revision: https://phabricator.services.mozilla.com/D15427
--HG--
extra : moz-landing-system : lando
2019-01-21 03:28:55 +00:00
Boris Zbarsky
79d353e3bc
Bug 1363208 part 2. Add a helper class for implementing the HTML requirements for cross-origin-accessible objects. r=jandem,peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D15425
--HG--
extra : moz-landing-system : lando
2019-01-21 03:28:06 +00:00