@@ -4835,11 +4835,11 @@ describe('Floccus', function() {
48354835 it ( 'should create local tabs on the server' , async function ( ) {
48364836 browser . tabs . create ( {
48374837 index : 1 ,
4838- url : 'https://floccus .org/#test1'
4838+ url : 'https://example .org/#test1'
48394839 } )
48404840 browser . tabs . create ( {
48414841 index : 2 ,
4842- url : 'https://floccus .org/#test2'
4842+ url : 'https://example .org/#test2'
48434843 } )
48444844 await awaitTabsUpdated ( )
48454845
@@ -4855,8 +4855,8 @@ describe('Floccus', function() {
48554855 new Folder ( {
48564856 title : 'Window 0' ,
48574857 children : [
4858- new Bookmark ( { title : 'Cross-browser bookmarks syncing - floccus.org ' , url : 'https://floccus .org/#test1' } ) ,
4859- new Bookmark ( { title : 'Cross-browser bookmarks syncing - floccus.org ' , url : 'https://floccus .org/#test2' } )
4858+ new Bookmark ( { title : 'Example Domain ' , url : 'https://example .org/#test1' } ) ,
4859+ new Bookmark ( { title : 'Example Domain ' , url : 'https://example .org/#test2' } )
48604860 ]
48614861 } )
48624862 ]
@@ -4875,8 +4875,8 @@ describe('Floccus', function() {
48754875 location : ItemLocation . SERVER
48764876 } ) )
48774877 serverMark = {
4878- title : 'Cross-browser bookmarks syncing - floccus.org ' ,
4879- url : 'https://floccus .org/' ,
4878+ title : 'Example Domain ' ,
4879+ url : 'https://example .org/' ,
48804880 parentId : windowFolderId ,
48814881 location : ItemLocation . SERVER
48824882 }
@@ -4898,7 +4898,7 @@ describe('Floccus', function() {
48984898 new Folder ( {
48994899 title : 'Window 0' ,
49004900 children : [
4901- new Bookmark ( { title : 'Cross-browser bookmarks syncing - floccus.org ' , url : 'https://floccus .org/' } ) ,
4901+ new Bookmark ( { title : 'Example Domain ' , url : 'https://example .org/' } ) ,
49024902 ]
49034903 } )
49044904 ]
@@ -4911,11 +4911,11 @@ describe('Floccus', function() {
49114911
49124912 browser . tabs . create ( {
49134913 index : 1 ,
4914- url : 'https://floccus .org/#test1'
4914+ url : 'https://example .org/#test1'
49154915 } )
49164916 const tab = browser . tabs . create ( {
49174917 index : 2 ,
4918- url : 'https://floccus .org/#test2'
4918+ url : 'https://example .org/#test2'
49194919 } )
49204920 await awaitTabsUpdated ( )
49214921
@@ -4931,16 +4931,16 @@ describe('Floccus', function() {
49314931 new Folder ( {
49324932 title : 'Window 0' ,
49334933 children : [
4934- new Bookmark ( { title : 'Cross-browser bookmarks syncing - floccus.org ' , url : 'https://floccus .org/#test1' } ) ,
4935- new Bookmark ( { title : 'Cross-browser bookmarks syncing - floccus.org ' , url : 'https://floccus .org/#test2' } )
4934+ new Bookmark ( { title : 'Example Domain ' , url : 'https://example .org/#test1' } ) ,
4935+ new Bookmark ( { title : 'Example Domain ' , url : 'https://example .org/#test2' } )
49364936 ]
49374937 } )
49384938 ]
49394939 } ) ,
49404940 false
49414941 )
49424942
4943- await browser . tabs . update ( tab . id , { url : 'https://example.org' } )
4943+ await browser . tabs . update ( tab . id , { url : 'https://example.org/#test3 ' } )
49444944 await awaitTabsUpdated ( )
49454945
49464946 await account . sync ( )
@@ -4955,8 +4955,8 @@ describe('Floccus', function() {
49554955 new Folder ( {
49564956 title : 'Window 0' ,
49574957 children : [
4958- new Bookmark ( { title : 'Cross-browser bookmarks syncing - floccus.org ' , url : 'https://floccus .org/#test1' } ) ,
4959- new Bookmark ( { title : 'Example Domain' , url : 'https://example.org/' } )
4958+ new Bookmark ( { title : 'Example Domain ' , url : 'https://example .org/#test1' } ) ,
4959+ new Bookmark ( { title : 'Example Domain' , url : 'https://example.org/#test3 ' } )
49604960 ]
49614961 } )
49624962 ]
@@ -4975,8 +4975,8 @@ describe('Floccus', function() {
49754975 location : ItemLocation . SERVER
49764976 } ) )
49774977 serverMark = {
4978- title : 'Cross-browser bookmarks syncing - floccus.org ' ,
4979- url : 'https://floccus .org/' ,
4978+ title : 'Example Domain ' ,
4979+ url : 'https://example .org/#test1 ' ,
49804980 parentId : windowFolderId ,
49814981 location : ItemLocation . SERVER
49824982 }
@@ -4998,7 +4998,7 @@ describe('Floccus', function() {
49984998 new Folder ( {
49994999 title : 'Window 0' ,
50005000 children : [
5001- new Bookmark ( { title : 'Cross-browser bookmarks syncing - floccus.org ' , url : 'https://floccus .org/' } ) ,
5001+ new Bookmark ( { title : 'Example Domain ' , url : 'https://example .org/#test1 ' } ) ,
50025002 ]
50035003 } )
50045004 ]
@@ -5010,15 +5010,15 @@ describe('Floccus', function() {
50105010 await withSyncConnection ( account , async ( ) => {
50115011 serverMark2 = {
50125012 title : 'Example Domain' ,
5013- url : 'https://example.org/#test ' ,
5013+ url : 'https://example.org/#test3 ' ,
50145014 parentId : windowFolderId ,
50155015 location : ItemLocation . SERVER
50165016 }
50175017 await adapter . createBookmark (
50185018 new Bookmark ( serverMark2 )
50195019 )
50205020
5021- await adapter . updateBookmark ( { ...serverMark , id : serverMarkId , url : 'https://example.org/' , title : 'Example Domain' , parentId : windowFolderId } )
5021+ await adapter . updateBookmark ( { ...serverMark , id : serverMarkId , url : 'https://example.org/#test2 ' , title : 'Example Domain' , parentId : windowFolderId } )
50225022 } )
50235023
50245024 await account . setData ( { ...account . getData ( ) , strategy : 'slave' } )
@@ -5035,8 +5035,8 @@ describe('Floccus', function() {
50355035 new Folder ( {
50365036 title : 'Window 0' ,
50375037 children : [
5038- new Bookmark ( { title : 'Example Domain' , url : 'https://example.org/' } ) ,
5039- new Bookmark ( { title : 'Example Domain' , url : 'https://example.org/#test ' } ) ,
5038+ new Bookmark ( { title : 'Example Domain' , url : 'https://example.org/#test2 ' } ) ,
5039+ new Bookmark ( { title : 'Example Domain' , url : 'https://example.org/#test3 ' } ) ,
50405040 ]
50415041 } )
50425042 ]
0 commit comments