James Willcox
235ab7fbc6
Bug 1507217 - Make test_bug590573.html pass under GeckoView r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D11912
2018-11-19 21:42:50 +00:00
Felipe Gomes
9db5cb1217
Bug 1496840 - Add a browsingContext getter to the browser element. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D7935
2018-11-12 17:57:48 +00:00
Mark Banner
0fd1185ab2
Bug 1506042 - Enable ESLint for docshell/resources and docshell/test/chrome (manual fixes). r=smaug
...
Depends on D11441
Differential Revision: https://phabricator.services.mozilla.com/D11442
2018-11-09 10:51:37 +00:00
Mark Banner
91ad2efc2f
Bug 1506042 - Enable ESLint for docshell/resources and docshell/test/chrome (automatic fixes). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D11441
2018-11-09 10:54:04 +00:00
Toby Ward
ad7cc79cf8
Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (manual fixes) r=bzbarsky
...
Implemented the manual linting fixes for docshell/test/navigation, docshell/test/unit and docshell/test/unit_ipc
Depends on D9430
Differential Revision: https://phabricator.services.mozilla.com/D10080
2018-11-07 13:49:05 +00:00
Toby Ward
d0189bef77
Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (automatic fixes only). r=bzbarsky
...
Enabled ESLint for:
* docshell/test/navigation/**
* docshell/test/unit/**
* docshell/test/unit_ipc/**
Changed .eslintignore to allow for this and ran ./mach eslint --fix on the above directories and checked automatic fixes
Differential Revision: https://phabricator.services.mozilla.com/D9430
2018-11-07 13:55:47 +00:00
Dorel Luca
a99e5d88f3
Backed out 2 changesets (bug 1496082) for mochitest faiures in docshell/test/navigation/test_bug270414.html
...
Backed out changeset 776b54474da9 (bug 1496082)
Backed out changeset 0852730f9ecd (bug 1496082)
2018-11-06 22:40:36 +02:00
Toby Ward
08a58e6416
Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (manual fixes) r=bzbarsky
...
Implemented the manual linting fixes for docshell/test/navigation, docshell/test/unit and docshell/test/unit_ipc
Depends on D9430
Differential Revision: https://phabricator.services.mozilla.com/D10080
2018-11-06 17:03:39 +00:00
Toby Ward
a4d7901520
Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (automatic fixes only). r=bzbarsky
...
Enabled ESLint for:
* docshell/test/navigation/**
* docshell/test/unit/**
* docshell/test/unit_ipc/**
Changed .eslintignore to allow for this and ran ./mach eslint --fix on the above directories and checked automatic fixes
Differential Revision: https://phabricator.services.mozilla.com/D9430
2018-11-06 17:05:39 +00:00
Bogdan Tara
7d3c64fb99
Backed out 2 changesets (bug 1496082) for test_bug270414.html failures CLOSED TREE
...
Backed out changeset 74780d0a4848 (bug 1496082)
Backed out changeset 4f87e383a807 (bug 1496082)
2018-11-06 17:58:24 +02:00
Toby Ward
4c1a8ce437
Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (manual fixes) r=bzbarsky
...
Implemented the manual linting fixes for docshell/test/navigation, docshell/test/unit and docshell/test/unit_ipc
Depends on D9430
Differential Revision: https://phabricator.services.mozilla.com/D10080
2018-11-06 14:54:38 +00:00
Toby Ward
c8f78d3352
Bug 1496082: Enable ESLint for docshell/test/navigation and docshell/test/unit (automatic fixes only). r=bzbarsky
...
Enabled ESLint for:
* docshell/test/navigation/**
* docshell/test/unit/**
* docshell/test/unit_ipc/**
Changed .eslintignore to allow for this and ran ./mach eslint --fix on the above directories and checked automatic fixes
Differential Revision: https://phabricator.services.mozilla.com/D9430
2018-11-06 14:48:43 +00:00
Andreas Farre
6d1cb9a5de
Bug 1480198 - Construct nsDocShell objects inside BrowsingContext. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D7400
2018-11-05 12:43:10 +00:00
Jonathan Kingston
f0bed97428
Bug 1490257 - Pass triggeringPrincipal to test code. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D10882
2018-11-05 14:05:47 +00:00
Daniel Varga
5e7a184b7c
Merge autoland to mozilla-central. a=merge
2018-11-02 00:26:12 +02:00
Julian Descottes
f122da8456
Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D10416
2018-11-01 13:48:48 +00:00
Csoregi Natalia
e940a29dad
Backed out 4 changesets (bug 1467712) for multiple failures with: Too many arguments passed to ok. CLOSED TREE
...
Backed out changeset 9ce0ac2b9d71 (bug 1467712)
Backed out changeset 026eb1f6dc6e (bug 1467712)
Backed out changeset 0088a09d869a (bug 1467712)
Backed out changeset 1b19ea76aad6 (bug 1467712)
2018-11-01 15:22:52 +02:00
Julian Descottes
7495a6bc6c
Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D10416
2018-11-01 11:09:48 +00:00
Gurzau Raul
fb23268fea
Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout
2018-11-01 15:27:30 +02:00
Jonathan Kingston
b25eb46164
Bug 1490257 - Add asserts into loadURI where we imply SystemPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D10221
2018-10-31 18:00:40 +00:00
Andreas Farre
6abf32196b
Bug 1500869 - Test that BrowsingContexts work with BFCache. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D9367
2018-10-30 09:58:47 +00:00
Julian Descottes
07720a1de0
Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8
...
Depends on D8740.
This changeset replaces calls to ok with 3 arguments to calls with 2 arguments
in situations where the switch does not have a significant impact on the assert.
Differential Revision: https://phabricator.services.mozilla.com/D8741
2018-10-23 07:13:35 +00:00
Julian Descottes
15aaadb6c7
Bug 1499096 - Update tests using ok() to is();r=Standard8
...
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.
Differential Revision: https://phabricator.services.mozilla.com/D8739
2018-10-23 07:12:23 +00:00
Dorel Luca
a5b6424b63
Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE
2018-10-15 14:39:00 +03:00
Jonathan Kingston
8ccca3858d
Bug 1490257 - Add asserts and remove implied system triggering principal code r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D8368
2018-10-15 06:29:45 +00:00
Mark Banner
2b594f40b8
Bug 1417383 - Add initial .eslintrc.js files for docshell test directories (not enabled yet). r=qdot
...
Depends on D7053
Differential Revision: https://phabricator.services.mozilla.com/D7055
2018-10-02 07:51:39 +00:00
Mark Banner
d4b7440ec4
Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot
...
Depends on D7052
Differential Revision: https://phabricator.services.mozilla.com/D7053
2018-10-02 07:45:54 +00:00
Mark Banner
5d4b7906e1
Bug 1417383 - Remove unused test files that were missed in bug 1427726. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D7052
2018-10-02 07:50:45 +00:00
shindli
54bbe45378
Backed out 3 changesets (bug 1417383) for bustages in /builds/worker/workspace/build/src/docshell/test/mochitest/moz.build CLOSED TREE
...
Backed out changeset 44d07650e6fe (bug 1417383 )
Backed out changeset d0d9cd85f3db (bug 1417383 )
Backed out changeset ddaef0a8de5f (bug 1417383 )
2018-10-02 00:04:57 +03:00
Mark Banner
03dd8e210d
Bug 1417383 - Add initial .eslintrc.js files for docshell test directories (not enabled yet). r=qdot
...
Depends on D7053
Differential Revision: https://phabricator.services.mozilla.com/D7055
2018-10-01 19:09:36 +00:00
Mark Banner
eec6860d69
Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot
...
Depends on D7052
Differential Revision: https://phabricator.services.mozilla.com/D7053
2018-10-01 19:10:05 +00:00
Mark Banner
8f44a90c03
Bug 1417383 - Remove unused test files that were missed in bug 1427726. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D7052
2018-10-01 19:11:57 +00:00
Mark Banner
8b619d3cc1
Bug 1443137 - Attempt to fix intermittent in browser_search_notification.js by relying on a different method for opening the tab and waiting for completion before we start a search. r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D6620
2018-09-24 17:37:13 +00:00
Brian Grinstead
4cab035cd8
Bug 1492609 - Update test_bug789773.xul to support URLs other than browser.xul as the browser chrome;r=bholley
...
This is an extra reference to browser.xul that slipped through Bug 1484759.
Differential Revision: https://phabricator.services.mozilla.com/D6334
2018-09-19 22:24:04 +00:00
Jonathan Kingston
b328365253
Bug 1485305 - docshell/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4556
2018-08-29 15:46:43 +01:00
Brindusan Cristian
6c0094d53f
Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
...
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
2cf9ed876b
Bug 1485305 - docshell/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4556
2018-08-29 15:46:43 +01:00
arthur.iakab
f36e6bf3d0
Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
...
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
c0379bb66a
Bug 1485305 - docshell/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4556
2018-08-29 15:46:43 +01:00
Tiberius Oros
75126ef309
Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
...
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
d0c2615238
Bug 1485305 - docshell/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4556
2018-08-29 15:46:43 +01:00
Nicholas Nethercote
7019398c81
Bug 1490158 - Minimize cancelability in nsISHistoryListener. r=nika
...
nsISHistoryListener can cancel several operations, but the functionality is
only ever used for OnHistoryReload(). So this patch removes it for the other
operations.
2018-09-06 16:51:58 +10:00
Nicholas Nethercote
aa1ac557fc
Bug 1488321 - Remove all traces of the "transaction" terminology in SHistory. r=nika.
...
This patch:
- removes GetTransactionAtIndex(), because getTransactionAtIndex() can be used
instead;
- renames a lot of things;
- updates some comments.
2018-09-05 09:03:22 +10:00
Nicholas Nethercote
357e821fd9
Bug 1488321 - Fix up nsISHEntry.{index,getEntryAtIndex()}. r=nika
...
nsISHEntry.index is readonly, but if you pass `true` as getEntryAtIndex()'s
second argument, nsISHEntry.index will be modified. This is pretty gross.
This patch changes `index` so it's not readonly (because it's not!) and removes
getEntryAtIndex()'s second argument.
2018-09-05 09:02:37 +10:00
Nicholas Nethercote
789c176560
Bug 1487328 - Make nsSHistory *not* implement nsIWebNavigation. r=nika
...
nsSHistory currently implements nsIWebNavigation, but only three of the methods
are actually used, and the rest call MOZ_CRASH. This patch removes the
inheritance and changes the implementations of those three methods (Reload(),
GetCurrentURI(), and GotoIndex()) to pure C++.
There is one test, bug662200_window.xul, that calls Reload() from JS, which is
no longer possible. Fortunately, nsSHistory::ReloadCurrentEntry() -- which *is*
available from JS -- is similar enough to Reload(0) that it can be used
instead.
(The only difference between Reload(0) and ReloadCurrentEntry() is that the
former triggers the `OnHistoryReload` notification and the latter triggers
`OnHistoryGotoIndex`, which doesn't matter for this test.)
2018-09-03 09:27:37 +10:00
Nicholas Nethercote
548a48d45f
Bug 1487328 - Remove nsISHistoryListener.OnHistoryGo{Back,Forward}. r=nika
...
As per the previous commit, they are now subsumed by OnHistoryGotoIndex.
2018-09-03 09:27:37 +10:00
Nicholas Nethercote
61fa13d890
Bug 1487296 - Merge nsISHistoryInternal into nsISHistory. r=nika
...
With legacy add-ons gone, there is no benefit to keeping them separate.
2018-08-30 11:37:40 +10:00
Andreas Farre
520ddce6a9
Bug 1481238 - Add tests for BrowsingContext. r=peterv
2018-08-28 02:41:00 +03:00
Kris Maglione
13ae6be7e7
Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D3733
2018-08-18 18:13:14 -07:00
Nicholas Nethercote
4683d6b86a
Bug 1485279 - Merge nsISHContainer into nsISHEntry. r=qdot
...
nsSHEntry is the only class that instantiates those two interfaces, so the
separation is not useful. This lets us remove numerous pointless QIs.
2018-08-22 19:20:56 +10:00