Kris Maglione
0c976d908a
Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-08-17 20:22:12 +00:00
Kris Maglione
3af8c4138c
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Dorel Luca
990d081d9f
Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione
d182c95351
Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-07-21 22:19:19 +00:00
Kris Maglione
e7d942c77f
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 19:02:27 +00:00
Dorel Luca
d91c6dc40b
Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Kris Maglione
4a25531b4a
Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-07-21 16:59:33 +00:00
Kris Maglione
9c2c147159
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 16:59:28 +00:00
Kris Maglione
9d78661f88
Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Ian Moody
011b59d595
Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi
...
Raw Cr.ERROR don't get stack information, same as throwing JS literals instead
of `new Error()`s.
This was done automatically with a new eslint rule that will be introduced in
the next commit. One instance of a raw Cr.ERROR was not replaced since it is
used in a test that specifically checks the preservation of raw Cr values in
XPCJS. The rule will be disabled for that instance.
Differential Revision: https://phabricator.services.mozilla.com/D28073
2020-05-05 17:41:36 +00:00
Kris Maglione
f7e694f8cc
Bug 1630691: Part 2 - Get rid of the "dom.mozBrowserFramesEnabled" pref. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D71227
2020-04-29 19:29:11 +00:00
Kris Maglione
c5353a7809
Bug 1630691: Part 1 - Get rid of most of the remaining mozbrowser API. r=nika,mtigley,bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D71226
2020-04-29 19:29:06 +00:00
Matt Woodrow
98e4b6eb1f
Bug 1602318 - Expose LoadContext on BrowsingContext webidl. r=nika,kmag,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D71135
2020-04-26 00:53:01 +00:00
Cosmin Sabou
0f970fbb19
Backed out 20 changesets (bug 1602318) for causing multiple types of failures. CLOSED TREE
...
Backed out changeset f71e3eff7a8c (bug 1602318)
Backed out changeset 0e0bdebf223b (bug 1602318)
Backed out changeset 44e82f4339a1 (bug 1602318)
Backed out changeset 5f341ebd8591 (bug 1602318)
Backed out changeset 088ea9d20617 (bug 1602318)
Backed out changeset 5de6321939f2 (bug 1602318)
Backed out changeset f5742e84912b (bug 1602318)
Backed out changeset 13bec3079540 (bug 1602318)
Backed out changeset 6c24ba022911 (bug 1602318)
Backed out changeset 5d0fc0102a7f (bug 1602318)
Backed out changeset fc4efd11e643 (bug 1602318)
Backed out changeset 028bd63e710d (bug 1602318)
Backed out changeset 21ad350f9617 (bug 1602318)
Backed out changeset 8f27319f2c34 (bug 1602318)
Backed out changeset db2832973382 (bug 1602318)
Backed out changeset 1756c7584491 (bug 1602318)
Backed out changeset 983e5a9abe02 (bug 1602318)
Backed out changeset a1b9429b3298 (bug 1602318)
Backed out changeset 7d1c0d968a09 (bug 1602318)
Backed out changeset a3b056ec6be3 (bug 1602318)
2020-04-24 11:15:12 +03:00
Matt Woodrow
89ca645d61
Bug 1602318 - Expose LoadContext on BrowsingContext webidl. r=nika,kmag,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D71135
2020-04-24 06:59:29 +00:00
Noemi Erli
c0bd1834c8
Backed out 19 changesets (bug 1602318) for causing multiple failures
...
Backed out changeset 4b3345b2e33b (bug 1602318)
Backed out changeset 7240b27afe28 (bug 1602318)
Backed out changeset a7091729d8c9 (bug 1602318)
Backed out changeset e496ab6c0857 (bug 1602318)
Backed out changeset 184da6309f0c (bug 1602318)
Backed out changeset 79b540f8619d (bug 1602318)
Backed out changeset b298015ee960 (bug 1602318)
Backed out changeset 6d0783cd5e01 (bug 1602318)
Backed out changeset cbc308486b17 (bug 1602318)
Backed out changeset 94142944fb54 (bug 1602318)
Backed out changeset 7c1eeb299b78 (bug 1602318)
Backed out changeset 0fc27502503a (bug 1602318)
Backed out changeset 0fc27c2e09d9 (bug 1602318)
Backed out changeset b5e2aa4741b2 (bug 1602318)
Backed out changeset 57d568114c5a (bug 1602318)
Backed out changeset 8f7360d827dc (bug 1602318)
Backed out changeset 78930a97c2df (bug 1602318)
Backed out changeset 8015780587cd (bug 1602318)
Backed out changeset bc9da03cb3a3 (bug 1602318)
2020-04-21 03:46:41 +03:00
Matt Woodrow
53eab85c6d
Bug 1602318 - Expose LoadContext on BrowsingContext webidl. r=nika,kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D71135
2020-04-20 23:04:09 +00:00
Kris Maglione
50bf330ef6
Bug 1614462: Part 2f - Remove browser-element mochitests. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D70747
2020-04-20 22:15:28 +00:00
Ciure Andrei
a5ac2a8bbc
Backed out 10 changesets (bug 1614462) for causing test_ipc_messagemanager_blob.js failures CLOSED TREE
...
Backed out changeset bf4f8253c708 (bug 1614462)
Backed out changeset c61b797d63e9 (bug 1614462)
Backed out changeset 284002de7137 (bug 1614462)
Backed out changeset 7f604ee5731c (bug 1614462)
Backed out changeset a73ef8167cd4 (bug 1614462)
Backed out changeset ecc3477ed34e (bug 1614462)
Backed out changeset 2106f3ccc4b5 (bug 1614462)
Backed out changeset e68c38a7741d (bug 1614462)
Backed out changeset 93b3bacdbb34 (bug 1614462)
Backed out changeset 0cf4898ae08d (bug 1614462)
2020-04-21 01:11:37 +03:00
Kris Maglione
a9d8069037
Bug 1614462: Part 2f - Remove browser-element mochitests. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D70747
2020-04-20 20:11:48 +00:00
Ciure Andrei
c15dcac93b
Backed out 10 changesets (bug 1614462) for causing xpcshell failures CLOSED TREE
...
Backed out changeset 34d4a86530b4 (bug 1614462)
Backed out changeset dbc2e2556d08 (bug 1614462)
Backed out changeset 512bbab4730c (bug 1614462)
Backed out changeset cd6b8d630f4c (bug 1614462)
Backed out changeset e4ad5037658f (bug 1614462)
Backed out changeset 0ffed1dc4296 (bug 1614462)
Backed out changeset 90ed81cbfe34 (bug 1614462)
Backed out changeset 6d2137eb1d52 (bug 1614462)
Backed out changeset b4819c99e16e (bug 1614462)
Backed out changeset b7deaed376ed (bug 1614462)
2020-04-17 02:26:14 +03:00
Kris Maglione
3e6886a7b9
Bug 1614462: Part 2f - Remove browser-element mochitests. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D70747
2020-04-16 16:57:19 +00:00
Nika Layzell
d9dd824ff3
Bug 1616353 - Part 10.2: Remove tests for window.open in mozbrowser, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D67216
--HG--
extra : moz-landing-system : lando
2020-04-07 21:39:54 +00:00
Nika Layzell
f1286979d8
Bug 1616353 - Part 10.1: Remove special handling of window.open in mozbrowser, r=kmag
...
There are no remaining users of mozbrowser in our tree, so this patch removes
the logic which used to exist for handling window.open differently within
mozbrowser frames.
Differential Revision: https://phabricator.services.mozilla.com/D67057
--HG--
extra : moz-landing-system : lando
2020-04-07 21:39:52 +00:00
Andrew McCreight
ce9f9fb83f
Bug 1627994 - Fix 'expection' typos. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D70035
--HG--
extra : moz-landing-system : lando
2020-04-07 17:00:54 +00:00
Cosmin Sabou
aefb5f9c88
Backed out 24 changesets (bug 1616353) for fission assertion failures nsGlobalWindowOuter.cpp.
...
Backed out changeset 3a43210e4900 (bug 1616353)
Backed out changeset cb77e9149cf8 (bug 1616353)
Backed out changeset 3aacc7cfe33f (bug 1616353)
Backed out changeset c026b06063a5 (bug 1616353)
Backed out changeset 580e790c5d17 (bug 1616353)
Backed out changeset 6f09bc1c476d (bug 1616353)
Backed out changeset 6955906262c0 (bug 1616353)
Backed out changeset a7700472807a (bug 1616353)
Backed out changeset a4735096e01b (bug 1616353)
Backed out changeset bd1706c57d91 (bug 1616353)
Backed out changeset 363c13296fda (bug 1616353)
Backed out changeset e414df387524 (bug 1616353)
Backed out changeset 765d3364cca0 (bug 1616353)
Backed out changeset 8a13355b4ac4 (bug 1616353)
Backed out changeset ada17fb8fca7 (bug 1616353)
Backed out changeset 6b6b99af186d (bug 1616353)
Backed out changeset ea966e78b296 (bug 1616353)
Backed out changeset cb88e0bbb3b9 (bug 1616353)
Backed out changeset f89a89015114 (bug 1616353)
Backed out changeset ae6058552969 (bug 1616353)
Backed out changeset f42bb5b48c1b (bug 1616353)
Backed out changeset 1ab9d22c73bb (bug 1616353)
Backed out changeset 2692c2c1396b (bug 1616353)
Backed out changeset 11a279c8da08 (bug 1616353)
2020-04-06 20:03:02 +03:00
Nika Layzell
f6b89b2bf1
Bug 1616353 - Part 10.2: Remove tests for window.open in mozbrowser, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D67216
--HG--
extra : moz-landing-system : lando
2020-04-06 14:30:28 +00:00
Nika Layzell
f2bae1efc6
Bug 1616353 - Part 10.1: Remove special handling of window.open in mozbrowser, r=kmag
...
There are no remaining users of mozbrowser in our tree, so this patch removes
the logic which used to exist for handling window.open differently within
mozbrowser frames.
Differential Revision: https://phabricator.services.mozilla.com/D67057
--HG--
extra : moz-landing-system : lando
2020-04-06 14:30:26 +00:00
Marco Bonardo
2dc20c6432
Bug 1621328 - Move CreateExposableURI into nsIOService. r=Gijs,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D66269
--HG--
extra : moz-landing-system : lando
2020-03-13 12:44:36 +00:00
Mark Banner
15cfe23b88
Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D65703
--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Masayuki Nakano
ca4a57799a
Bug 1599944 - Make `SimpleTest.waitForClipboard()` and `SimpleTest.promiseClipboardChange()` relax to compare clipboard data with expected string r=smaug
...
Most tests which use these APIs don't want to distinguish difference of
linebreaks (i.e., CRLF vs. CR vs. LF). And also most tests don't want to
check prefix and postfix of HTML data in clipboard on Windows.
Therefore, this patch makes them compare clipboard data with expected string
smarter. Every linebreak in clipboard data are treated as LF. Expected
HTML data is wrapped with `<html>`, `<body>` and comment nodes only on
Windows at comparing with clipboard data.
Differential Revision: https://phabricator.services.mozilla.com/D57963
--HG--
extra : moz-landing-system : lando
2019-12-27 14:02:35 +00:00
Julian Descottes
81e34d9437
Bug 1600333 - Remove all tags = clipboard from the codebase r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D55305
--HG--
extra : moz-landing-system : lando
2019-12-05 11:07:10 +00:00
Christoph Kerschbaumer
e8e2dc31b7
Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D50588
--HG--
extra : moz-landing-system : lando
2019-10-31 08:28:35 +00:00
Razvan Maries
dc147d06b0
Backed out changeset 5f185a11889b (bug 1584998
) for perma fails on browser_bug593387.js. CLOSED TREE
2019-10-30 23:26:01 +02:00
Christoph Kerschbaumer
36376205fb
Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50588
--HG--
extra : moz-landing-system : lando
2019-10-30 17:54:36 +00:00
Daniel Varga
617d42c7ed
Backed out changeset ac8f6632f7e0 (bug 1584998
) on request by dev. On a CLOSED TREE
2019-10-30 19:33:29 +02:00
Christoph Kerschbaumer
9c55479432
Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D50588
--HG--
extra : moz-landing-system : lando
2019-10-30 14:47:19 +00:00
Geoff Brown
32490358c2
Bug 1585119 - Re-enable many more mochitests on Android; r=geckoview-reviewers,snorp
...
Most of these tests have been disabled for a long time; they run well
in the current test environment.
I intend to enable still more mochitests in a future patch.
Differential Revision: https://phabricator.services.mozilla.com/D49524
--HG--
extra : moz-landing-system : lando
2019-10-18 14:35:20 +00:00
Mark Banner
c1ab51f11c
Bug 1574915 - Fix useless try-catch issues in dom/. r=hsivonen
...
Differential Revision: https://phabricator.services.mozilla.com/D42509
--HG--
extra : moz-landing-system : lando
2019-08-19 17:02:54 +00:00
Kris Maglione
f93c2909dd
Bug 1573254: Part 2 - Update tests to await snapshotWindow when necessary. r=mccr8
...
This fixes several tests which snapshot remote windows under Fission. It also
changes some other arbitrary tests that don't use remote windows, which I
changed before I gave up on having an always-async API.
Differential Revision: https://phabricator.services.mozilla.com/D41630
--HG--
extra : rebase_source : 6203b7065f7651e6ed4a2695ff2bd92daec70634
2019-08-12 12:56:25 -07:00
Kris Maglione
64c062d570
Bug 1570773: Move browsingContext getter to nsIDocShellTreeItem and add notxpcom variant. r=nika
...
This also renames the existing infallible nsDocShell:GetBrowsingContext()
getter to BrowsingContextRef(), and changes the return type, since several
callers rely on it returning a raw pointer rather than an already_AddRefed.
Differential Revision: https://phabricator.services.mozilla.com/D40312
--HG--
extra : moz-landing-system : lando
2019-08-07 16:59:30 +00:00
Jared Wein
90c83c7843
Bug 1571567 - Fix no-fallthrough errors in /dom. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D40874
--HG--
extra : moz-landing-system : lando
2019-08-08 15:18:45 +00:00
Bogdan Tara
844afcfb06
Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
...
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein
a0b4a0401b
Bug 1571567 - Fix no-fallthrough errors in /dom. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D40874
--HG--
extra : moz-landing-system : lando
2019-08-08 01:38:50 +00:00
Kris Maglione
22592538f5
Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop
...
This is the first step in making it possible to return remote WindowProxy
objects from window.open() and related APIs.
This patch also incidentally fixes a bug where getContentWindowOrOpenURI
returned the top-level browser window rather than the new content window when
passed OPEN_NEWWINDOW for the `aWhere` parameter. This was not the expected
behavior, and was a potentially major footgun for any new users who expected
to always get the content window for the URL they were loading, rather than
sometimes getting a chrome browser window instead.
For now, that case just returns null, which is only a minor footgun, rather
than the major one we had before.
Differential Revision: https://phabricator.services.mozilla.com/D35688
--HG--
extra : moz-landing-system : lando
2019-08-02 20:48:33 +00:00
Razvan Maries
518b15a876
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2019-08-02 01:52:58 +03:00
Kris Maglione
3b5587005e
Bug 1566186: Part 1.1 - Disable failing mozbrowser test. r=me,test-only
...
--HG--
extra : rebase_source : f0c45cd5ea5516a220123ca1845aad73797c2b2e
2019-07-31 18:56:04 -07:00
Edwin Gao
d6127aa0c2
Bug 1561046 - remove API 22 from manifest files r=gbrown
...
Changes:
- remove references to API 22 from manifests
Differential Revision: https://phabricator.services.mozilla.com/D39808
--HG--
extra : moz-landing-system : lando
2019-07-31 17:38:39 +00:00
Kannan Vijayan
3fb6190ec6
Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D39378
--HG--
extra : moz-landing-system : lando
2019-07-26 16:48:31 +00:00
Jonathan Kingston
9cd90ac210
Bug 1301529 - Remove X-Frame-Options allow-from. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D38672
--HG--
extra : moz-landing-system : lando
2019-07-24 12:23:32 +00:00