Received: by 10.58.212.198 with SMTP id nm6mr1656080vec.35.1349362482551; Thu, 04 Oct 2012 07:54:42 -0700 (PDT) X-BeenThere: chromium-extensi...@chromium.org Received: by 10.52.88.174 with SMTP id bh14ls2262531vdb.4.gmail; Thu, 04 Oct 2012 07:54:33 -0700 (PDT) Received: by 10.52.26.133 with SMTP id l5mr2646003vdg.132.1349362473685; Thu, 04 Oct 2012 07:54:33 -0700 (PDT) Received: by 10.52.26.133 with SMTP id l5mr2646002vdg.132.1349362473670; Thu, 04 Oct 2012 07:54:33 -0700 (PDT) Return-Path: Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id m9si4443871vcv.49.2012.10.04.07.54.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Oct 2012 07:54:33 -0700 (PDT) Received-SPF: pass (google.com: domain of johnjbarton....@gmail.com designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Authentication-Results: mx.google.com; spf=pass (google.com: domain of johnjbarton....@gmail.com designates 209.85.220.177 as permitted sender) smtp.mail=johnjbarton....@gmail.com; dkim=pass header...@gmail.com Received: by mail-vc0-f177.google.com with SMTP id p16so863181vcq.8 for ; Thu, 04 Oct 2012 07:54:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=PlNYEQJ5QaIJFaEpcPUeQjzq+1cqDi0uHsTUUbKFD0E=; b=EjEySCG7MoJvZNj4H8SeuLFdWbAkV9VZfO+Wr1TrM0UoKo9eibZUSjS7eyzkJcO6ij 02G0D9qDRqhMVvwvsYyiMyXE0m9BvaeEffqV33oDceEDumBCvb5kUF3lorxkhcPC9lF3 V1lImx8T4YnX80RzWq+ryKGAqDFKaJVx6fiHt/KOpWPdcwdhWTDAZZyplIcm1c/yIpbp 743rJ+hUz97xVZ7SvcCxY7dRfR78GI4vCP8rEHLv/j4ZxNfLTNJY8+4LnnvV0lGW/vf4 KFyd84OZMhtlqt/vWkQ7ex41Iy7Qc0I73kSnWC0RLPtsnHCMOsmP/alYjccoZyukrb/c Zy3A== MIME-Version: 1.0 Received: by 10.52.67.240 with SMTP id q16mr2660750vdt.45.1349362473074; Thu, 04 Oct 2012 07:54:33 -0700 (PDT) Sender: johnjbarton....@gmail.com Received: by 10.220.201.194 with HTTP; Thu, 4 Oct 2012 07:54:33 -0700 (PDT) In-Reply-To: <803ec336-8c63-479c-8b5d-e33a00851...@chromium.org> References: <88aee5aa-9163-41d4-aa14-fc2737474...@chromium.org> <803ec336-8c63-479c-8b5d-e33a00851...@chromium.org> Date: Thu, 4 Oct 2012 07:54:33 -0700 Message-ID: Subject: Re: [crx] Re: chrome.storage.onChanged ? From: John J Barton To: kalman Cc: chromium-extensi...@chromium.org Content-Type: text/plain; charset=ISO-8859-1 On Wed, Oct 3, 2012 at 11:30 PM, kalman wrote: > Could you give more detail into how you're testing it? https://github.com/johnjbarton/devtoolsExtended/blob/atopwi/extension/background.js#L66 > A reduced test case > perhaps? I was hoping that someone would provide an example showing that it works. The developer site examples do not seem to include onChange. Is there even a simple sync example? All I see is stylizer example, but it does not use chrome.storage.sync. > > I would ask questions like "are you sure the extensions have the same ID" > (might not happen if they're installed unpacked) and "are you sure you're > syncing across the same account", but if you can set in one place and get in > another, it would imply that the answer to those questions is "yes". I (always) use a defined key in the manifest. My login is correct because set/get do sync correctly. Thanks, jjb > > > > On Thursday, October 4, 2012 9:39:33 AM UTC+10, johnjbarton wrote: >> >> Has anyone had luck with chrome.storage.onChanged listeners? >> I can set/get values to chrome.storage.sync, but only rarely do I see a >> result in chrome.storage.onChanged and then only on the same browser I use >> chrome.storage.set(). >> >> jjb > > -- > You received this message because you are subscribed to the Google Groups > "Chromium-extensions" group. > To view this discussion on the web visit > https://groups.google.com/a/chromium.org/d/msg/chromium-extensions/-/-HxL300EYkcJ. > > To post to this group, send email to chromium-extensi...@chromium.org. > To unsubscribe from this group, send email to > chromium-extensions+unsubscr...@chromium.org. > For more options, visit this group at > http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.